Writing to Zarr from Dask #47
-
Hello fellow Zarr enthusiasts! I'm currently trying to write a It seems that when I try to write to Zarr with this command:
I get the errors below:
So I'm guessing that what's happening is my processes are ending because of the Zarr exception where it can't write to disk. It seems like the first chunk is written to disk properly but then when the next chunk is getting written it states that there's already an array! I know there's the So any advice for writing to Zarr from Dask? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
It turns out that this does indeed work if only I had actually written my code properly! I wrote here that I was using it correctly, as in: to_zarr(array, "path/to/data.zarr") But in reality, my script had things written like this: to_zarr("path/to/data.zarr", array) But these other issues are really interesting. I don't know if I can help solve them, but maybe I can try! |
Beta Was this translation helpful? Give feedback.
Perhaps related to this issue?It turns out that this does indeed work if only I had actually written my code properly! I wrote here that I was using it correctly, as in:
to_zarr(array, "path/to/data.zarr")
But in reality, my script had things written like this:
to_zarr("path/to/data.zarr", array)
But these other issues are really interesting. I don't know if I can help solve them, but maybe I can try!