-
We're dealing with quite a big dataset that doesn't fit into memory. We're receiving it in small pieces, and we aim to incrementally create a Zarr store by writing each part to a specific region. 1- Create an "empty" Dataset with the correct dimensions.
2- Store it in Zarr.
3- Then, for each part, write using the region.
However, we're facing an issue with the very first part. The We're likely missing something. What's the appropriate approach to prepare our Zarr store without materializing the full array ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
See https://docs.xarray.dev/en/stable/user-guide/io.html#modifying-existing-zarr-stores Something like |
Beta Was this translation helpful? Give feedback.
-
Ah, I found out that In summary
|
Beta Was this translation helpful? Give feedback.
Ah, I found out that
dask.array.full
can be used instead ofnp.full
to initialize lazily.And I forgot
compute=False
In summary