Closed dougiesquire closed 8 months ago
Ah, unfortunately auto rechunking does not work with object dtype. This is probably too common for it to make sense to use chunks="auto"
by default. Some options:
chunks="auto"
and revert to chunks={}
if that fails;chunks=-1
, which gives the same behaviour as pre-v2023.09.0 chunks={}
(prior to v2023.09.0, these did the same thing);chunks={}
Thoughts @mgrover1, @dcherian?
Ah, unfortunately auto rechunking does not work with object dtype. This is probably too common for it to make sense to use
chunks="auto"
by default. Some options:
- try to use
chunks="auto"
and revert tochunks={}
if that fails;- use
chunks=-1
, which gives the same behaviour as pre-v2023.09.0chunks={}
(prior to v2023.09.0, these did the same thing);- ditch this and stick with
chunks={}
Thoughts @mgrover1, @dcherian?
I think sticking with chunks={}
by default makes the most sense here still... any thoughts here @dcherian or @andersy005 ?
Ah, unfortunately auto rechunking does not work with object dtype. This is probably too common for it to make sense to use
chunks="auto"
by default. Some options:
- try to use
chunks="auto"
and revert tochunks={}
if that fails;- use
chunks=-1
, which gives the same behaviour as pre-v2023.09.0chunks={}
(prior to v2023.09.0, these did the same thing);- ditch this and stick with
chunks={}
Thoughts @mgrover1, @dcherian?
I think sticking with
chunks={}
by default makes the most sense here still... any thoughts here @dcherian or @andersy005 ?
i vote in favor of sticking with chunks={}
unless implementing the work around above ( * try to use chunks="auto"
and revert to chunks={}
if that fails;) doesn't result in complicated code :(
Thanks @mgrover1 and @andersy005. I agree with you both so I'll close this PR
Change Summary
Very small change to default to
chunks="auto"
rather thanchunks={}
when opening files with xarray. This is motivated by recent changes in xarray to the behaviour ofchunks={}
.Related issue number
Closes #632
Checklist