Opening HCS Plates from a Remote Store #359
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added read-only support for opening OME-Zarr datasets from remote URLs (HTTP/HTTPS, S3, GCS, Azure).
In addition I made a small adjustment for to use metadata-based navigation instead of directory iteration (HTTP directory listings return HTML artifacts, so we read paths from OME-NGFF metadata files instead)
Here's how you use it:
or with the cli:
I touched up the CLI output a bit as well since it used directory based traversal instead of metadata based one.
µm,nm, etc.) now read from OME-Zarr metadata instead of hardcoded toum.Todos
Maybe in the future we can try to wrangle how we would want to do writes. It's also a good idea to address #265 after since I've touched a lot of the info printing code here, so it seems like relative modification.
As an aside I'm using
fssspec, butobstoreprovides greater performance some of the time, however it doesn't work for simple servers likecaddy, but it's great for S3 and such.