-
Notifications
You must be signed in to change notification settings - Fork 303
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 of link_coords #1588
Bugfix of link_coords #1588
Conversation
- rename dataset to data - drop linked coordinates's dimension which is not existed in dataarray
👉 View analysis in DeepCode’s Dashboard | Configure the bot |
Codecov Report
@@ Coverage Diff @@
## master #1588 +/- ##
==========================================
+ Coverage 91.62% 92.36% +0.73%
==========================================
Files 246 254 +8
Lines 36034 37413 +1379
==========================================
+ Hits 33016 34555 +1539
+ Misses 3018 2858 -160
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Thanks for taking on this issue. It took me a while to understand what was the aim of this PR, I think a simple unit test to accompany this would have made it easier :)
And in any case, for small changes like this, I really recommend writing a failing unit test FIRST, and fix and refactor afterwards.
So, long story short: there is still a unit test to write :)
Looks good! now just the test :) |
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! Thanks for fixing this!
Co-authored-by: Martin Raspaud <martin.raspaud@smhi.se>
Rename dataset to data
Drop linked coordinates's dimension which does not exist in dataarray
Closes Failed to save tropomi nc file with specific variables loaded #1493
Tests added