Skip to content

remote zarr require s3 to be in the URI #109

@psobolewskiPhD

Description

@psobolewskiPhD

First reported on image.sc, see https://forum.image.sc/t/qupath-0-6-0rc1-unable-to-read-remote-ome-zarr-by-url/101605/19

When trying to load a remote zarr, the URI needs to have s3 in it, which is annoying when using e.g. google buckets.
It looks like due to this code:

if (root != null && (root.toLowerCase().contains("s3:") || root.toLowerCase().contains("s3."))) {

Could this be relaxed to allow other buckets? For example we use google, which provides an s3-interoperable XML Api:
https://cloud.google.com/storage/docs/interoperability#xml_api

Example zarr:
https://ome.github.io/ome-ngff-validator/?source=https://storage.googleapis.com/jax-public-ngff/example_v2/LacZ_ctrl.zarr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions