Closed Short-bus closed 3 months ago
Refreshing the CometEls.txt file solved the problem. The value on disc appeared to be incompatible in some way.
Solution: Refresh the comet data file on disc.
1) Purge /home/pi/pilomar/data/CometEls.txt 2) Restart the pilomar program
When testing on recent RPi5 build, found that comet positions nolonger calculate. The positions fail in the skyfield timelib.py julian_day() function with the following error.
The mpc comet file is recent and initially looks healthy, however the code fails at the same point for every comet in the mpc list.
The julian_day() function looks like this...
The error message suggests a type mismatch between 'year' and 'y'. Maybe one is a numpy array, and the other isn't?