Skip to content

Use cube chunks for weights in aggregations with smart weights #6288

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

Merged

Conversation

schlunma
Copy link
Contributor

🚀 Pull Request

Description

Use cube chunks for smart weights when broadcasting is necessary.

Closes #6285.


Consult Iris pull request check list


Add any of the below labels to trigger actions on this PR:

  • benchmark_this Request that this pull request be benchmarked to check if it introduces performance shifts

@schlunma schlunma removed their assignment Jan 16, 2025
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.85%. Comparing base (331f012) to head (f930e05).
Report is 10 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6288   +/-   ##
=======================================
  Coverage   89.85%   89.85%           
=======================================
  Files          88       88           
  Lines       23384    23387    +3     
  Branches     4356     4357    +1     
=======================================
+ Hits        21012    21015    +3     
  Misses       1646     1646           
  Partials      726      726           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@stephenworsley stephenworsley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@stephenworsley stephenworsley merged commit 9cf8b3a into SciTools:main Jan 30, 2025
21 checks passed
ukmo-ccbunney added a commit to ukmo-ccbunney/iris that referenced this pull request Feb 25, 2025
* upstream/main: (98 commits)
  [pre-commit.ci] pre-commit autoupdate (SciTools#6335)
  SPEC 0: drop py310 and support py313 (SciTools#6195)
  Better benchmarking Python version handling (SciTools#6329)
  Move loading and combine code into their own submodules. (SciTools#6321)
  Bump scitools/workflows from 2025.02.1 to 2025.02.2 (SciTools#6327)
  replaced reference from build to python build (SciTools#6324)
  [pre-commit.ci] pre-commit autoupdate (SciTools#6315)
  Cache Dask arrays created from `NetCDFDataProxy`s to speed up loading files with multiple variables (SciTools#6252)
  Bump scitools/workflows from 2025.02.0 to 2025.02.1 (SciTools#6313)
  [pre-commit.ci] pre-commit autoupdate (SciTools#6310)
  Bump scitools/workflows from 2025.01.5 to 2025.02.0 (SciTools#6306)
  Updated environment lockfiles (SciTools#6301)
  Improve speed of loading small NetCDF files (SciTools#6229)
  [pre-commit.ci] pre-commit autoupdate (SciTools#6298)
  Use cube chunks for weights in aggregations with smart weights (SciTools#6288)
  Updated environment lockfiles (SciTools#6296)
  Bump scitools/workflows from 2025.01.4 to 2025.01.5 (SciTools#6300)
  Bump scitools/workflows from 2025.01.3 to 2025.01.4 (SciTools#6295)
  Lazy rectilinear interpolator  (SciTools#6084)
  Revert "Fix broken link. (SciTools#6246)" (SciTools#6297)
  ...
@scitools-ci scitools-ci bot removed this from 🚴 Peloton Feb 28, 2025
HGWright pushed a commit to HGWright/iris that referenced this pull request Feb 28, 2025
…ols#6288)

* Use cube chunks for smart weights

* Fix docstring for area_weights

* Remove unused code

* Added whatsnew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use cube chunks for weights in aggregations with smart weights
2 participants