Repository navigation
Use the shared Earth-rotation rate for surface-site velocity - #67
Merged
Merged
Conversation
Delegate the surface helper to llh_to_gcrf so a fixed WGS84 site uses the same IAU 2006/2000A position and rotation derivative. Replace the physically incorrect fixed-GCRF-Z cross-product assertion with scoped independent Astropy EOP validation using the core route accuracy budget. Verified the corrected reference test (1 passed), unchanged positions and matching geodetic states across 12 site/epoch combinations including extrapolation. Independent Astropy velocity residual at the test epoch is 1.86e-5 m/s; the old formula is wrong by 1.11 m/s. Repository policy, Ruff syntax and whitespace checks pass. Full suites and CI remain merge gates.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Delegate surface-site state conversion to the shared WGS84 / IAU 2006/2000A route, replacing the physically incorrect Earth-spin axis fixed to GCRF +Z. Preserve the public signature and scalar state outputs.
Validation
Independent final review approved. Replace the old fixed-axis assertion with independent Astropy EarthLocation conversion scoped to the packaged EOP table, using the existing core route 2e-4 m/s accuracy budget. At its epoch the Astropy velocity residual is 1.86e-5 m/s; the old formula differs by 1.11 m/s. One-off checks cover 12 site/epoch combinations, including out-of-table extrapolation, with unchanged positions and exact agreement with the geodetic route. Full local numerical suite: 739 passed, 5 optional skips. Full publishing/browser suite with SSATK_BROWSER_TESTS=1: 292 passed. Policy, syntax Ruff and whitespace checks pass.
GitHub CI remains a merge gate. This corrects an existing helper and does not add a user-facing workflow.
Current Merge Gate
Reviewed diff identity preserved against main
1adb2d3c78864327b624c3faffcf823fbf8a648e. Fresh local validation at18a2efbeec030dadee348c9520eea75b70988256:Every exact-head CI check must pass before squash merge.