Read-only mirror of https://github.com/MeteoSwiss/eccodes-cosmo-resources-python — MeteoSwiss. Issues & pull requests at the source.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-24 15:38:06 +02:00
.github/workflows update to 2.44.0.1 (#8) 2026-05-21 16:00:13 +02:00
src/eccodes_cosmo_resources Update definitions to 2.47.0.1 (#10) 2026-07-24 15:38:06 +02:00
test Feature/submodule (#1) 2025-03-07 08:56:16 +01:00
.gitignore update definitions from tarfile (#3) 2025-04-08 15:45:15 +02:00
.gitmodules update definitions from tarfile (#3) 2025-04-08 15:45:15 +02:00
definitions.edzw-2.47.0-1.tar.bz2 Update definitions to 2.47.0.1 (#10) 2026-07-24 15:38:06 +02:00
hatch_build.py Rel 2.40.0.1 (#6) 2026-05-21 10:31:55 +02:00
LICENSE.txt Initial commit 2025-02-28 14:00:08 +01:00
pyproject.toml update definitions from tarfile (#3) 2025-04-08 15:45:15 +02:00
README.md Fix typo in function name for setting definitions path 2026-02-17 17:08:37 +01:00

eccodes-cosmo-resources-python

PyPI - Version PyPI - Python Version


Installation

pip install eccodes-cosmo-resources-python

Usage

import eccodes
import eccodes_cosmo_resources

vendor = eccodes.codes_definition_path()
cosmo = eccodes_cosmo_resources.get_definitions_path()
eccodes.codes_set_definitions_path(f"{cosmo}:{vendor}")

Credits

The eccodes_definitions.edzw on https://opendata.dwd.de are provided under the CC BY 4.0 license and the attribution rules apply if you use it; the owner is the German Meteorological Service (DWD).