fractal-analytics-platform / fractal-tasks-core

Main tasks for the Fractal analytics platform
https://fractal-analytics-platform.github.io/fractal-tasks-core/
BSD 3-Clause "New" or "Revised" License
12 stars 6 forks source link

Include `_ARRAY_DIMENSIONS` metadata? #563

Closed tcompa closed 10 months ago

tcompa commented 10 months ago

Ref https://ngff.openmicroscopy.org/0.4/#image-layout

├── .zgroup               # Each image is a Zarr group, or a folder, of other groups and arrays.
├── .zattrs               # Group level attributes are stored in the .zattrs file and include
│                         # "multiscales" and "omero" (see below). In addition, the group level attributes
│                         # must also contain "_ARRAY_DIMENSIONS" if this group directly contains multi-scale arrays.

Should we include this additional information?

tcompa commented 10 months ago

EDIT: https://github.com/ome/ome-zarr-py/issues/166#issuecomment-1032374780 says that

Closing for now, the requirement has been removed from the 0.4 specification. Various layout currently allow to use xarray together with OME Zarr datasets. Hopefully the discussion in https://github.com/ome/ngff/issues/48 will converge towards a set of recommendations that can be reintroduced later allowing compatibillity.

Thus I guess this is a typo in the specs?

tcompa commented 10 months ago

Ref:

tcompa commented 10 months ago

Closing, as of https://github.com/ome/ngff/issues/217#issuecomment-1766214155