Skip to content

Conversation

ameraner
Copy link
Member

This PR fixes two aspects in the parallax correction code

@ameraner
Copy link
Member Author

cc @jequierz

Copy link

codecov bot commented Aug 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.32%. Comparing base (44c867e) to head (abccb51).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3217   +/-   ##
=======================================
  Coverage   96.32%   96.32%           
=======================================
  Files         463      463           
  Lines       58151    58151           
=======================================
  Hits        56015    56015           
  Misses       2136     2136           
Flag Coverage Δ
behaviourtests 3.64% <0.00%> (ø)
unittests 96.41% <100.00%> (ø)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 17242360245

Details

  • 7 of 7 (100.0%) changed or added relevant lines in 3 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.002%) to 96.426%

Files with Coverage Reduction New Missed Lines %
satpy/resample/init.py 1 90.0%
Totals Coverage Status
Change from base Build 17225948051: -0.002%
Covered Lines: 56340
Relevant Lines: 58428

💛 - Coveralls

@jequierz
Copy link

Great work! Thank you Andrea :)

Copy link
Member

@gerritholl gerritholl left a comment

Choose a reason for hiding this comment

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

Thanks!


val = get_surface_parallax_displacement(
0, 0, 36_000_000, 0, 10, 10_000)
np.testing.assert_allclose(val, 2141.2404451757875)
Copy link
Member

Choose a reason for hiding this comment

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

Nice, this tells us how far we were off :) 👍

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

Successfully merging this pull request may close these issues.

Wrong satellite altitude units in parallax correction computation and get_satpos docstring
4 participants