-
Notifications
You must be signed in to change notification settings - Fork 300
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 cf write-read roundtrip #2176
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2176 +/- ##
==========================================
+ Coverage 93.99% 94.04% +0.04%
==========================================
Files 287 290 +3
Lines 44092 44563 +471
==========================================
+ Hits 41446 41911 +465
- Misses 2646 2652 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
The fix looks good to me. Did you mean to commit the viirs compact tests refactor?
Can the new CF test please be added to the reader tests? If I'm working on the reader or writer I'm not going to think to look in this completely separate module for a test. Granted it will fail when all the tests are run either way, but that will happen if it is in the reader tests too.
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- |
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.
Do we maybe want to start not including these in new modules given the conversation in pyresample with @gerritholl?
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.
sure
Yes the viirs compact refractor is to create the fixtures that we then use in the round-trip test. |
@mraspaud what were you thoughts on this comment of mine? Any time to work on it this week? This should then make @BENR0's #1695 clearer. |
Yes, I'm looking at it right now. |
As per the conversation on slack, @djhoese is good with leaving the roundtrip test in its own module. |
For the record I'm not, but I don't want to waste people's time discussing it. In the grand scheme of things it isn't that big of a deal. |
This PR fixes the sensor reading from satpy-written cf files.