-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider preferred_method="blockwise"
if by
is sorted
#359
Comments
With size-1 chunks, e.g. Note that using |
dcherian
added a commit
that referenced
this issue
Aug 2, 2024
Done when 1. `method` is None 2. Grouping and reducing by a 1D array We gate this on fractional change in number of chunks and change in size of largest chunk. Closes #359
2 tasks
dcherian
added a commit
that referenced
this issue
Aug 2, 2024
Done when 1. `method` is None 2. Grouping and reducing by a 1D array We gate this on fractional change in number of chunks and change in size of largest chunk. Closes #359
dcherian
added a commit
that referenced
this issue
Aug 2, 2024
Done when 1. `method` is None 2. Grouping and reducing by a 1D array We gate this on fractional change in number of chunks and change in size of largest chunk. Closes #359
dcherian
added a commit
that referenced
this issue
Aug 2, 2024
Done when 1. `method` is None 2. Grouping and reducing by a 1D array We gate this on fractional change in number of chunks and change in size of largest chunk. Closes #359
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm thinking of
groupby("time.year")
, which looks like a resample, and also resampling type aggregations,In general, if
by
is sorted, thenblockwise
is potentially the best option.We could gate this on
by
I still prefer the idea of using
preferred_chunks
on xarray's new Grouper objects to rechunk it intentionally but a heuristic might be effective in the intermediate.method="blockwise"
automatically rechunks, so this would be step towards the above.The text was updated successfully, but these errors were encountered: