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
Bugfix for #3696 #5382
Bugfix for #3696 #5382
Conversation
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.
Looking good, there's a few things here to change. I also want to have a think about what's happening in the different cases of points vs bounds.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #5382 +/- ##
==========================================
+ Coverage 89.37% 89.39% +0.01%
==========================================
Files 89 89
Lines 22426 22433 +7
Branches 5379 5381 +2
==========================================
+ Hits 20043 20053 +10
+ Misses 1637 1635 -2
+ Partials 746 745 -1
☔ View full report in Codecov by Sentry. |
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.
Looks good! I think one last thing I forgot to mention was a what's new entry (to go somewhere here, probably in "features"). This can either go in this PR or as part of its own PR (which is sometimes worth doing if there are many simultaneous PRs going in which could cause each other conflicts). Otherwise I'm happy to pull this one in.
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.
Good stuff, I think we can merge this in now.
🚀 Pull Request
Description
Following #3696, which left the user confused about how concatenation interfaced with cube overlap, added a more explicit error message if you try to use concatenate_cube to concatenate two cubes with overlapping coordinates and added warning if you use regular concatenate so the user understands why they remain separate.
New test added for the error message and all tests pass.
Consult Iris pull request check list