Hello everyone,
I have a little problem with the MeteoAlarm module, it displays “snow-ice warning” regardless of the current alert.
Many thanks
Hello everyone,
I have a little problem with the MeteoAlarm module, it displays “snow-ice warning” regardless of the current alert.
Many thanks
Can you post the URL for your website?
Slightly confused here: Ken True’s map at Meteoalarm Regions Map (saratoga-weather.org) shows the new EMMA_ID for Loiret to be FR061, not FR246?
And the current warning for Loiret is Thunderstorm - see MeteoAlarm | Early Warnings for Europe - which is what the English translation of your “snow-ice warning” says
Problem confirmed, also on the test-sites for FR246.
The .CAP data seems OK.
Will look into it this evening and try to find where it fails in the scripts.
@ ALL always post the link to your website, otherwise I can not see the problem in its environment. That is needed to get the same situation at a test-website.
Wim
To get the translated text in the small block add the missing translation
to . ./station_meteo_courtenay/languages/lang_fr.txt
|thunderstorm warning|Vigilance orages|
What responsiveness Wim! Thanks a lot for the fix.
I will test it as soon as possible.
Have a nice evening !
Franck
Test performed. That fixed the problem nicely. On the other hand, the thumbnail does not correspond with the type of alert.
Also impossible to translate “thunderstorm warning” via /languages/lang_fr.txt.
Thanks,
Franck
The text is the same, only the color-name description is not used in the small block, the texts would become too large to fit.
You should add a line at the bottom of the file https://meteo45.com/station_meteo_courtenay/languages/lang_fr.txt
Currently the last line reads
|More options|Plus d'options|
It should read
|More options|Plus d'options|
|thunderstorm warning|Vigilance orages|
Use a decent script editor, not “word” or any document editor.
Succes,
Wim
Wim,
In fact, I expressed myself badly. I simply wanted to say that in the pop up the image did not correspond to the type of alert in progress.
For translation, it works!
Thanks,
Franck
Thank you for finding this. The March switch to the new cap-files will probably have other changes and testing these scripts is not easy when there are only a relative low number of warnings.
I adapted the script and the images should now be correct.
Wim
wrnWarningEU-CAP 2.php.zip (8.2 KB)
Thanks,
Wim
Thank you very much Wim for the fix.
I am fully aware of the work done by you.
Many thanks again !
Franck