Skip to content

Add NOVAS_TIRS and NOVAS_ITRS to enum novas_reference_system#185

Merged
attipaci merged 4 commits into
mainfrom
tirs_itrs
May 14, 2025
Merged

Add NOVAS_TIRS and NOVAS_ITRS to enum novas_reference_system#185
attipaci merged 4 commits into
mainfrom
tirs_itrs

Conversation

@attipaci

@attipaci attipaci commented May 11, 2025

Copy link
Copy Markdown
Collaborator

Extend the enum to include reference systems that rotate with Earth, that is the Terrestrial Intermediate Reference System (TIRS; a pseudo Earth-fixed with no polar wobble corrections), and the International Terrestrial Reference System (ITRS; Earth-fixed). Both are IAU 2006 standard reference systems.

Update all SuperNOVAS functions, which take reference systems as arguments to process the new additions. All frame-based calculations can process the added systems.

Note, however, that in case of the legacy place(), and its variants, ITRS cannot be processed due to the lack of polar wobble parameters among the arguments passed, so these functions will return an error code if called with NOVAS_ITRS as the system. And orbitals must be defined in inertial systems, thus for these TIRS or ITRS will be rejected also.

@attipaci attipaci added this to the 1.4.0 milestone May 11, 2025
@attipaci attipaci self-assigned this May 11, 2025
@attipaci attipaci added the enhancement New feature or request label May 11, 2025
@codecov

codecov Bot commented May 11, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.91%. Comparing base (638b8f4) to head (ff56f62).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #185   +/-   ##
=======================================
  Coverage   99.91%   99.91%           
=======================================
  Files          23       23           
  Lines        4519     4588   +69     
  Branches      840      851   +11     
=======================================
+ Hits         4515     4584   +69     
  Partials        4        4           
Flag Coverage Δ
unittests 99.91% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/coords.c 100.00% <100.00%> (ø)
src/earth.c 100.00% <100.00%> (ø)
src/frames.c 99.73% <100.00%> (+0.02%) ⬆️
src/orbital.c 100.00% <100.00%> (ø)
src/place.c 100.00% <100.00%> (ø)
src/system.c 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6590518...ff56f62. Read the comment docs.

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

@attipaci attipaci force-pushed the tirs_itrs branch 3 times, most recently from 68f1d21 to deeaa8d Compare May 11, 2025 21:56
@attipaci attipaci marked this pull request as ready for review May 11, 2025 22:01
@attipaci attipaci force-pushed the tirs_itrs branch 4 times, most recently from 49457e5 to 69ff1bd Compare May 12, 2025 08:14
Comment thread src/orbital.c Fixed
@attipaci attipaci force-pushed the tirs_itrs branch 4 times, most recently from 99725d3 to 10dee7e Compare May 12, 2025 08:43
@attipaci attipaci linked an issue May 12, 2025 that may be closed by this pull request
@attipaci attipaci force-pushed the tirs_itrs branch 5 times, most recently from 15b3601 to 80459a1 Compare May 13, 2025 18:26
@attipaci attipaci added the bug Something isn't working label May 13, 2025
@attipaci attipaci force-pushed the tirs_itrs branch 5 times, most recently from 1123fd0 to 911149f Compare May 14, 2025 07:10
@attipaci attipaci linked an issue May 14, 2025 that may be closed by this pull request
@attipaci attipaci force-pushed the tirs_itrs branch 3 times, most recently from 7e30a9c to a29938f Compare May 14, 2025 07:48
@attipaci attipaci merged commit a1e013b into main May 14, 2025
@attipaci attipaci deleted the tirs_itrs branch May 14, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tiny wobble() error in TIRS / PEF -> ITRS conversion cel2ter() / ter2cel() wobble corrections for xp=yp=0

2 participants