Skip to content

Commit 755bb96

Browse files
authored
docs: Clarify how to manually convert a DirectoryStore to a ZipStore (#763)
Fixes #756
1 parent a0e8404 commit 755bb96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

zarr/storage.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,6 +1442,10 @@ class also supports the context manager protocol, which ensures the ``close()``
14421442
14431443
Alternatively, use a :class:`DirectoryStore` when writing the data, then
14441444
manually Zip the directory and use the Zip file for subsequent reads.
1445+
Take note that the files in the Zip file must be relative to the root of the
1446+
Zarr archive. You may find it easier to create such a Zip file with ``7z``, e.g.::
1447+
1448+
7z a -tzip archive.zarr.zip archive.zarr/.
14451449
14461450
Safe to write in multiple threads but not in multiple processes.
14471451

0 commit comments

Comments
 (0)