-
Notifications
You must be signed in to change notification settings - Fork 39
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
Fix da.broadcast_to
call when the fx cube has different shape than target data cube
#1350
Conversation
I'm willing to accept this as a hot-fix as-is. But would you consider adding the test? If not, let's open an issue about that. |
Codecov Report
@@ Coverage Diff @@
## main #1350 +/- ##
==========================================
+ Coverage 88.24% 88.26% +0.02%
==========================================
Files 194 194
Lines 9831 9831
==========================================
+ Hits 8675 8677 +2
+ Misses 1156 1154 -2
Continue to review full report at Codecov.
|
@zklaus sorry, was working on the test, now included too, it's a cold-fix now 😁 |
Sorry about the slip-up. I think I spotted more buggy things in #1269 , can they be fixed here as well? |
If it's small, yes, if it's not so small, perhaps we merge this first and take it separately. What did you discover? |
be my guest @sloosvel - cheers! Make sure you pull the latest, I just added a bunch o'changes to the integration test mask 👍 Let's agree we want this in 2.4 so let's hustle up on it, and get it ready before the day of release 🍺 |
And I only added tests for |
Since this is already done and the checks are passed, I'd rather merge it as is. The changes you mention in total seem a bit more substantial. Please open a new PR. |
@valeriupredoi, could you please take care of the checklist while I do the review? |
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.
Minimal change requested, also ok as-is.
OK @zklaus cheers for taking a look/reviewing - I agree we can merge and then Saskia can do the other changes in a subsequent PR (bit too much for this PR methinks too). Cheers both for looking into it! 🍺 |
Description
We spotted a bug in the landsea masking related to the broadcasting of the fx data array onto the cube to be masked data array.
Closes #1349
Before you get started
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.
To help with the number pull requests: