-
Notifications
You must be signed in to change notification settings - Fork 297
Faster dimension lookup for derived coordinates #6337
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6337 +/- ##
=======================================
Coverage 89.77% 89.78%
=======================================
Files 90 90
Lines 23523 23523
Branches 4390 4390
=======================================
+ Hits 21118 21119 +1
Misses 1662 1662
+ Partials 743 742 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
⏱️ Performance Benchmark Report: 5e00767Performance shifts
Full benchmark results
Generated by GHA run |
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.
LGTM
I see from your comment that this was sort-of in pursuit of something else, but it's an easy win so let's dispose of this one first ! |
* upstream/main: Faster dimension lookup for derived coordinates (SciTools#6337) Unpin dask 2 (SciTools#6342) added classification enums to qp (SciTools#6346) Add castable check for valid_range, valid_min, valid_max. (SciTools#6343) Pin Sphinx below 8.2 (SciTools#6344) Add a text feature to quickplot (SciTools#6333)
🚀 Pull Request
Description
This makes looking up the dimensions of derived coordinates faster by first looking if the metadata of the requested coordinate matches that of an AuxFactory instead of creating the derived coordinate and then comparing the metadata. Creating a derived coordinate is a relatively slow operation.
Consult Iris pull request check list
Add any of the below labels to trigger actions on this PR: