dask.array.to_zarr()
does not parse for chunks
kwarg
#10522
Labels
needs attention
It's been a while since this was pushed on. Needs attention from the owner or a maintainer.
needs triage
Needs a response from a contributor
I was trying to specify chunk size for the output zarr when writing from a dask array:
cc_img
's chunks were(1,1,3,256,256)
I started getting a hard error, that
zarr.create
gets multiple instances ofchunks
keyword.This is easily fixeable by changing expression
chunks = [c[0] for c in arr.chunks]
tochunks = [c[0] for c in arr.chunks] if 'chunks' not in kwargs.keys() else kwargs.pop('chunks')
on line 3714.Overall,
da.to_zarr()
needs a way to resolve this, as right now it implies the chunks' shape from an input arrayThe text was updated successfully, but these errors were encountered: