Some month ago I wrote two little scripts to process the warning alerts 
provided by the german weather agency Deutscher Wetterdienst.

I wondered why sometimes there are 2 warnings for the same kind of event. 
They had a little bit different start and end time, but the time period was 
overlapping. So I asked them how that happens, and I got an answer. They 
provide different warnings files for different areal resolutions. And I 
learnt, the higher resolution is available in CAP file format, only. As I 
understood it, it is an international file format for weather alerts.

So I started to read through the lengthy documentation. And I wrote another 
script called "dwd-cap-warnings", that can be used as a replacement instead 
of "dwd-warnings". It downloads the CAP files provided by Deutscher 
Wetterdienst and creates HTML include files to use in skins as well es JSON 
files to process by Javascript. It knows some options to change the 
behavior.

And so you can get the alerts for a single town or village now: weewx-DWD 
<https://github.com/roe-dl/weewx-DWD>

Additionally I found out where to download a list of the names and codes 
the DWD uses: cap_warncellids.csv 
<https://www.dwd.de/DE/leistungen/opendata/help/warnungen/cap_warncellids_csv.html>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e295e3f1-a416-4f48-849e-24c1c9daf4cdn%40googlegroups.com.

Reply via email to