-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add region: France #23
Comments
Thank you for the Link!
Then on the Programming side it should be:
And not to forget:
|
No, I don't find the export in other language, and when I saw that, i was thinking that it will be an issue ^^ Evne xml tags are in french... I will see if i can give you some help on tasks you listed. Vincent |
As some key Information are part of the visual report representation, the Language should be ok in French (for sure more would be better, but we take what we get 😉 ) |
hum, It seems that the web page only list archive, and not the last report. Last report on donneespubliques.meteofrance.fr website is from the 18th January 4:00 PM, while on meteofrance website, the bulletin is dated to 19th january 4:00PM. I think that meteofrance keep last bulletin for its usage, and only archive are public. for example, look at the report for Oisans area:
|
I wrote on 27-12-2020 to Meteo France with a request about requesting the reports, but never got an answer. I have not been aware of the link you posted back then as my french is not good enough for googling around 😉 . The Mail was translated by a friend.
|
Ok, I will continue to search for updated xml. In parallel, I will also contact MeteoFrance. Can I point them to github repo? |
Sure, absolutely no Proble!
|
Done, with the contact form of https://donneespubliques.meteofrance.fr/ I found a very interrest website (in French), that explains how to get xml files : https://blog.desgran.ge/post/opendata-et-donnees-neiges/ First, all files are available on a ftp : ftp://ftp.meteo.fr/FDPMSP/Pdf/BRA each day, there is a new json file that list all new xml files, for each massif. For example, for today this is https://donneespubliques.meteofrance.fr/donnees_libres/Pdf/BRA/bra.20210119.json With that file, we can now that for Oisans massif, EDIT : main issue is still that this report is not up to date, and expire at today 18:00 (6:00PM). |
Lets check out, if we get a "valid" report tomorrow in the morning, then it wouldn't look so bad we would getting somehow a useful report. Very gut recherche so far, thanks for keeping me posted with all these findings! |
Nothing more this morning 8:00 :( |
Another way to determine a reports source is to check out where the official App requests its reports with a network monitoring tool or 'inspect' the apk. |
I had yesrterday first responses for MeteoFrance services. They told me that live data are only avaliable from meteofrancewebsite, not donneespubliques. We already know that. When I asked them if there is API on metefrance website, they give mu another email address, quite generic unfortunately. No response right now. On monday, I will ask again. |
I had a final response today, form digital commercial service. That's the end. |
That's indeed sad news. I'll keep the Issue open for further news on the topic if things change. Or if someone wants to decompose the needed information form a App or Website... |
@vbelloir Attached you can find here a example bulletin. I removed the embedded Images.
If I store and present all of that, is there then any very important information for the FR-Report missing? |
And these are the Region_ID's i've found so far (i think they are all). Would you order them differently?
|
Hi @fridlmue I have never heard of picture representing Avalanche Problems. I think that there is no equivalent in french reports. Yes, you are right, line 10 is the summary and line 19 is the detailed description of risk. Line 28 describes weather and snow quality, so it can be "Snow and Weather Data" in swiss report, or "Snowpack description" in Italian ones. With that, I think that most important info will be displayed! Concerning region ID, this is the order used by meteoFrance, so, I would keep it! |
@vbelloir You can just play around with it a little. Some thinks need adjustments, like the string for "Treeline" is very long in 🇫🇷 (to long fir the DangerPage and the Cover at the moment, so we need to adjust the string or the layout). But sure there are more issues. Please report your findings. For more general things you can open also a new Issue. As I told, my priority is to "harden" things at the pyAvaCore at the moment and then optimize the representation in the app. But it is very nice to see growing parts of the Alpine Area covered by regions AND localization 👍 |
I forgot to mention: The App should now request the Swiss, Liechtenstein, Tirol, South Tirol, Trentino and Val d'Aran bulletins in French as well. |
Great job!! |
Yeah, take your time. It would be great if you could also do sometimes a small checks on consistency with the official reports from meteo france. I do that at times, but 4 eyes see more than 2 😉 |
Ok, I will do. I have a question: |
I know what you mean. Yeah, I need to figure out a good way to unify that. The reason behind is: I try to structure the reports in a common format internally. But there are some variations in the reports. As the Swiss one was a very big deviation I gave it an individual page layout in the first run. While the (yet implemented) Austrian, German and Italian reports issue multiple Prone Locations and Elevations linked to different Avalanche Problems and, if necessary, two danger levels with a upper and lower range limit, in contrast the Swiss reports has one danger level with a general prone location (with other compass card) and only textual descriptions for the problems. The french report is somewhere in the middle with a general prone exposition not linked to problems but with up to two danger levels with a range limit and not the swiss compass. So it fitted the "not Swiss" layout better in the first run. My long term target is to have a more adaptive DangerPage.qml and not a extra one for switzerland. But the first step would be to remove the Avalanche Problem section (and the Tendency Section) if the report is French and plot the compass next to the Elevation Data in this case. Ideas or concepts or a opinion from your side are very welcome! 😉 |
Hi, fridl,
Thanks for your app!
All data for France, are free, and under ETALAB licence.
They can be download on pdf or xml formats here : https://donneespubliques.meteofrance.fr/?fond=produit&id_produit=265&id_rubrique=50
Here is a example file for Aravis Area:
BRA.ARAVIS.20210117143853.txt
Can I do something more to help?
Vincent
The text was updated successfully, but these errors were encountered: