Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZipStore as an output option #164

Open
prete opened this issue Sep 5, 2022 · 1 comment
Open

ZipStore as an output option #164

prete opened this issue Sep 5, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@prete
Copy link

prete commented Sep 5, 2022

Type or frequest

Feature request

Request

Is it possible to add a flag like --zip-store-output to have the output be a zip file (ZipStore) instead of a folder?

Rationale

Having thousands of tiny files can make HPC storages suffer. Bundling the output structure into a ZipStore could prevent that.

Having a single zip file would reduce the file count and could also improve copying/moving times between filesystems. I've cheked and it seems that jzarr supports ZipStore.

A current workaround is to zip -0 -r some.zarr.zip some.zarr/ but that happens post-facto, so it doesn't prevent the large file count and also duplicates the size on disk required.

@joshmoore
Copy link
Contributor

Similar to ome/ngff#135, the NGFF spec is currently overly opinionated about which Zarr store gets used. Two possible options if the bf2raw2ometiff stack wants to move forward here is either to have the flag like --zip-store-output produce a non-NGFF intermediary or to work on removing the restrictions in v0.5. Knowing @prete that you want to then pipe the output here to other NGFF-compatible tools, I'd suggest the latter.

@melissalinkert melissalinkert added the enhancement New feature or request label Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Inbox
Development

No branches or pull requests

3 participants