-
Notifications
You must be signed in to change notification settings - Fork 297
Make array equal work with masked Dask arrays and add tests #6325
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 #6325 +/- ##
=======================================
Coverage 89.79% 89.80%
=======================================
Files 90 90
Lines 23554 23576 +22
Branches 4391 4398 +7
=======================================
+ Hits 21150 21172 +22
Misses 1662 1662
Partials 742 742 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
⏱️ Performance Benchmark Report: 7408a83Performance shifts
Full benchmark results
Generated by GHA run |
⏱️ Performance Benchmark Report: f30aca9Performance shifts
Full benchmark results
Generated by GHA run |
I suspect the benchmark results are worse because the masks of Dask arrays are now compared and previously were not compared. |
⏱️ Performance Benchmark Report: b341799Performance shifts
Full benchmark results
Generated by GHA run |
Hmm looks like something subtle has gone wrong here. Assuming we can fix, I am still minded to get this into Iris 3.12, Performance-wise, this looks great, but there is a problem .. See #6349 for my crude assessment of the "combination" with #6339. |
⏱️ Performance Benchmark Report: 09805c5Performance shifts
Full benchmark results
Generated by GHA run |
⏱️ Performance Benchmark Report: 52b3f8cPerformance shifts
Full benchmark results
Generated by GHA run |
@pp-mo Thanks for the extensive analysis. I think that with the latest commits, the implementation here is now both correct and slightly faster than the original. See the latest benchmark run here #6349 (comment). I've also done a test comparing two ~50GB arrays on my laptop and that works fine too. |
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.
One tiny tweak to make, otherwise all good now I think
Thanks for your diligence on this @bouweandela Annoying I just found a small thing to change, |
Also consider non-floating point arrays equal with withnans=False
⏱️ Performance Benchmark Report: 1cacdd6Performance 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.
Now all OK
Thanks again for all your patience @bouweandela !
🚀 Pull Request
Description
Make array equal work with masked Dask arrays and add tests.
Closes #6188
Consult Iris pull request check list
Add any of the below labels to trigger actions on this PR: