{"action":"created","issue":{"url":"https://api.github.com/repos/brandon-rhodes/python-jplephem/issues/12","labels_url":"https://api.github.com/repos/brandon-rhodes/python-jplephem/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/brandon-rhodes/python-jplephem/issues/12/comments","events_url":"https://api.github.com/repos/brandon-rhodes/python-jplephem/issues/12/events","html_url":"https://github.com/brandon-rhodes/python-jplephem/issues/12","id":90147551,"number":12,"title":"Error when opening de405.bsp","user":{"login":"Juanlu001","id":316517,"avatar_url":"https://avatars.githubusercontent.com/u/316517?v=3","gravatar_id":"","url":"https://api.github.com/users/Juanlu001","html_url":"https://github.com/Juanlu001","followers_url":"https://api.github.com/users/Juanlu001/followers","following_url":"https://api.github.com/users/Juanlu001/following{/other_user}","gists_url":"https://api.github.com/users/Juanlu001/gists{/gist_id}","starred_url":"https://api.github.com/users/Juanlu001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Juanlu001/subscriptions","organizations_url":"https://api.github.com/users/Juanlu001/orgs","repos_url":"https://api.github.com/users/Juanlu001/repos","events_url":"https://api.github.com/users/Juanlu001/events{/privacy}","received_events_url":"https://api.github.com/users/Juanlu001/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"brandon-rhodes","id":166162,"avatar_url":"https://avatars.githubusercontent.com/u/166162?v=3","gravatar_id":"","url":"https://api.github.com/users/brandon-rhodes","html_url":"https://github.com/brandon-rhodes","followers_url":"https://api.github.com/users/brandon-rhodes/followers","following_url":"https://api.github.com/users/brandon-rhodes/following{/other_user}","gists_url":"https://api.github.com/users/brandon-rhodes/gists{/gist_id}","starred_url":"https://api.github.com/users/brandon-rhodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandon-rhodes/subscriptions","organizations_url":"https://api.github.com/users/brandon-rhodes/orgs","repos_url":"https://api.github.com/users/brandon-rhodes/repos","events_url":"https://api.github.com/users/brandon-rhodes/events{/privacy}","received_events_url":"https://api.github.com/users/brandon-rhodes/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-06-22T16:33:43Z","updated_at":"2015-08-04T15:08:27Z","closed_at":"2015-08-04T03:23:31Z","body":"I wanted to cross-check the results with the ones that the web interface of HORIZONS provides, but I am unable to open the file with jplephem:\r\n\r\n```\r\n>>> from jplephem.spk import SPK\r\n>>> SPK.open(\"/home/juanlu/.poliastro/de405.bsp\")\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/home/juanlu/.miniconda3/envs/gtoc8/lib/python2.7/site-packages/jplephem/spk.py\", line 46, in open\r\n    return cls(open(path, 'rb'))\r\n  File \"/home/juanlu/.miniconda3/envs/gtoc8/lib/python2.7/site-packages/jplephem/spk.py\", line 39, in __init__\r\n    self.daf = DAF(file_object)\r\n  File \"/home/juanlu/.miniconda3/envs/gtoc8/lib/python2.7/site-packages/jplephem/daf.py\", line 30, in __init__\r\n    .format(self.locidw, b'DAF/'))\r\nValueError: file starts with 'NAIF/DAF', not the 4 bytes 'NAIF/DAF'\r\n```\r\n\r\nBy the way, it is totally unrelated but I tried to checksum the file and did not found that info online. Are you aware of a public checksum list for SPK files?"},"comment":{"url":"https://api.github.com/repos/brandon-rhodes/python-jplephem/issues/comments/127644348","html_url":"https://github.com/brandon-rhodes/python-jplephem/issues/12#issuecomment-127644348","issue_url":"https://api.github.com/repos/brandon-rhodes/python-jplephem/issues/12","id":127644348,"user":{"login":"Juanlu001","id":316517,"avatar_url":"https://avatars.githubusercontent.com/u/316517?v=3","gravatar_id":"","url":"https://api.github.com/users/Juanlu001","html_url":"https://github.com/Juanlu001","followers_url":"https://api.github.com/users/Juanlu001/followers","following_url":"https://api.github.com/users/Juanlu001/following{/other_user}","gists_url":"https://api.github.com/users/Juanlu001/gists{/gist_id}","starred_url":"https://api.github.com/users/Juanlu001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Juanlu001/subscriptions","organizations_url":"https://api.github.com/users/Juanlu001/orgs","repos_url":"https://api.github.com/users/Juanlu001/repos","events_url":"https://api.github.com/users/Juanlu001/events{/privacy}","received_events_url":"https://api.github.com/users/Juanlu001/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T15:08:27Z","updated_at":"2015-08-04T15:08:27Z","body":"Sure I will, thanks a lot! I will send you my feedback tomorrow."}}