nsat / pypredict

Spire port of predict open-source tracking library
GNU General Public License v2.0
64 stars 17 forks source link

PredictException: time XXX too far from present should use TLE Epoch #45

Closed miketwo closed 6 months ago

miketwo commented 3 years ago

The code that determines staleness works off of current time instead of TLE Epoch. That makes it hard to write unit tests, because they will fail a year later. As indicated by the comment on the code, this should measure against the TLE Epoch instead.