DWD.de NWP ICON datasets downloader
A script to download DWD NWP ICON datasets.
- Website https://www.dwd.de/EN/ourservices/nwp_forecast_data/nwp_forecast_data.html
- Data sources https://opendata.dwd.de/weather/nwp/
See config.yaml for an example configuration.
CLI
Run with dwd-downloader [--config ./config.yaml] [--date 20251008]
By default it will try to incrementally download the most recent datasets available.
API
from .api import dwd_downloader
dwd_downloader()
# dwd_downloader("./config.yaml")
# dwd_downloader("./config.yaml", "20251008")
Environment variables
- Use
CONFIG_PATHto specify the config yaml location. - Use
LOG_LEVELto tune the logging level
config.yaml can use env variables replacements
To configure S3 based storage you can provide the following (with AWS_* or S3_* prefix)
STORAGE_TYPE=s3
AWS_ACCESS_KEY_ID="minio"
AWS_SECRET_ACCESS_KEY="minio123"
AWS_DEFAULT_REGION="us-east-1"
AWS_ENDPOINT_URL=http://localhost:19000
AWS_BUCKET=local-data
Variables
🌞 Radiation and Energy Fluxes
- alb_rad – Surface albedo
- asob_s – Net shortwave radiation at surface (all-sky)
- asob_s_cs – Net shortwave radiation at surface (clear-sky)
- asob_t – Net shortwave radiation at top of atmosphere
- aswdifd_s – Diffuse downward shortwave radiation at surface
- aswdifu_s – Diffuse upward shortwave radiation at surface
- aswdir_s – Direct shortwave radiation at surface
- athb_s – Net longwave radiation at surface (all-sky)
- athb_t – Net longwave radiation at top of atmosphere
- alhfl_s – Latent heat flux at surface
- ashfl_s – Sensible heat flux at surface
- apab_s – Absorbed shortwave flux at surface
☁️ Cloud and Precipitation
- clc – Cloud cover (3D field)
- clch – High cloud cover
- clcm – Medium cloud cover
- clcl – Low cloud cover
- clct – Total cloud cover
- clct_mod – Model-diagnostic total cloud cover
- cldepth – Cloud depth
- htop_con – Convective cloud top height
- hbas_con – Convective cloud base height
- htop_dc – Top of deep convection
- ceiling – Cloud base (ceiling) height
- hzerocl – Height of the 0°C isotherm (freezing level)
- rain_con – Convective rain rate
- rain_gsp – Large-scale (stratiform) rain rate
- snow_con – Convective snow rate
- snow_gsp – Stratiform snow rate
- tot_prec – Total precipitation (rain + snow)
- snowlmt – Snow line altitude
- rho_snow – Density of snow
- h_snow – Snow depth
- w_snow – Water equivalent of snow
🌬️ Dynamics (Wind, Motion, Pressure)
- u – Zonal wind component
- v – Meridional wind component
- u_10m – 10-meter zonal wind
- v_10m – 10-meter meridional wind
- vmax_10m – Maximum 10-meter wind gust
- w – Vertical velocity
- omega – Vertical velocity in pressure coordinates
- tke – Turbulent kinetic energy
- p – Pressure (3D field)
- ps – Surface pressure
- pmsl – Mean sea level pressure
🌡️ Temperature and Humidity
- t – Air temperature (3D field)
- t_2m – 2-meter air temperature
- tmax_2m – Maximum 2-meter temperature
- tmin_2m – Minimum 2-meter temperature
- td_2m – 2-meter dew point temperature
- t_g – Ground (skin) temperature
- t_snow – Snow temperature
- t_ice – Ice temperature
- t_so – Soil temperature (by layer)
- qv – Specific humidity (3D field)
- qv_2m – 2-meter specific humidity
- relhum – Relative humidity (3D field)
- relhum_2m – 2-meter relative humidity
🌍 Surface and Soil
- hsurf – Surface altitude (orography)
- z0 – Surface roughness length
- soiltyp – Soil type (categorical)
- lai – Leaf area index
- rootdp – Root depth
- w_so – Soil water content
- w_so_ice – Frozen soil water content
- runoff_s – Surface runoff
- runoff_g – Groundwater runoff
❄️ Ice, Lakes, and Land Fractions
- fr_land – Fraction of land in grid cell
- fr_lake – Fraction of lake in grid cell
- depth_lk – Lake depth
- h_ice – Ice thickness
⚡ Convection and Stability
- cape_ml – Convective available potential energy (mixed layer)
- cape_con – CAPE for convective updrafts
- cin_ml – Convective inhibition (mixed layer)
- lpi_con_max – Lightning potential index
- tch – Temperature at convective cloud top
- tcm – Temperature at convective cloud middle
- mh – Height of mixed layer
🌫️ Optical and Remote Sensing
- vis – Visibility
- synmsg_bt_cl_ir10.8 – Synthetic brightness temperature (IR 10.8 µm)
- synmsg_bt_cl_wv6.2 – Synthetic brightness temperature (WV 6.2 µm)
💧 Moisture and Condensate (3D and Integrated)
- qc – Cloud water content
- qi – Cloud ice content
- qr – Rain water content
- qs – Snow content
- qv_s – Specific humidity at surface
- tqc – Total column cloud water
- tqi – Total column cloud ice
- tqr – Total column rain water
- tqs – Total column snow
- tqv – Total column water vapor
📈 Geometry and Coordinates
- rlat – Rotated latitude coordinate
- rlon – Rotated longitude coordinate
- hhl – Height of model half levels (vertical grid)
- fi – Geopotential
- plcov – Plant cover fraction
Metadata
Release files for dwd-downloader 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dwd_downloader-1.4.0.tar.gz | 69.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dwd_downloader-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 88.3 kB
Release files / dwd_downloader-1.4.0.tar.gz
| Download URL | dwd_downloader-1.4.0.tar.gz |
|---|---|
| Size | 69.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e17c015b4f6cc49490156dbedcba541a59151a07703b46ef27ab2c1c7f5e58dd
|
|
BLAKE2b-256 checksum How to use checksums |
ca6c0c3930ec45bbc015441a9a2921433ee3bb895a94fd5e707437b3e81ddcd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 5, 2026.
Transparency logRelease files / dwd_downloader-1.4.0-py3-none-any.whl
| Download URL | dwd_downloader-1.4.0-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62e27f25a649062ac02ec6368f464552c0691215087d409b136c2b7c0781e71f
|
|
BLAKE2b-256 checksum How to use checksums |
a30221f36abd4caa851e4818bfac21f85b5546717a5d92047174c3c863b3faf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 5, 2026.
Transparency logSecurity for dwd-downloader 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for dwd_downloader-1.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.