-
Notifications
You must be signed in to change notification settings - Fork 301
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
Add a reader for NOAA GOES-R ABI L2+ products (abi_l2_nc) #767
Conversation
Codecov Report
@@ Coverage Diff @@
## master #767 +/- ##
==========================================
+ Coverage 83.98% 84.07% +0.09%
==========================================
Files 167 170 +3
Lines 24587 24673 +86
==========================================
+ Hits 20649 20744 +95
+ Misses 3938 3929 -9
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 you for the the very nice PR!
A few comments
- The reader you provide it very similar to the abi_l1b reader, I suggest they get factorized
- You need to add the tests to the suite in satpy/tests/reader_tests/init.py
- Don't forget to add you name to the AUTHORS.md!
Also you should add this reader to the list of readers in the documentation (doc/src/index.rst) |
Conflicts: AUTHORS.md satpy/tests/reader_tests/__init__.py
Looks like you'll need to update the mocking in the scmi writer tests to point to the new abi module. |
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.
A couple small things I'd still like changed. It looks like some changes from master
got lost in your most recent merge.
@@ -158,47 +92,6 @@ def get_dataset(self, key, info): | |||
|
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.
Github won't let me comment any higher, but just below line 80 there should be a line remove _Unsigned
which was done in #838.
variable.attrs.pop('_FillValue', None) | ||
variable.attrs.pop('scale_factor', None) | ||
variable.attrs.pop('add_offset', None) | ||
variable.attrs.pop('valid_range', None) |
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.
You probably want to pop _Unsigned
here too.
It looks like your tests are failing because you were depending on |
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.
Sorry I keep coming up with things for this, but I found one more thing with the lon/lat units (see comment below).
Other than that, I was going to ask again where the dataset names come from but I see they are the names in the files. I officially would like to say they are ugly, but I like the consistency of matching the file variables more so I guess leave them as-is.
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.
For the record, I approve this PR but have moved the resolved conflicts to another PR #904
These products have been documented in GOES-R PUG file : https://www.goes-r.gov/products/docs/PUG-L2+-vol5.pdf.
git diff origin/master -- "*py" | flake8 --diff