We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b179fb8 commit c1d666cCopy full SHA for c1d666c
README.md
@@ -17,7 +17,8 @@ Group hierarchy = Group.open(
17
new HttpStore("https://static.webknossos.org/data/zarr_v3")
18
.resolve("l4_sample")
19
);
20
-Array array = hierarchy.get("color").get("1");
+Group color = (Group) hierarchy.get("color");
21
+Array array = (Array) color.get("1");
22
ucar.ma2.Array outArray = array.read(
23
new long[]{0, 3073, 3073, 513}, // offset
24
new int[]{1, 64, 64, 64} // shape
@@ -31,11 +32,12 @@ Array array = Array.create(
31
32
.withChunkShape(1, 1024, 1024, 1024)
33
.withFillValue(0)
34
.withCodecs(c -> c.withSharding(new int[]{1, 32, 32, 32}, c1 -> c1.withBlosc()))
- .build();
35
+ .build()
36
37
+ucar.ma2.Array data = ucar.ma2.Array.factory(ucar.ma2.DataType.UINT, new int[]{1, 1024, 1024, 1024});
38
array.write(
39
new long[]{0, 0, 0, 0}, // offset
- ucar.ma2.Array.factory(ucar.ma2.DataType.UINT, new int[]{1, 1024, 1024, 1024})
40
+ data
41
42
```
43
## Development Start-Guide
0 commit comments