Should (at least partially) address
|
o writeZarrArray() needs to write the array dimnames to disk. |
If the provided array has dimnames, write_zarr_array() will take names(dimnames()) and write it as dimension_names (spec).
Conversely, if the Zarr metadata has the dimension_names field, it is used to populate names(dimnames()) when reading.
The Zarr spec doesn't define how the elements of dimnames (beyond its names()) should be written. One can use the free-form attributes for this (Rarr::read_zarr_attributes()/Rarr::write_zarr_attributes()).
Should (at least partially) address
ZarrArray/TODO
Line 12 in c92038e
If the provided array has
dimnames,write_zarr_array()will takenames(dimnames())and write it asdimension_names(spec).Conversely, if the Zarr metadata has the
dimension_namesfield, it is used to populatenames(dimnames())when reading.The Zarr spec doesn't define how the elements of
dimnames(beyond itsnames()) should be written. One can use the free-form attributes for this (Rarr::read_zarr_attributes()/Rarr::write_zarr_attributes()).