Installation¶
Requirements¶
| Use | Python | Package |
|---|---|---|
Standalone converter (eopf-geozarr) |
3.12 or later | eopf-geozarr |
GeoZarr driver for EOPF CPM (eopf convert-geozarr) |
3.13 or later | eopf-geozarr[cpm] (installs eopf 3.x) |
Linux and macOS are tested. Windows works through WSL.
Install¶
Check the installation¶
Development installation¶
The project uses uv and pre-commit (ruff, pyright).
git clone https://github.com/EOPF-Explorer/data-model.git
cd data-model
uv sync # add --extra cpm on Python 3.13+ for the CPM driver
uv run pre-commit install
uv run pytest -m "not network"
uv run mkdocs serve # build and serve this documentation
Cloud storage credentials¶
Both paths read and write S3-compatible object storage with the standard AWS environment variables:
export AWS_ACCESS_KEY_ID=your_access_key
export AWS_SECRET_ACCESS_KEY=your_secret_key
export AWS_DEFAULT_REGION=us-east-1
# S3-compatible providers (OVH, MinIO, ...):
export AWS_ENDPOINT_URL=https://your-endpoint.example
The standalone converter writes to s3:// URLs directly. The CPM driver
writes locally and uploads with --stage-output (stage_target=True in
Python).
Troubleshooting¶
ImportErrorabouteopfwhen you importeopf_geozarr.cpm.writer- The CPM driver needs Python 3.13 or later and the
cpmextra:pip install "eopf-geozarr[cpm]". eopf: command not foundor noconvert-geozarrineopf --help- Install the
cpmextra in the same environment aseopf. - Dependency conflicts
- Install into a fresh virtual environment (
python -m venv .venvoruv venv).
Next steps¶
Continue with the quick start.