I’ve just set up a small R package for downloading handling and accessing DWD MOSMOX forecasts. Current features:
get_files_avail
checks the available files on the server.tests/automation.R
contains a small script which might can be used for automation. Will, at some point, be put into an automation function for handy use. The script is checking available files on the server and only processes the files which have not yet been downloaded, parsed, and stored. This script can be used fur an archive script. We use it to store some forecasts from the live rolling archive for later analysis.Some information about the data: the German weather service (DWD) provides some DWD MOSMIX forecasts (statistically corrected forecasts based on the ICON/ECMWF numerical weather prediction model) on their opendata server. Two products are available:
MOSMIX-L forecasts are available as individual files, one file per station. Thus, downloading these forecasts is rather efficient. For MOSMIX-S one single file is available on the server containing all locations (several thousand different locations). To be able to extract one station the whole file has to be downloaded. Thus, the MOSMIX-M takes much longer to process and needs some more bandwidth, however, works like a charm!
If you use these data sets please read the DWD terms and conditions regarding their open data sets! More information: