Skip to main content

Add your description here

Project description

DWD.de NWP ICON datasets downloader

A script to download DWD NWP ICON datasets.

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_PATH to specify the config yaml location.
  • Use LOG_LEVEL to 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dwd_downloader-1.4.0.tar.gz (69.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dwd_downloader-1.4.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file dwd_downloader-1.4.0.tar.gz.

File metadata

  • Download URL: dwd_downloader-1.4.0.tar.gz
  • Upload date:
  • Size: 69.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dwd_downloader-1.4.0.tar.gz
Algorithm Hash digest
SHA256 e17c015b4f6cc49490156dbedcba541a59151a07703b46ef27ab2c1c7f5e58dd
MD5 c733e9d40b5f755672e9d47214f96b2a
BLAKE2b-256 ca6c0c3930ec45bbc015441a9a2921433ee3bb895a94fd5e707437b3e81ddcd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for dwd_downloader-1.4.0.tar.gz:

Publisher: build.yml on celine-eu/dwd-downloader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dwd_downloader-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: dwd_downloader-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dwd_downloader-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 62e27f25a649062ac02ec6368f464552c0691215087d409b136c2b7c0781e71f
MD5 53fe7bdc36d824c839c465f7785686de
BLAKE2b-256 a30221f36abd4caa851e4818bfac21f85b5546717a5d92047174c3c863b3faf6

See more details on using hashes here.

Provenance

The following attestation bundles were made for dwd_downloader-1.4.0-py3-none-any.whl:

Publisher: build.yml on celine-eu/dwd-downloader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page