Closed mtbc closed 4 years ago
On setting the path to match our S3 buckets:
omero.ms.zarr.net.path.image=/idr/zarr/v0.1/{image}.zarr/
this PR allows ome-ms-zarr to masquerade as our other storage backends:
(py36) /opt/ome-zarr-py $ ./ome_zarr http://localhost:8080/idr/zarr/v0.1/51.zarr
root_attrs {'multiscales': [{'datasets': [{'path': '0', 'scale': 1.0}], 'version': '0.1'}]}
resolutions ['0']
resolution 0 shape (t, c, z, y, x) (1, 1, 1, 512, 512) chunks ['1', '1', '1', '512', '512'] dtype uint8
'channels'
[([dask.array<from-zarr, shape=(1, 1, 1, 512, 512), dtype=uint8, chunksize=(1, 1, 1, 512, 512), chunktype=numpy.ndarray>], {'channel_axis': 1})]
:+1:
Adds microservice configuration properties,
omero.ms.zarr.buffer-cache.size
omero.ms.zarr.chunk.size.min
omero.ms.zarr.compress.zlib.level
omero.ms.zarr.net.path.image
omero.ms.zarr.net.port
and describes them in the README.