earthobservations / gribmagic

Generic weather forecast downloader
https://community.panodata.org/t/developing-gribmagic/233
MIT License
21 stars 2 forks source link

Add acquisition for ICON-D2 #5

Open amotl opened 3 years ago

amotl commented 3 years ago

@mhaberler suggested at https://github.com/earthobservations/gribmagic/issues/4#issuecomment-749025054:

Note Cosmo-D2 is on the way out and is currently being replaced by Icon-D2 which is sort-of preproduction status (but stable as far as I can judge).

Thanks. So, we should also add acquisition for ICON-D2 to the mix.

mhaberler commented 3 years ago

yes, definitely I am advised by a senior meteorologist and she says it's not worth putting in effort into Cosmo-D2 any more

AFAICT ICON-D2 has all of COSMO-D2 except for the higher rate of forecasts (Cosmo-D2 is currently 3hrs, ICON-D2 is currently 12hrs) but that might possibly change as Cosmo-D2 is decomissioned and ICON-D2 becomes production

mhaberler commented 3 years ago

COSMO-DW2 + COSMO-D2-EPS turned off by 10-2-2021: https://www.dwd.de/DE/leistungen/opendata/neuigkeiten/opendata_nov2020_01.html

amotl commented 3 years ago

@bjoern-reetz just added grid descriptions for the ICON-D2 rotated lat-lon grid (which is also the COSMO-D2 grid) on behalf of https://github.com/DeutscherWetterdienst/regrid/commit/2871ff50. Thanks a stack!

amotl commented 2 years ago

Hi again,

with #14, when gribmagic-0.2.0 has been released, acquiring data from ICON-D2 will be possible, based on improvements by @mhaberler to the DWD GRIB Downloader program, currently hosted at [1]. By using a descriptive recipe, for example recipe_d2_wind.py, you can download specific subsets of data, matching your special needs.

# Install GribMagic
pip install gribmagic

# Install DWD GRIB Downloader program.
gribmagic install dwd-grib-downloader

# Acquire wind-specific parameters from ICON-D2.
wget https://raw.githubusercontent.com/earthobservations/gribmagic/98da3fd4f/examples/dwd/recipe_d2_wind.py
gribmagic dwd acquire --recipe=recipe_d2_wind.py --timestamp="2021101800" --output=.gribmagic-data

With kind regards, Andreas.

[1] https://github.com/earthobservations/dwd-grib-downloader