Esgvoc is a Python library designed to simplify interaction with controlled vocabularies (CVs) used in climate data projects. It supports querying, caching, and validating terms across various CV repositories like the Universe and project-specific repositories (e.g., CMIP6Plus).
-
Query controlled vocabularies:
- Retrieve terms, collections, or descriptors.
- Perform cross-validation and search operations.
-
Caching:
- Download CVs to a local database for offline use.
- Keep the local cache up-to-date.
-
Validation:
- Validate strings against CV terms and templates.
- Supports case-sensitive, wildcard, and approximate matching.
Esgvoc is available on PyPI. Install it with pip:
pip install esgvoc
in order to get the latest possible CV
esgvoc install