You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library provides best effort compatibility with existing [Zarr v2](https://zarr.readthedocs.io/en/stable/spec/v2.html) data stored in filesystem containers. So far, I have tested
5
-
6
-
* self-consistency, i.e. data writing and reading in this implementation works,
7
-
* reading of some example zarr containers written with Python (check the [examples](https://github.com/saalfeldlab/n5-zarr/blob/master/src/test/python/zarr-test.py))
4
+
This library provides best effort compatibility with existing [Zarr v2](https://zarr-specs.readthedocs.io/en/latest/v2/v2.0.html) and
This implementation currently supports the following Zarr features
31
52
32
53
<dl>
33
54
<dt>Groups</dt>
34
-
<dd>as described by the <ahref="https://zarr.readthedocs.io/en/stable/spec/v2.html#hierarchies">Zarr v2 spec for hierarchies</a>.</dd>
55
+
<dd>as described by the <ahref="https://zarr-specs.readthedocs.io/en/latest/v2/v2.0.html#hierarchies">Zarr v2 spec for hierarchies</a>.</dd>
35
56
<dt>N-dimensional arrays in C and F order</dt>
36
57
<dd>for efficiency, both array types are opened without changing the order of elements in memory, only the chunk order and shape are adjusted such that chunks form the correct transposed tensor. When used via <ahref="https://github.com/saalfeldlab/n5-imglib2/">n5-imglib2</a>, a <ahref="https://javadoc.scijava.org/ImgLib2/net/imglib2/view/Views.html#permute-net.imglib2.RandomAccessibleInterval-int-int-">view with permuted axes</a> can be easily created.</dd>
37
58
<dt>Arbitrary meta-data</dt>
@@ -46,6 +67,7 @@ This implementation currently supports the following Zarr features
46
67
47
68
[Filters](https://zarr.readthedocs.io/en/stable/spec/v2.html#filters) are not currently supported because I feel ambiguous about them. Please let me know of use cases that I am missing, it is not hard to add data filters of any kind. I just cannot come up with a single thing that I would like to do here right now.
48
69
49
-
## N5 gimmicks
70
+
71
+
#### N5 gimmicks
50
72
51
73
Optionally, N5 dataset attributes ("dimensions", "blockSize", "compression", "dataType") can be virtually mapped such that N5-API based code that reads or writes them directly via general attribute access will see and modify the corresponding zarray (dataset) attributes. Keep in mind that this will lead to name clashes if a Zarr dataset uses any of these attributes for other purposes, try switching the mapping off first if that is an issue.
0 commit comments