-
Notifications
You must be signed in to change notification settings - Fork 22
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
Saving to compressed zarr yields lower or negative compression #119
Comments
Hi @mattphysics, Check out xbitinfo/tests/test_save_compressed.py Lines 59 to 71 in 4d5563e
Here we explicitly set the compression to None for the to_zarr method.
We should adapt this in the notebook as well. |
xbitinfo version:
xbitinfo 0.0.2 pypi_0 pypi
Python version:
python 3.10.5 hdaaf3db_0_cpython conda-forge
Operating System:
macOS Big Sur
Description
I ran the tutorial notebook for saving to .nc and .zarr (https://xbitinfo.readthedocs.io/en/latest/quick-start.html). I expected progressively smaller file sizes, with "original" > "compressed" > "bitrounded". For .nc, this is what happened, while for .zarr
I have uploaded the notebook with results at https://github.com/mattphysics/xbitinfo/blob/main/tests/nb_xbitinfo_export.ipynb
The text was updated successfully, but these errors were encountered: