我想使用AstroPy获取我所在位置的当前恒星时间,但结果是错误的。我的代码如下:
from astropy.coordinates import EarthLocation
from astropy.time import Time
from astropy import units as u
observing_location = EarthLocation(lat=46.57*u.deg, lon=7.65*u.deg)
observing_time = Time(datetime.datetime.utcnow(), scale='utc', location=observing_location)
LST = observing_time.sidereal_time('mean')
谢谢!