orbit-predictor
orbit-predictor copied to clipboard
WSTLESource generates TLE cache with wrong epoch
When WSTLESource._get_tle(sate_id, date) method is called, and a new TLE is to be stored in cache, the epoch used is not that of the TLE but the one of the date with which the method is called.
https://github.com/satellogic/orbit-predictor/blob/ca67e2e859932938627ed24e5cbf58c887cd99c0/orbit_predictor/sources.py#L127-L128