Change Compressor default globally #1298
Unanswered
saschahofmann
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking into the following error when opening a zarr file with
xr.open_zarr
:I have created a file on a Linux server and copied it to my local Mac. My code runs just fine on the server but breaks with the above error locally. My current hypothesis is that the zarr file was saved with a blocksize of 16 - I am not 100% what that means - but I am not able to open it like that. In any case, this is for a test so I was wondering whether I could change the default compressor setting of blocksize=0=automatic to 8 so I can use the same test data locally and on the server without changing the code in production.
In other words, I am thinking about running it maybe inside a context like:
or monkeypatch it like this
There is a chance I am completely wrong and the problem is actually somewhere else but this is my best guess.
Beta Was this translation helpful? Give feedback.
All reactions