Skip to main content

EOPF Sentinel Explorer

eopf-geozarr — the GeoZarr driver for EOPF CPM

PyPI CI Docs License

eopf-geozarr is the GeoZarr driver for ESA's EOPF CPM, the Core Python Modules of the Copernicus Earth Observation Processing Framework (Python package eopf). It converts Sentinel-1, Sentinel-2 and Sentinel-3 products into cloud-optimized GeoZarr: Zarr v3 stores with multiscale pyramids, native projections and the OGC GeoZarr conventions (multiscales, geo-proj, spatial). Use it as a CPM driver (eopf convert-geozarr) or on its own (eopf-geozarr convert).

📖 Documentation: https://eopf-explorer.github.io/data-model/

Two ways to convert

CPM driver Standalone converter
Input Native products (for example .SAFE) or any product CPM can read EOPF Zarr products (for example from the EOPF Sentinel Zarr Samples Service)
Install pip install "eopf-geozarr[cpm]" (Python ≥ 3.13) pip install eopf-geozarr (Python ≥ 3.12)
Command eopf convert-geozarr S2B_MSIL2A_….SAFE out.zarr eopf-geozarr convert S2B_MSIL2A_….zarr out.zarr
Python write_datatree(dtree, "out.zarr", engine="geozarr") convert_s2_optimized(dt, output_path="out.zarr", …)

Both paths run the same conversion pipelines and write the same GeoZarr output. The standalone converter reads the EOPF Zarr products published by the EOPF Sentinel Zarr Samples Service, hosted by EODC, directly from their URLs.

CPM driver

Installing the cpm extra registers the geozarr engine in CPM's writer registry and adds the eopf convert-geozarr command to the eopf CLI:

pip install "eopf-geozarr[cpm]"

eopf convert-geozarr S2B_MSIL2A_20250113T103309_N0511_R108_T32TLQ.SAFE out.zarr
# S3 targets: write locally, then upload
eopf convert-geozarr S2B_MSIL2A_….SAFE s3://bucket/out.zarr --stage-output
import eopf_geozarr.cpm.writer  # registers the "geozarr" engine
from eopf.store.convert import convert

convert("S2B_MSIL2A_….SAFE", "out.zarr", target_store_kwargs={"engine": "geozarr"})

See the CPM driver guide for all options, the product routing and the Python API.

Standalone converter

pip install eopf-geozarr

eopf-geozarr convert S2B_MSIL2A_….zarr out.zarr          # auto-detects S2 and S3 OLCI
eopf-geozarr convert S2B_MSIL2A_….zarr s3://bucket/out.zarr
eopf-geozarr validate out.zarr                         # check GeoZarr compliance

See the standalone converter guide for every command, including Sentinel-1 GRD RTC ingestion.

Supported products

Mission Product CPM product:type Pipeline
Sentinel-2 MSI L1C, L2A S02MSIL1C, S02MSIL2A S2 optimized: native r10m/r20m/r60m levels plus r120m/r360m/r720m overviews
Sentinel-3 OLCI L1 EFR, L1 ERR S03OLCEFR, S03OLCERR OLCI optimized: native swath geometry, or a regular grid with --output-grid
Sentinel-1 GRD — Generic pipeline with ground control points (--groups, --gcp-group)
Sentinel-1 GRD RTC (S1Tiling / Orfeo ToolBox COGs) — eopf-geozarr ingest-s1 and related commands (standalone only)
Sentinel-1 and other products CPM reads for example SLC for example S01SIWSLC Generic rechunker (CPM driver only, --generic-rechunker): rechunked, optionally sharded, no multiscales

Output

  • GeoZarr conventions on every georeferenced node: zarr_conventions, geo-proj (proj:code), spatial (spatial:transform, spatial:bbox) and multiscales, as described in the GeoZarr mini spec.
  • Native projections: no reprojection to Web Mercator.
  • Multiscale pyramids for fast visualization at every zoom level.
  • Source packing kept: reflectance stays as packed integers with CF scale_factor/add_offset/_FillValue, as in the ESA products. --scale-offset-codec stores the packing with the Zarr scale_offset + cast_value codecs instead, so Zarr readers get decoded values.
  • Validation: eopf-geozarr validate checks a store against the mini spec.

GeoZarr is a set of modular Zarr conventions from the OGC GeoZarr Standards Working Group. GeoZarr V1 is not released yet (see the roadmap), so this driver follows the current conventions.

Development

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        # documentation

Contributions are welcome: open an issue or a pull request against main.

License and acknowledgments

Apache License 2.0, see LICENSE.

eopf-geozarr is developed for the ESA EOPF Sentinel Explorer by Development Seed and EODC (Earth Observation Data Centre), which also hosts the EOPF Sentinel Zarr Samples Service. It is built on xarray, zarr-python and EOPF CPM.

Metadata

Release files for eopf-geozarr 0.13.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eopf-geozarr 0.13.1
File Size Uploaded Provenance Actions
eopf_geozarr-0.13.1.tar.gz 313.6 kB With provenance Details for eopf_geozarr-0.13.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eopf-geozarr 0.13.1
File Interpreter ABI Platform Actions
eopf_geozarr-0.13.1-py3-none-any.whl Python 3 none any Details for eopf_geozarr-0.13.1-py3-none-any.whl

Total release size: 524.1 kB

Release files / eopf_geozarr-0.13.1.tar.gz

Download URL eopf_geozarr-0.13.1.tar.gz
Size 313.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9bbe5805b1135e2f9c9173e573be9c00153be1a656c42418083a9e1fceec1c62
BLAKE2b-256 checksum
How to use checksums
aec1cc3c80d26eb0de3cb059c7296dee12afd20ec361da358e8f296ba77980f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / eopf_geozarr-0.13.1-py3-none-any.whl

Download URL eopf_geozarr-0.13.1-py3-none-any.whl
Size 210.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6b660d7853ccf6a3d5cd9dbcc73b5dfd6b3717abe1b2a1239a1b8dbfe3419c4
BLAKE2b-256 checksum
How to use checksums
d55da41dc28c59cc4548bfcd2644ddd178db0081b687015ba67241d852b24f68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for eopf-geozarr 0.13.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for eopf_geozarr-0.13.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page