Skip to content

Commit 366478c

Browse files
committed
add hint to stores in USERGUIDE-OME-ZARR.md
1 parent 71749b4 commit 366478c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

USERGUIDE-OME-ZARR.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ Use these static open methods:
1818
- `Well.open(StoreHandle)` for HCS wells (v0.4/v0.5)
1919
- `dev.zarr.zarrjava.ome.v1_0.Collection.openCollection(StoreHandle)` for v1.0 collection roots
2020

21+
### StoreHandle and stores
22+
23+
OME-Zarr APIs are store-agnostic: pass any `StoreHandle` (filesystem, S3, HTTP, ZIP, memory) to `open(...)`.
24+
See storage backend setup in [`USERGUIDE.md#storage-backends`](USERGUIDE.md#storage-backends).
25+
26+
```java
27+
StoreHandle s3 = new S3Store(client, "idr", "zarr/v0.5/idr0083").resolve("9822152.zarr");
28+
MultiscaleImage image = MultiscaleImage.open(s3);
29+
```
30+
2131
Important v1.0 behavior:
2232

2333
- `MultiscaleImage.open(...)` throws if the node is a v1.0 collection root (without `ome.multiscale`)

0 commit comments

Comments
 (0)