-
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
Fix inconsistent behavior of time attributes in EUM L1 GEO readers #2420
Conversation
… end time to point to the nominal ones
…times. Change former nominale_start_time and end time to deprecation warning
…/end time to nominal ones
…ilename including the RC number
…on start/end times
…ted by the reader
… fucntion in sevir_base
… function in seviri_base
… already in the init to avoid code duplication
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.
Nice Job! I left a few more comments inline.
Please also rename the PR to something that is more describing and release-note-friendly (usually the PR names are directly added to the list of changes in the release notes of a new version). Also add your name to https://github.com/pytroll/satpy/blob/main/AUTHORS.md
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.
spotted a few typos, otherwise looks good to me (taken that the tests pass). thanks @YouvaEUMex for your efforts here!
Something seems to be wrong in the docstring of
|
I do not find a way to reproduce this error can you give some context on when/how it appear ? |
issue found and fixed in f21497f |
Codecov Report
@@ Coverage Diff @@
## main #2420 +/- ##
==========================================
+ Coverage 94.83% 94.84% +0.01%
==========================================
Files 337 337
Lines 49430 49571 +141
==========================================
+ Hits 46875 47016 +141
Misses 2555 2555
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Almost there 🧗 🙂 Can you please update the tests to cover the few missed lines (see coverage comments in the "Files changes" tab) |
LGTM! Thanks for all the hard work! |
NB: in #2588 there is discussion as to whether |
@gerritholl I think there is a misunderstanding. That is not the problem in #2588. |
@gerritholl The reasoning for using the "nominal" times this is based on the information here https://satpy.readthedocs.io/en/latest/readers.html#time-metadata. The main benefits are that we have human-friendly times harmonized across different sensors that tells from which repeat cycle the data come and that we ensure that other Satpy components get a consistent time for calculations (ex. generation of solar zenith angles). We had some discussions (can't remember where) about the scenario where only a set of FCI chunks are loaded, but as a start we decided to stick to the nominal range covering the full repeat cycle. I'm not against modifying the behavior when loading a selected number of chunks, but I would be in favour of keeping the current behavior when loading all chunks. Still I guess there is a risk of mis-understanding if the behavior could be different depending on how many chunks you load. |
This is PR is to provide change needed by #2409
seviri_l1b_native:
seviri_l1b_hrit:
fci_l1c_nc:
AUTHORS.md
if not there already