Skip to content

Fix computation of delm in FindPositionSgp4 - #36

Merged
parzivail merged 1 commit into
parzivail:masterfrom
jnyrup:FindPositionSgp4_delm_fix
Aug 7, 2026
Merged

Fix computation of delm in FindPositionSgp4#36
parzivail merged 1 commit into
parzivail:masterfrom
jnyrup:FindPositionSgp4_delm_fix

Conversation

@jnyrup

@jnyrup jnyrup commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

I found that the formula for delm in FindPositionSgp4 was incorrect.
See https://celestrak.org/publications/AIAA/2006-6753/AIAA-2006-6753-Rev3.pdf

I couldn't find the source for the changed test expectations, so I blindly updated them to let the unit test pass.

@parzivail

Copy link
Copy Markdown
Owner

Thanks, the tests were originally written to catch drift during an API change; I need to re-baseline some of them against other libraries.

Good catch, definitely an issue.

@parzivail
parzivail merged commit e377e2f into parzivail:master Aug 7, 2026
1 check passed
@jnyrup
jnyrup deleted the FindPositionSgp4_delm_fix branch August 7, 2026 12:14
@jnyrup

jnyrup commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

For reference: found that this was fixed in the original code in dnwrnr/sgp4@2d7606a

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants