-
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
Added initial version of an MSG BUFR reader and TOZ product yaml file #769
Conversation
Please note this reader requires the installation of the python-eccodes package |
…- project header added
Codecov Report
@@ Coverage Diff @@
## master #769 +/- ##
==========================================
+ Coverage 86.61% 86.63% +0.02%
==========================================
Files 175 177 +2
Lines 26822 26948 +126
==========================================
+ Hits 23231 23346 +115
- Misses 3591 3602 +11
Continue to review full report at Codecov.
|
@ColinDuff could you add some tests to this ? |
@mraspaud , hi , been busy with a lot of MPEF MSG work but now have the time to look at testing this change - hope to have it completed soon |
Sounds great, no rush :) |
i have added some more seviri L2 Bufr products |
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.
More yaml-file clean-up needed. Wrong reference documents given for seviri_l2_bufr
-reader.
Also, the standard names, now mostly having count
in YAML-files need to be checked against:
http://cfconventions.org/Data/cf-standard-names/68/build/cf-standard-name-table.html
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 putting the effort of reading bufr files, it's no small feat!
Here are my first comments/questions on top of the inline review:
- Do we really need that many readers ? One should suffice...
- You should add the reader(s) to the reader table in doc/index.rst
- Please run pre-commit on the PR and fix the styling issues
based on the review comments , in particular the opening of the file twice i realised the get_attributes function was working as i had hoped. As it was only used to determine the segment size a dictionary can be used instead. |
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.
resolution
for the the products is in my opinion wrong, all of the products are segmented, resolution should reflect the segment size.
…dard names changed.
…into msg_bufr_reader
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.
looks good to me!
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. Great job on adding all these products in one got !
Maybe the next step is a PR on pytroll-examples to show the users how to use this ?
…ror in setup.py, python-eccodes is the correct dependency
…ror in setup.py, python-eccodes is the correct dependency
… no mapping/sampling takes place
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.
seg_area_dict
is not needed in seviri_l2_bufr.py
, please remove. otherwise LGTM.
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
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
I have added a BUFR reader , currently for MSG BUFR products.
No test case for now as its still in the initial stages of development