Skip to content

Add cached Sun/Moon calculations in Observer class#578

Open
jak574 wants to merge 1 commit into
astropy:mainfrom
jak574:improve_caching
Open

Add cached Sun/Moon calculations in Observer class#578
jak574 wants to merge 1 commit into
astropy:mainfrom
jak574:improve_caching

Add caching get_body class to Observer. Use it.

dc226b9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 31, 2026 in 0s

72.88% (-0.02%) compared to b20a095, passed because coverage increased by 0.15% when compared to adjusted base (72.73%)

View this Pull Request on Codecov

72.88% (-0.02%) compared to b20a095, passed because coverage increased by 0.15% when compared to adjusted base (72.73%)

Details

Codecov Report

❌ Patch coverage is 80.55556% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.88%. Comparing base (b20a095) to head (dc226b9).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
astroplan/observer.py 77.41% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #578      +/-   ##
==========================================
- Coverage   72.90%   72.88%   -0.02%     
==========================================
  Files          14       14              
  Lines        1849     1859      +10     
==========================================
+ Hits         1348     1355       +7     
- Misses        501      504       +3     

☔ 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.