Using Ephem for LST estimation

48 views
Skip to first unread message

Priya

unread,
Oct 25, 2020, 3:52:58 AM10/25/20
to weewx-user
Hi all, 

I am trying to estimate the local sidereal time for my location with following lines:
gatech = ephem.Observer()
gatech.lon, gatech.lat = '+82.5', '+32'
gatech.date = '2020/10/25 12:67'
gatech.elevation = 4500.0
print(gatech)
print('LST:' gatech.sidereal_time())

LST: 20:54:30.92


However, online I checked for this time and location the LST is coming wrong. Please suggest me where I am wrong. 

Tom Keffer

unread,
Oct 25, 2020, 8:13:21 AM10/25/20
to weewx-user
Perhaps the time is in UTC?

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/0772cf65-af32-4216-b99d-459f53ac5139n%40googlegroups.com.

Kevin Davis

unread,
Oct 25, 2020, 9:33:36 AM10/25/20
to weewx...@googlegroups.com
Is 12:67 in your date field correct?

On Oct 25, 2020, at 5:13 AM, Tom Keffer <tke...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages