I'm trying to set the same chunk size in each dimension when writing a file. In zarr this is easily done by giving an integer value to the chunks parameter. From the docs for zarr.creation.create:
If an int, the chunk size in each dimension will be given by the value of chunks.
If I do this in ome-zarr using the following code, only the chunk size of the last dimension is set:
I'm trying to set the same chunk size in each dimension when writing a file. In
zarr
this is easily done by giving an integer value to thechunks
parameter. From the docs forzarr.creation.create
:If I do this in
ome-zarr
using the following code, only the chunk size of the last dimension is set:The chunks on the resulting dataset are (512, 512, 64). I would expect them to be (64, 64, 64).