Closed famc2 closed 2 years ago
Alas, I don't get that error. Could you temporarily replace your last line of code with print(t.utc_jpl())
so we can double-check the time object you've created?
I found the reason: python3.8 works fine, but python3.6 raise that error. Thank you for quickly reply
I am not sure why the two versions of Python would not work the same. Does this little script display the same thing under both Python 3.6 and 3.8?
import skyfield
print(skyfield.__version__)
python3.6 with skyfield 1.23 goes error python3.8 with skyfield 1.39 ok I update python3.6 skyfield1.23 to python3.9 skyfield1.41, it raise another error: pandas.errors.ParserError: Error tokenizing data. C error: Expected 12 fields in line 504, saw 13
after google, I edit:
/lib/python3.9/site-packages/skyfield/data/mpc.py
at this line, add on_bad_lines='skip'
df = pd.read_csv(io.BytesIO(text), header=None, names=_COMET_FAST_COLUMNS, on_bad_lines='skip')
it's OK now
hi I just follow the document https://rhodesmill.org/skyfield/kepler-orbits.html
i got : skyfield.errors.EphemerisRangeError: ephemeris segment only covers dates 1899-07-28 23:59:18Z through 2053-10-08 23:58:51Z UT
tried 3 comets:1P/Halley, C/2020 F3 (NEOWISE), C/2017 K2 (PANSTARRS) only C/2017 K2 (PANSTARRS) raise the error
Thank you!