tsutterley / pyTMD

Python-based tidal prediction software
https://pytmd.readthedocs.io
MIT License
134 stars 40 forks source link

feat: add spherical harmonic functions #362

Closed tsutterley closed 1 week ago

tsutterley commented 1 week ago

refactor: move generic astro functions to math.py feat: add function to calculate altitude, azimuth and D test: add test for unnormalized legendre polynomials test: moved normalize_angle test to test_math.py test: add ECEF to altaz test at USNO

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 85.95041% with 17 lines in your changes missing coverage. Please review.

Project coverage is 70.96%. Comparing base (3d34f83) to head (01a6094). Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
pyTMD/math.py 76.92% 13 Missing and 2 partials :warning:
pyTMD/spatial.py 83.33% 1 Missing :warning:
test/test_math.py 95.23% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #362 +/- ## ========================================== + Coverage 70.90% 70.96% +0.06% ========================================== Files 41 43 +2 Lines 10391 10482 +91 Branches 1130 1137 +7 ========================================== + Hits 7368 7439 +71 - Misses 2562 2580 +18 - Partials 461 463 +2 ``` | [Flag](https://app.codecov.io/gh/tsutterley/pyTMD/pull/362/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tyler+Sutterley) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/tsutterley/pyTMD/pull/362/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tyler+Sutterley) | `70.96% <85.95%> (+0.06%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tyler+Sutterley#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.