Groups like in zarr? #184
-
Hey, Is it possible to create groups like in Zarr to store arrays of different shapes in the same object (and file)? Zarr example: import zarr
g1 = zarr.group()
d1 = g1.create_dataset('foo', shape=(10000, 10000),
chunks=(1000, 1000))
d2 = g1.create_dataset('bar/baz/qux', shape=(100, 100, 100),
chunks=(100, 10, 10)) Is something like this possible in blosc2? Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No, Blosc2 only can store a single dataset (+ metadata) per file, but you can always create your own hierarchy by using the filesystem. For example, we are currently working on Caterva2, an on demand access to local/remote Blosc2 data repositories, that is able to read an on-disk hierarchical structure of datasets. Caterva2 also supports plugins for different formats besides Blosc2 (currently HDF5) and visualizers (see e.g. a 3D tomography here). |
Beta Was this translation helpful? Give feedback.
-
Thank you for the quick reply! In my case, groups as in Zarr would be preferable, but I might check out Caterva2. |
Beta Was this translation helpful? Give feedback.
No, Blosc2 only can store a single dataset (+ metadata) per file, but you can always create your own hierarchy by using the filesystem. For example, we are currently working on Caterva2, an on demand access to local/remote Blosc2 data repositories, that is able to read an on-disk hierarchical structure of datasets. Caterva2 also supports plugins for different formats besides Blosc2 (currently HDF5) and visualizers (see e.g. a 3D tomography here).