Closed laci37 closed 7 years ago
obs.date = ephem.Date('2017/19/15 03:00:00.00')???
Not even in the UK :)
Just to clarify my comment: the date 2017/19/15 doesn't make sense in either the US or the UK. There are only 12 months in the year. Perhaps you meant 2017/9/15?
@laci37 — Alas! Because of a very poor design decision made long ago, PyEphem interprets angles as radians unless they are supplied as strings. Try:
obs.lat = '47.4979'
obs.long = '19.0402'
I am writing a more modern library named Skyfield that does not have hidden differences like this between strings and floats.
Feel free to re-open this if you run into further problems!
While playing around with Pyephem I tried to calculate the data for this ISS pass over Budapest.
This was the code I used:
The output is:
The times are off by about 20 minutes. Did I mess something up, or is this a bug in pyephem? I had luck in observing the space station based on data from HeavensAbove, so I trust that they calculated that well. The TLE is from HeavensAbove too.