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

Adapt viirs2pps also to viirs_compact #85

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

ninahakansson
Copy link
Collaborator

@ninahakansson ninahakansson commented Mar 8, 2024

  • Closes #xxxx
  • Tests added
  • Tests passed: Passes pytest level1c4pps
  • Passes flake8
  • Fully documented

Copy link

codecov bot commented Mar 8, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 77.27%. Comparing base (e7e5465) to head (644ba6c).

Files Patch % Lines
level1c4pps/viirs2pps_lib.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
- Coverage   77.37%   77.27%   -0.11%     
==========================================
  Files          21       21              
  Lines        1472     1474       +2     
  Branches      125      126       +1     
==========================================
  Hits         1139     1139              
- Misses        306      308       +2     
  Partials       27       27              
Flag Coverage Δ
unittests 77.27% <50.00%> (-0.11%) ⬇️

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 8204486498

Details

  • 4 of 6 (66.67%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 78.155%

Changes Missing Coverage Covered Lines Changed/Added Lines %
level1c4pps/viirs2pps_lib.py 2 4 50.0%
Totals Coverage Status
Change from base Build 8203135286: -0.2%
Covered Lines: 1401
Relevant Lines: 1743

💛 - Coveralls

@@ -41,6 +41,9 @@
help="Output directory where to store the level1c file")
parser.add_argument('--iband', action='store_true',
help="Iband resolution include I01-I03, M15-M16 and optional M09, M14")
parser.add_argument('--reader', type=str, nargs='?',
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we really handle nargs (multiple readers) and if, how does it work? Try the first one first?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The nargs ='?' means that the argument can be present or not https://docs.python.org/3/library/argparse.html.

Copy link
Contributor

Choose a reason for hiding this comment

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

You are correct. I have misundertsood it.

@ninahakansson ninahakansson merged commit 46a1988 into foua-pps:main Mar 11, 2024
8 of 10 checks passed
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.

3 participants