-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add decompressed OME-Zarr dataset size to iohub info #248
Conversation
Is this meant to represent the size on disk (compressed) or size in RAM (decompressed)? |
I find it more use when it's decompressed rather than compressed. We can report both if needed. I think zarr.array does |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the uncompressed size is the most valuable.
The reported size is the expected size, not the true size (e.g. it hasn't been filled yet or there was an error). Naming is tricky---maybe "Expected uncompressed size (GB)", "Est. size in RAM (GB)", or "Est. size (GB)"?
ended up adding |
Need to add a test case before merging. |
Due to upstream issue zarr-developers/zarr-python#2174, |
For example this compression ratio is clearly wrong:
|
This addresses issue #247 by adding the store size and array size in GB. This is useful and simple metadata.
I wanted to know how much memory to request for caching datasets.