{"action":"created","issue":{"url":"https://api.github.com/repos/pytroll/pyorbital/issues/4","labels_url":"https://api.github.com/repos/pytroll/pyorbital/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/pytroll/pyorbital/issues/4/comments","events_url":"https://api.github.com/repos/pytroll/pyorbital/issues/4/events","html_url":"https://github.com/pytroll/pyorbital/issues/4","id":87242668,"number":4,"title":"Calculation method.","user":{"login":"sgongar","id":5670973,"avatar_url":"https://avatars.githubusercontent.com/u/5670973?v=3","gravatar_id":"","url":"https://api.github.com/users/sgongar","html_url":"https://github.com/sgongar","followers_url":"https://api.github.com/users/sgongar/followers","following_url":"https://api.github.com/users/sgongar/following{/other_user}","gists_url":"https://api.github.com/users/sgongar/gists{/gist_id}","starred_url":"https://api.github.com/users/sgongar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgongar/subscriptions","organizations_url":"https://api.github.com/users/sgongar/orgs","repos_url":"https://api.github.com/users/sgongar/repos","events_url":"https://api.github.com/users/sgongar/events{/privacy}","received_events_url":"https://api.github.com/users/sgongar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-11T07:25:26Z","updated_at":"2015-08-27T18:52:03Z","closed_at":"2015-08-27T18:52:03Z","body":"I was testing PyOrbital comparing it with a well know, for me, like PyEphem but the results aren't similar.\r\n\r\nThe test code that I used was:\r\n\r\n    import ephem\r\n    from math import degrees\r\n    import pyorbital.orbital\r\n    import datetime\r\n    \r\n    satellite_name = \"HUMSAT\"\r\n    line1 = \"1 27848U 03031J   15160.96355163  .00000275  00000-0  14593-3 0  9996\"\r\n    line2 = \"2 27848  98.7047 169.4969 0009055 336.4898  80.2278 14.21451973619325\"\t\r\n    start_time = 1431832673\r\n    (lon, lat, ele) = (-8, 42, 0)\r\n\r\n    def sim_pyephem():\t\r\n    \tobserver = ephem.Observer()\r\n    \tobserver.lon = lon\r\n    \tobserver.lat = lat\r\n    \tobserver.elevation = ele\r\n    \tobserver.date = (start_time + 2440587.5*86400)/86400 - 2415020\r\n    \r\n    \tsatellite = ephem.readtle(satellite_name, line1, line2)\r\n    \tsatellite.compute(observer)\r\n    \r\n    \talt1 = float(repr(satellite.alt))\r\n    \talt1 = degrees(alt1)\r\n    \taz1 = float(repr(satellite.az))\r\n    \taz1 = degrees(az1)\r\n    \r\n    \tprint \"PyEphem result:  \", start_time, alt1, az1\r\n    \r\n    def sim_pyorbital():\r\n    \tsatellite = pyorbital.orbital.Orbital(satellite_name, line1=line1, line2=line2)\r\n    \ttime1 = datetime.datetime.utcfromtimestamp(start_time)\r\n    \taz1, alt1 = satellite.get_observer_look(time1, lon, lat, ele)\r\n    \r\n    \tprint \"PyOrbital result:\", start_time, alt1, az1\t\r\n    \r\n    sim_pyephem()\r\n    sim_pyorbital()\r\n\r\nCould anybody help me? I don't know if I'm doing something wrong.\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/pytroll/pyorbital/issues/comments/135521288","html_url":"https://github.com/pytroll/pyorbital/issues/4#issuecomment-135521288","issue_url":"https://api.github.com/repos/pytroll/pyorbital/issues/4","id":135521288,"user":{"login":"sgongar","id":5670973,"avatar_url":"https://avatars.githubusercontent.com/u/5670973?v=3","gravatar_id":"","url":"https://api.github.com/users/sgongar","html_url":"https://github.com/sgongar","followers_url":"https://api.github.com/users/sgongar/followers","following_url":"https://api.github.com/users/sgongar/following{/other_user}","gists_url":"https://api.github.com/users/sgongar/gists{/gist_id}","starred_url":"https://api.github.com/users/sgongar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgongar/subscriptions","organizations_url":"https://api.github.com/users/sgongar/orgs","repos_url":"https://api.github.com/users/sgongar/repos","events_url":"https://api.github.com/users/sgongar/events{/privacy}","received_events_url":"https://api.github.com/users/sgongar/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T18:52:03Z","updated_at":"2015-08-27T18:52:03Z","body":"Thanks @mraspaud , now it seems the problem is in my code because all propagators gave me the same value as PyEphem.\r\n\r\nThese days'll check my code but I think this issue in this repository can be considered closed."}}