I was trying to get some data on the Sun and Moon from the day of the eclipse. I was relying on some of the examples here:
https://astroquery.readthedocs.io/en/latest/jplhorizons/jplhorizons.html#checking-the-original-jpl-horizons-output
and my script kept generating an error.
So I tried copying the original script from the page, with one additional line, and kept getting an error.
from astroquery.jplhorizons import Horizons
import astropy.units as u
statue_of_liberty = {'lon': -74.0466891 * u.deg,
'lat': 40.6892534 * u.deg,
'elevation': 0.093 * u.km}
obj = Horizons(id='Ceres',
location=statue_of_liberty,
epochs=2458133.33546)
print(obj.uri)
eph = obj.ephemerides()
print(eph)
The error is
Cannot read coordinate triplet, ? or ?! for help
What am I doing wrong?
Thanks!
P.S.
astropy 5.1
astroquery 0.4.6