Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ome_zarr info: add options to introspect nested Zarr groups #112

Open
sbesson opened this issue Sep 20, 2021 · 1 comment
Open

ome_zarr info: add options to introspect nested Zarr groups #112

sbesson opened this issue Sep 20, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@sbesson
Copy link
Member

sbesson commented Sep 20, 2021

Taking the output of bioformat2raw 0.3.0 which is a collection of OME-Zarr multiscale images as an example:

bioformats2raw "test&series=2.fake" "test.zarr"
(zarr) [sbesson@pilot-zarr1-dev ~]$ ome_zarr info test.zarr/
(zarr) [sbesson@pilot-zarr1-dev ~]$

returns nothing but the leaves can be introspected:

(zarr) [sbesson@pilot-zarr1-dev ~]$ ome_zarr info test.zarr/0/
/home/sbesson/test.zarr/0 [zgroup]
 - metadata
   - Multiscales
 - data
   - (1, 1, 1, 512, 512)
   - (1, 1, 1, 256, 256)
(zarr) [sbesson@pilot-zarr1-dev ~]$ ome_zarr info test.zarr/1/
/home/sbesson/test.zarr/1 [zgroup]
 - metadata
   - Multiscales
 - data
   - (1, 1, 1, 512, 512)
   - (1, 1, 1, 256, 256)

We might want to introduce some flags allow to scan a Zarr group without any OME-specific metadata. While the use case above is trivial, this will bring typical scalability issues associated with scanning a nested layout and/or loading metadata from a lot of leaves.

/cc @dominikl @pwalczysko

@sbesson sbesson added the enhancement New feature or request label Sep 20, 2021
@sbesson sbesson changed the title Introspect Zarr datasets containing OME-Zarr ome_zarr info: add options to introspect nested Zarr groups Sep 20, 2021
@sbesson
Copy link
Member Author

sbesson commented Oct 12, 2021

See also ome/omero-cli-zarr#82 (comment) for another use case: being able to introspect an image with associated labels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant