-
Notifications
You must be signed in to change notification settings - Fork 68
doymax/min compatible with dask #2231
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
Conversation
for more information, see https://pre-commit.ci
…im into fix-argmin-func
for more information, see https://pre-commit.ci
…im into fix-argmin-func
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doymax
and doymin
do not support all-nan slices currently, because xarray does not support those on argmin
/argmax
, thus it is impossible I think for i
to contain NaNs, and thus the astype
should be safe.
Autrement dit : a problem for the future.
Pull Request Checklist:
indices.generic.doymax
crashes when given adask
array #2107number
) and pull request (:pull:number
) has been addedWhat kind of change does this PR introduce?
apply_ufunc
when input DataArray is a daskarrayDoes this PR introduce a breaking change?
No
Other information:
The main dimension ('time') must still be unchunked.