Auto-scheduler suddenly stopped working.
40926 XgSfynx2reaDeFbFd2Ucen 0 1 2 GMSK TIANWANG-1C-TW-1C
91%|█████████████████████████████████████████████████████████████▎ | 418/457 [00:07<00:00, 58.47it/s]
Traceback (most recent call last):
File "./schedule_single_station.py", line 319, in <module>
main()
File "./schedule_single_station.py", line 245, in main
min_pass_duration)
File "/home/pi/satnogs-auto-scheduler/auto_scheduler/pass_predictor.py", line 69, in find_passes
sat_ephem.compute(observer)
ValueError: TLE elements are valid for a few weeks around their epoch, but you are asking about a date 365 days from the epoch
So with a couple of print statements, I tracked it down to the TLEs for 40926 being over 365 days out of date.
I deleted these from the /tmp/cache/transmitters_1376.txt file and now all is well again.
What can be done to prevent this happening in future?