-
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
Feature: add support for HRFI imagery in the FCI L1c reader #2287
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.
Thanks for the good work. I left some inline comments.
I think we also need another area in areas.yaml, mtg_fci_fdss_500m
. Or is this part of another PR?
Codecov Report
@@ Coverage Diff @@
## main #2287 +/- ##
=======================================
Coverage 94.35% 94.35%
=======================================
Files 310 310
Lines 46554 46575 +21
=======================================
+ Hits 43926 43947 +21
Misses 2628 2628
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. |
…ter during get_dataset uses the caching trick as discussed in pytroll#2237 (comment)
… and data type input, remove inheritance from main test to avoid test repetition, fix some dummy data input to make tests clearer
…her areas extents using latest grid definition
@gerritholl thanks for your review, I also added the new AreaDefinition for the 500m grid to the areas.yaml already in this PR now |
In the process of handling the different grid types coming from the FCI L1c reader depending on the file type, I also now optimised/refactored a bit the handling of the missing segments computation in the |
From my side this is ready for a second round of reviews :) One test run is failing due to the |
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.
Just few comments/suggestions, otherwise LGTM.
Conflicts: satpy/readers/fci_l1c_nc.py satpy/tests/reader_tests/test_fci_l1c_nc.py
… a small explanation in the get_segment_position_info docstring
This PR adds support for high-resolution full-disc HRFI imagery in the FCI L1c reader.
It was decided to keep the same channel names as in the FDHSI case, ignoring the added
_hr
inside the HRFI file channel names. This has the advantage that HRFI and FDHSI files can be used interchangeably: when HRFI data is provided together with FDHSI files, Satpy will automatically select the finest resolution version of a channel (similarly e.g. to the MODIS L1b reader). If needed, a user can manually define the wished resolution by defining the resolution kwarg in the dataset load call (e.g.scn.load(['vis_06'], resolution=1000)
)The PR also refactors the FCI L1c and GEOSegmentVariableYAMLReader tests, to improve the usage of fixtures, to have clearer class names and to be able to use parametrised tests for double FDHSI and HRFI checks.
AUTHORS.md
if not there already