[go: up one dir, main page]

Skip to content
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

Use map_overlap for rolling reductions with Dask #9770

Merged
merged 4 commits into from
Nov 13, 2024

Conversation

phofl
Copy link
Contributor
@phofl phofl commented Nov 12, 2024
  • Closes #xxxx
  • Tests added
  • User visible changes (including notable bug fixes) are documented in whats-new.rst
  • New functions/methods are listed in api.rst

This enables Dasks map_overlap for rolling reductions, the previous issues with memory consumption are now handled in map_overlap as far as I can tell

@phofl phofl marked this pull request as draft November 12, 2024 14:48
@phofl
Copy link
Contributor Author
phofl commented Nov 12, 2024

Looks like CI is green, anything I should check here?

cc @dcherian FYI

@phofl phofl marked this pull request as ready for review November 12, 2024 15:11
@dcherian
Copy link
Contributor
dcherian commented Nov 12, 2024

I guess this means I can simplify #9720 since we don't need it for the built-in reductions?

@phofl
Copy link
Contributor Author
phofl commented Nov 12, 2024

I guess this means I can simplify #9720 since we don't need it for the built-in reductions?

unfortunately no, more than one windowing dim takes the construct path :(

@phofl
Copy link
Contributor Author
phofl commented Nov 12, 2024

The doc build thing is unrelated

@max-sixty
Copy link
Collaborator

Looks good!

@max-sixty max-sixty added the plan to merge Final call for comments label Nov 12, 2024
@dcherian dcherian changed the title Use map_overlap for rolling reducers with Dask Use map_overlap for rolling reductions with Dask Nov 13, 2024
@phofl
Copy link
Contributor Author
phofl commented Nov 13, 2024

Failures seem unrelated

@dcherian dcherian merged commit b16a104 into pydata:main Nov 13, 2024
26 of 29 checks passed
@phofl phofl deleted the dask-rolling-reducers branch November 13, 2024 16:19
dcherian added a commit to dcherian/xarray that referenced this pull request Nov 16, 2024
* main:
  fix cf decoding of grid_mapping (pydata#9765)
  Allow wrapping `np.ndarray` subclasses (pydata#9760)
  Optimize polyfit (pydata#9766)
  Use `map_overlap` for rolling reductions with Dask (pydata#9770)
  fix html repr indexes section (pydata#9768)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plan to merge Final call for comments topic-dask
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants