Skip to content
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

Initial implementation of EUMETSAT IASI-NG reader #2879

Open
wants to merge 47 commits into
base: main
Choose a base branch
from

Conversation

roche-emmanuel
Copy link
Contributor

@roche-emmanuel roche-emmanuel commented Aug 9, 2024

This PR introduces the initial implementation of the IASI-NG reader for Satpy.

The changes provided here are self-contained in three files:

  • satpy/readers/iasi_ng_l2_nc.py: The implementation file for the reader.
  • satpy/etc/readers/iasi_ng_l2_nc.yaml: The YAML configuration file for the reader.
  • satpy/tests/reader_tests/test_iasi_ng_l2_nc.py: The unit tests for the reader.

There are still a few points I need to address (this list may be extended progressively):

  • Check support for products with two-letter names (O3_ and CO_), as I don't think they will pass the current file pattern.
  • Confirm with the EUMETSAT team whether the processing logic needs to be adjusted (awaiting clarification on some points concerning the product file specs).
  • Extend the unit tests to perform more comprehensive checks on different products (currently only testing with TWV).
  • Clean the code and remove debug outputs (e.g., print(...) statements).
  • Clarify what needs to be done/added concerning the documentation of this reader.
  • Add my name to the AUTHORS.md file.

The idea here is to start this PR early in the development phase to get early feedback and review notes from you, ensuring we are on the right track for eventual PR acceptance.

If you have any feedback on this PR already, please let me know 😊! In the meantime, I will continue working on the points mentioned above and will provide additional details on the changes as they are made on the feature branch.

Thanks for your help 🙏!

@roche-emmanuel
Copy link
Contributor Author

Alright, so I see from the workflows above that there are some failures due to the formatting of the file, I should maybe start with this before moving forward with the remaining code changes 😉.

Copy link

codecov bot commented Aug 30, 2024

Codecov Report

Attention: Patch coverage is 98.36735% with 8 lines in your changes missing coverage. Please review.

Project coverage is 96.11%. Comparing base (a4b8c8d) to head (1a7b8f6).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
satpy/readers/iasi_ng_l2_nc.py 96.35% 7 Missing ⚠️
satpy/tests/reader_tests/test_iasi_ng_l2_nc.py 99.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2879      +/-   ##
==========================================
+ Coverage   96.09%   96.11%   +0.02%     
==========================================
  Files         377      379       +2     
  Lines       55074    55564     +490     
==========================================
+ Hits        52924    53406     +482     
- Misses       2150     2158       +8     
Flag Coverage Δ
behaviourtests 3.91% <0.00%> (-0.04%) ⬇️
unittests 96.21% <98.36%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@coveralls
Copy link

coveralls commented Aug 30, 2024

Pull Request Test Coverage Report for Build 11507327103

Details

  • 484 of 492 (98.37%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 96.221%

Changes Missing Coverage Covered Lines Changed/Added Lines %
satpy/tests/reader_tests/test_iasi_ng_l2_nc.py 298 299 99.67%
satpy/readers/iasi_ng_l2_nc.py 186 193 96.37%
Totals Coverage Status
Change from base Build 11485792071: 0.02%
Covered Lines: 53652
Relevant Lines: 55759

💛 - Coveralls

@roche-emmanuel roche-emmanuel marked this pull request as ready for review October 9, 2024 06:25
@roche-emmanuel
Copy link
Contributor Author

Hi everyone,

We now think that this MR is ready for a review by the Satpy team, so please let me know if you have any feedback on it. Thanks 😉!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants