What problem does it solve?
GeoZarr solves the problem of georeferenced Zarr files that open without a usable CRS/transform, forcing you into repetitive per-tool metadata patching for xarray, rioxarray, and GDAL.
Core Features & Use Cases
- CF grid_mapping compliance: Encodes CRS and grid mapping in a way that readers can interpret consistently.
- Correct coordinate semantics: Ensures coordinate arrays use cell centers while GeoTransform uses pixel edges to avoid half-pixel shifts.
- Zarr v2/v3 compatibility: Supports dimension declarations across Zarr versions so arrays open with the correct axis meaning.
- Optional interoperability layers: Adds proj:/spatial:/multiscales conventions when needed for broader ecosystem compatibility.
- In-place patching: Updates only metadata to add CRS/grid mapping without rewriting large data chunks.
Quick Start
Use geozarr when you author a Zarr store from raster inputs and want it to round-trip as a properly georeferenced raster without tool-specific fixes.