I am using pyEphem to get the next over pass of the ISS from my location, but the results I get back do not match what I see on heavens-above using the same coordinates
I am probably making a stupid mistake but I can't figure it out
My code below returns the results: Rise time: 2017/5/25 20:34:39 azimuth: 193:28:04.0
While the nearest heavens above pass is nearly 3 hours away, with a rise time of: 23:09:40
http://www.heavens-above.com/passdetails.aspx?&satid=25544&mjd=57898.9270155034&type=V
from datetime import datetime
import ephem
import pytz
line1 = 'ISS (ZARYA)'
line2 = '1 25544U 98067A 17145.52800275 .00016717 00000-0 10270-3 0 9015'
line3 = '2 25544 51.6372 151.2656 0005033 192.5139 167.5889 15.53913304 18224'
tle = [line1, line2, line3]
iss = ephem.readtle(tle[0], tle[1], tle[2])
longitude = -6.2282
latitude = 53.2842
altitude = 20
site = ephem.Observer()
site.lat = str(latitude)
site.lon = str(longitude)
site.elevation = 20
current_time = datetime(2017, 5, 25, 12, 0, 0, tzinfo=pytz.utc)
site.date = current_time
info = site.next_pass(iss)
print("Rise time: %s azimuth: %s" % (info[0], info[1]))