OME-Zarr Metadata#
OME-zarr v0.5 metadata MUST be included in
zarr.jsonat the group and array level, with the fields described below:
Dimensions#
The
axesare used as part of OME-ngff v0.5multiscalesmetadata. The length ofaxesMUST be equal to the number of dimensions of the arrays that contain the image data.The
dimension_namesattribute MUST be included in thezarr.jsonof the Zarr array of a multiscale level and MUST match the names in theaxesmetadata.
Note
Axis names and dimension_names values MUST be all lowercase (t, c, z, y, x) or all uppercase (T, C, Z, Y, X). Mixed casing such as T, C, Z, y, x is rejected. The original casing is preserved.
Units#
For spatial and temporal dimensions, units from the OME-ngff v0.5 specification MUST be used.
The temporal axis has one exception. OME-ngff v0.5 expresses spacing as a single uniform scale and its temporal vocabulary has no
frame, so an acquisition with unevenly spaced timepoints cannot name a unit honestly. Such a group MAY omit thetunit if it declaresacquisition.time_sampling = "variable".A group declaring
variableMUST carryacquisition.timestamps, one non-decreasing entry per timepoint of the level-0 array in seconds since the Unix epoch (UTC), and MUST set the level-0tscale to 1 so the axis reads as frame indices. Spatial axes are unaffected.
Multiresolution#
The used downsampling method MUST be documented in the
zarr.jsonfile.
Additional Metadata#
Datasets may provide additional metadata that is not captured by this standard.
The original metadata MAY additionally be stored in human-readable format next to individual arrays, i.e. next to zarr.json files containing ome.multiscales metadata.