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

Update MODIS L1b reader with additional geoinfo datasets #2946

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

simonrp84
Copy link
Member

@simonrp84 simonrp84 commented Oct 22, 2024

The MODIS L1b reader misses a few useful datasets from the MOD03 files. This PR adds the most commonly used of those datasets: land_water_mask, height, range, water_present.

  • Tests passing

Comment on lines 336 to 339
"water_present": "WaterPresent",
"land_sea_mask": "Land/SeaMask",
"height": "Height",
"range": "Range",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm tempted to say these should be assigned via the file_key in the YAML definition, but then again the way you've done this isn't disallowed... 🤷‍♂️

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just copying the format of what was already there, tbh!

Copy link

codecov bot commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.08%. Comparing base (28a793c) to head (1e27883).
Report is 29 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2946   +/-   ##
=======================================
  Coverage   96.08%   96.08%           
=======================================
  Files         377      377           
  Lines       55134    55134           
=======================================
  Hits        52976    52976           
  Misses       2158     2158           
Flag Coverage Δ
behaviourtests 3.94% <ø> (ø)
unittests 96.18% <ø> (ø)

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

Pull Request Test Coverage Report for Build 11681775231

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.192%

Totals Coverage Status
Change from base Build 11678446960: 0.0%
Covered Lines: 53220
Relevant Lines: 55327

💛 - Coveralls

Copy link
Member

@djhoese djhoese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks simple enough to me. 👍

@mraspaud mraspaud merged commit e74e6b0 into pytroll:main Nov 8, 2024
17 of 18 checks passed
@mraspaud mraspaud added enhancement code enhancements, features, improvements component:readers labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:readers enhancement code enhancements, features, improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants