.zarr.zip on s3 #1613
Replies: 3 comments 2 replies
-
This is great @jeffpeck10x! Would you be willing to add this to the tutorial? I wonder whether the built-in ZipStore has any use for reading from S3. Or is fsspec's ZipFileSystem always required here? |
Beta Was this translation helpful? Give feedback.
-
An additional option would be to use
With thanks to @caviere (see https://github.com/zarr-developers/outreachy_2022_testing_zipstore/blob/main/real%20%20world%20data/main.py#L54) Regardless, 👍 for your version and/or this one being in the tutorial location that would have helped you find them! Thanks. |
Beta Was this translation helpful? Give feedback.
-
made a small pr to update docs: #1615 |
Beta Was this translation helpful? Give feedback.
-
I searched and could not find an example of accessing a
.zarr.zip
from an s3 endpoint without having to first download it entirely. The providedzarr.storage.ZipStore
only works on a local path (right?).I experimented and found that this works:
I am wondering if this is alright. Is there anything that could be improved with this approach?
My use-case is read-only. I understand that this approach would not be able to handle updates without updating the entire
.zarr.zip
.And more generally, if someone else is searching for a solution like this, I hope this helps!
Beta Was this translation helpful? Give feedback.
All reactions