encoder only.Expand description
A run’s column store, cut from its finished map stores.
docs/zarr-profile.md, “Column store”, is normative and
xuebuild/columns.py the reference, mirrored byte for byte. The input is
the plan both writers take: which array holds which variable of which map
store, its predictor and its levels. Everything else, metadata, grid, axis,
codebooks, codes and tiling, is read from the stores the plan names, so
nothing here knows a source or opens the registry document.
A member’s store is the plan’s to name: a map store, or, for a surface
array whose variable its bundle’s series store widens, that series store,
whose sixteen-bit codes the array then holds as uint16, so a column and
a pinned point’s series are one set of codes. Every other array is bytes.
The unit of work is one shard of one array: a band of rows, every level
over the whole axis. Its codes are held uncompressed, each map shard is
read by seeking to the tiles the band overlaps, and payloads go to disk as
they are compressed, so memory is one band per worker whatever the run’s
size. zarr.json is written last: until then no reader takes the directory
for a store, and a failed cut removes it.
Structs§
- Column
Report - What one cut wrote: the manifest descriptor’s three values and each array’s shard bytes.
Constants§
- PLAN_
VERSION - The
columnsPlanthis writer reads.
Functions§
- write_
columns - Cut the column store a plan describes from the map stores under
run_directoryintooutput, which must not exist, withjobsworkers. The bytes do not depend onjobs.