Cloud-Native Earth Observation Formats: COG, Zarr, and STAC
How cloud-native geospatial formats eliminate full-file downloads, accelerate raster analytics, and standardize Earth Observation interoperability.
Why Legacy Archive Formats Bottleneck Cloud EO Pipelines
Traditional Earth Observation archives distribute scenes as monolithic ZIP bundles or uncompressed HDF5 and GeoTIFF files optimized for tape and local workstations. When cloud compute workers need a small area of interest across hundreds of dates, downloading entire gigabyte scenes wastes network egress and stalls downstream processing.
Cloud-native geospatial formats solve this by structuring internal tiles, overviews, and metadata indexes so object storage behaves like a random-access filesystem. Compute engines issue HTTP range requests for exact spatial windows and spectral bands without staging whole files locally.
- HTTP GET range requests fetch only intersecting internal image tiles.
- Embedded pyramid overviews serve low-zoom previews without full-resolution reads.
- Self-describing headers keep byte-offset tables at the start of the object.
Choosing Between COG, Zarr, and GeoParquet
Cloud Optimized GeoTIFF (COG) excels for 2D raster scenes, orthorectified optical imagery, and single-date SAR products where each band or asset maps cleanly to tiled GeoTIFF files. Its broad GDAL compatibility makes it the default interchange layer for web map tilers and GIS clients.
Zarr targets multidimensional datacubes—such as long time-series stacks, atmospheric reanalysis, or hyperspectral cubes—by storing N-dimensional chunks as independent objects. GeoParquet complements both by storing millions of scene footprints and tabular telemetry in columnar vector files.
- Use COG for per-scene visual, multispectral, and dynamic tiling workflows.
- Use Zarr for temporal stack reductions, pixel-time-series ML, and gridded climate arrays.
- Pair both with GeoParquet or STAC APIs to index spatial-temporal footprints.
Role of STAC as the Discovery Envelope
While COG and Zarr govern pixel layout, the SpatioTemporal Asset Catalog (STAC) specification provides a uniform JSON schema describing sensor geometry, acquisition timestamps, cloud cover, projection metadata, and signed asset links.
Separating the discovery envelope from pixel storage lets organizations federate commercial, public, and proprietary constellations behind one queryable API without duplicating petabytes of imagery across regional buckets.
Compression, Chunk Sizing, and Egress Trade-offs
Selecting the right compression codec and internal tile size determines real-world throughput. DEFLATE or ZSTD provides lossless preservation for scientific radiometry, whereas WebP or JPEG suits true-color basemap visualization layers with predictable bandwidth budgets.
Overly small blocks inflate S3 API request counts, while oversized chunks force excess byte transfers on sparse polygon queries. Most operational EO teams standardize on 256x256 or 512x512 pixel blocks for COG and 10-to-50 MB chunks for Zarr.
Cloud-Native Earth Observation Format Comparison
| Format | Primary Data Model | Optimal Access Pattern | Typical Use Case |
|---|---|---|---|
| COG (GeoTIFF) | 2D Tiled Raster + Overviews | HTTP Range Requests | Scene delivery, dynamic map tiling, GIS |
| Zarr | N-Dimensional Chunked Array | Parallel Key-Value Chunk Reads | Time-series cubes, ML training stacks |
| GeoParquet | Columnar Vector + Geometry | Predicate Pushdown & Row Groups | Footprint catalogs, large vector telemetry |
| STAC JSON | Metadata Item & Collection | REST Search & Link Traversal | Cross-constellation discovery and provenance |
| Legacy ZIP/SAFE | Bundled Archive Package | Full Object Download & Extract | Cold archival compliance and offline handoff |
Access patterns assume standard S3-compatible object storage with byte-range read support.
Worked Illustration: Bandwidth Saved on an AOI Chip Extraction
Suppose an analyst needs a 512x512 pixel crop across 4 spectral bands from a 10,980x10,980 Sentinel-2 style uint16 scene stored in object storage.
- Full uncompressed 4-band scene size: 10,980 x 10,980 x 4 bands x 2 bytes = ~964.5 MB (even compressed, ~350-500 MB per scene download).
- In COG layout with 512x512 internal tiling, the AOI intersects at most 4 tiles per band depending on grid alignment.
- Bytes per tile before compression: 512 x 512 x 2 bytes = 524 KB; across 4 bands and up to 4 overlapping tiles, raw read is ~8.4 MB (plus ~64 KB header).
- Applying lossless DEFLATE (~1.8x ratio) lowers total HTTP range transfer to roughly 4.7 MB instead of ~420 MB.
Key Takeaway: Cloud-native range reads cut per-scene network transfer by ~98% in this worked illustration, enabling sub-second chip extraction at scale.
Cloud-Native Format Readiness Checklist
- Verify every COG passes rio-cogeo or GDAL validation with IFD headers placed at the file start.
- Standardize internal block sizes (256x256 or 512x512) and build power-of-two overview pyramids.
- Enforce lossless compression (DEFLATE or ZSTD) for scientific and analytical bands.
- Set Zarr chunk dimensions to align with dominant spatial versus temporal query axes.
- Attach complete STAC Item metadata including proj:epsg, eo:cloud_cover, and exact asset roles.
- Enable HTTP byte-range headers and CORS policies on object storage endpoints.
Frequently Asked Questions
Should we replace all existing GeoTIFF archives with Zarr?
No. COG remains simpler and faster for single-scene delivery, WMS/WMTS dynamic tiling, and desktop GIS tools. Use Zarr when workloads repeatedly slice across long temporal or hyperspectral dimensions.
Can STAC link to both COG and Zarr assets in the same catalog?
Yes. A STAC Item or Collection can reference COG assets for individual scenes alongside a Zarr store asset for an aggregated analysis cube using distinct asset roles and media types.
Does COG compression hurt radiometric accuracy?
Not when using lossless codecs such as DEFLATE, LZW, or ZSTD. Only lossy codecs like JPEG or lossy WebP alter pixel values and should be restricted to visual RGB previews.
How does Kerchunk relate to NetCDF and HDF5 EO data?
Kerchunk generates virtual Zarr reference JSON files pointing to byte ranges inside existing NetCDF4 or HDF5 files, letting teams read legacy archives cloud-natively without rewriting petabytes.
Primary Standards & References
- Open Geospatial Consortium (OGC) — OGC GeoTIFF Standard (OGC 19-008r4) & Cloud Optimized GeoTIFF Specification
- SpatioTemporal Asset Catalog (STAC) Specification — Core Item, Collection, and Projection Extensions (v1.0.0)
- Cloud Native Geospatial Foundation (CNGF) — Cloud-Optimized Geospatial Formats Guide (COG, Zarr, GeoParquet)