re-chunk and save it in the original path #1286
Unanswered
Peterpan-Coder
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
-
Hi. I'm learning to use Zarr. I have two questions. I hope I can get an answer here.
The first, When I want to rechunk and save the result in the original path, the data in the file becomes 0 as shown in the following figure.
However, if the file is saved in a new path, the file data can be saved to a block file. Is it because the file is saved in memory and not written to disk?
The sample code is as follows:
Second, based on the above question, I thought of the function: zarr.save(). However, I found that the second zlib.decompress() will report the following error, is rechunk will change the header format?
zlib.error: Error -3 while decompressing data: incorrect header check
The sample code is as follows:
Beta Was this translation helpful? Give feedback.
All reactions