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

Handle some broken time information in VGAC files #88

Merged

Conversation

ninahakansson
Copy link
Collaborator

@ninahakansson ninahakansson commented Jul 5, 2024

Handle broken time information in VGAC files that are not close to midnight. Some times the time variable (hours since proj_time0) contain unrealistic values ~10**36. This PR makes it possible to ignore if it is not happening directly (with in 100 scanlines) after midnight. Also the time difference between scanlines differ so I am hesitant to use that to more directly calculate the midnight scanline.

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

Copy link

codecov bot commented Jul 5, 2024

Codecov Report

Attention: Patch coverage is 22.22222% with 7 lines in your changes missing coverage. Please review.

Project coverage is 77.51%. Comparing base (9b89b7a) to head (2c796e5).
Report is 8 commits behind head on main.

Files Patch % Lines
level1c4pps/vgac2pps_lib.py 22.22% 4 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #88      +/-   ##
==========================================
+ Coverage   75.75%   77.51%   +1.76%     
==========================================
  Files          23       23              
  Lines        1633     1659      +26     
  Branches      141      163      +22     
==========================================
+ Hits         1237     1286      +49     
+ Misses        360      330      -30     
- Partials       36       43       +7     
Flag Coverage Δ
unittests 77.51% <22.22%> (+1.76%) ⬆️

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 Jul 5, 2024

Pull Request Test Coverage Report for Build 9807448556

Details

  • 5 of 9 (55.56%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 79.407%

Changes Missing Coverage Covered Lines Changed/Added Lines %
level1c4pps/vgac2pps_lib.py 5 9 55.56%
Totals Coverage Status
Change from base Build 9806033515: -0.2%
Covered Lines: 1589
Relevant Lines: 1953

💛 - Coveralls

@ninahakansson ninahakansson merged commit 0cab9b7 into foua-pps:main Aug 14, 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.

2 participants