keller-mark / pizzarr

Slice into Zarr arrays in R 🍕
https://keller-mark.github.io/pizzarr/
MIT License
27 stars 3 forks source link

Zip store #78

Open dblodgett-usgs opened 4 months ago

dblodgett-usgs commented 4 months ago

User story As a developer or user of relatively small zarr stores, I'd rather work with zip stores than directory stores.

Preferred solution pizzarr can work with zip stores as written by https://zarr.readthedocs.io/en/stable/api/storage.html#zarr.storage.ZipStore

Possible alternatives ??

keller-mark commented 4 months ago

The Zarrita.js ZipStore implementation could be helpful to reference https://github.com/manzt/zarrita.js/blob/main/packages/storage/src/zip.ts - R's built-in unzip(list = TRUE) might provide equivalent functionality to what the unzipit JS package is doing there https://stat.ethz.ch/R-manual/R-patched/library/utils/html/unzip.html