Level 2 collections: a catalog that lives with its data
Design · working page · keeping geocatalog's table inside an Icechunk repository, so scenes, products and their index are versioned and committed together
Abstract¶
Prompted by the CNG Forum 2026 talk “Level 2 Data Collections in Zarr” (Tom Nicholas, Earthmover; Sean Harkins, Development Seed). The page reads geostack, geotoolz, xrtoolz and pipekit at their 12 November 2026 commits, draws the current state in two layers (work and persist), and shows a target where every current box stays and five workstreams add to it. Read Storage formats first for COG, Zarr and Icechunk.
Status. A draft. Workstreams A to E are tracked as GitHub issues; the product catalog (F) and the recipe registries (G to J) are their own pages.
TL;DR: change where the catalog lives, not the carriers¶
Verified today. geocatalog already holds a table catalog (
GeoCatalogwith in-memory and DuckDB backends, saved as GeoParquet); geoarray already converts to and fromDataTree; xrops already dispatches overDataTree. Nothing in the four repositories mentions Icechunk, VirtualiZarr or kerchunk.Five gaps. The table and the data are separate artifacts; rows point at whole files; no raster loader keeps scenes apart; two Zarr georeferencing conventions; the catalog protocol has no write half.
A. An
IcechunkGeoCatalogwhose table is ameta/group at a pinned snapshot.B. A write half: a transaction writes a product group and its row, and commits both or neither.
C.
load_scenes: oneDataTreenode per scene, each on its own grid, throughgeoarray.to_datatree.D. One Zarr georeferencing convention:
WriteZarrwrites the CFspatial_refthatgeoarray.to_xarraywrites.E. Virtual ingest of archives with VirtualiZarr, no copy.
On the page¶
Current state, verified in code: a two-layer diagram, the components and where each lives, five gaps
Revised target: the same boxes, with what each gains
API sketch: repository layout,
meta/toCatalogRow, the backend, the write half, the scene loaderIn action: the matched filter over a month of scenes, today and in the target
Testing gates, sequencing and risks