mirror of
https://github.com/MeteoSwiss/eccodes-cosmo-resources-python.git
synced 2026-08-26 10:44:24 +00:00
Read-only mirror of https://github.com/MeteoSwiss/eccodes-cosmo-resources-python — MeteoSwiss. Issues & pull requests at the source.
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| src/eccodes_cosmo_resources | ||
| test | ||
| .gitignore | ||
| .gitmodules | ||
| definitions.edzw-2.47.0-1.tar.bz2 | ||
| hatch_build.py | ||
| LICENSE.txt | ||
| pyproject.toml | ||
| README.md | ||
eccodes-cosmo-resources-python
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).