ome / omero-ms-zarr

Experimental micro-service for implementing the Zarr spec over HTTP
https://www.openmicroscopy.org/omero
GNU General Public License v2.0
17 stars 12 forks source link

Add microservice download options for nested chunk paths. #38

Closed mtbc closed 4 years ago

mtbc commented 4 years ago

Now can use fetch-ms-zarr.py with a new --nested-local option to download chunks into a nested hierarchy. When viewing with napari, rather than,

image = dask.array.from_zarr('my/image/path')

instead use,

store = zarr.NestedDirectoryStore('my/image/path')
image = dask.array.from_zarr(store)

Includes a --nested-remote too but the microservice is easy either way.

Fixes #12.

joshmoore commented 4 years ago

--nested-local works fine:

find 0 -type f
0/.zarray
0/0/0/0/0/0

Don't currently have a remote nested to test on, but looks fine.