Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base staleness check on TLE Epoch instead of wall clock #46

Closed
wants to merge 2 commits into from

Conversation

miketwo
Copy link

@miketwo miketwo commented Oct 28, 2021

Fixes #45

The staleness check within predict.c was based on being within a year of the current time. We change it so that it has to be within a year of the Epoch date on the TLE.

@miketwo miketwo mentioned this pull request Oct 29, 2021
2 tasks
@nick-pascucci-spire
Copy link
Contributor

Hi, thanks for your pull request! This looks like it will be a helpful fix.

Before I merge your PR I'd like to make sure it's tested. Would you mind adding some test cases demonstrating the desired behavior and edge cases?

@jerematt
Copy link
Collaborator

Merged as part of #63 with unit tests added and included in release 1.7.2.

Thanks again for the Issue/PR @miketwo

@jerematt jerematt closed this Apr 23, 2024
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.

PredictException: time XXX too far from present should use TLE Epoch
3 participants