-
Hi, one can set the mode of a zarr array to be read or write (amongst other modes). What are the different effects of such modes? Best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Karol-G, I migrated the issue to discussions to match your intent. Hope that's ok.
This works quite similarly to the modes to
If it's a Zarr array, then yes, the whole array should never be in memory. If you materialize the array, for example by trying to fill a numpy array, then you could (or will!) run out of memory.
Yes. When you write into the array, each chunk is written to disk as soon as it is full. Again, it's probably more a question of why type (zarr or not zarr) and how large the input array is. |
Beta Was this translation helpful? Give feedback.
Hi @Karol-G, I migrated the issue to discussions to match your intent. Hope that's ok.
This works quite similarly to the modes to
open()
. If a Zarr is opened for a read, then it shouldn't overwrite chunks.If it's a Zarr array, then yes, the whole array should never be in memory. If you materialize the array, for example by trying to fill a numpy array, then you could (or will!) run out of memory.
Yes. When you write into the array, each chu…