I found the python package HorizonJPL in the Python Package Index, but it looks like it's limited to activity in 2013. When I go to the linked documentation page https://docs.google.com/document/d/1g9q3ln9LVAATOZ15986HLTCaqcAj_Jd8e_jOGS3YWrE/pub the info is fairly sparse, and the two links there lead to a dead end in Japanese (below).
Is there a way I can access JPL Horizons for tables of data (Like I am doing heredoing here) from within a Python script? In other words, I want to build a url query and receive a json of text with state vectors in return using urllib
or urllib2
.
Update: This is a typical example of what I want to do:
This is what is displayed on the pypi site - there seems to be names/handles but I don't know how to query them.
API Documentation
https://docs.google.com/document/d/1g9q3ln9LVAATOZ15986HLTCaqcAj_Jd8e_jOGS3YWrE/pub
Resources
Planetary Data System: http://pds.nasa.gov/
Jet Propulsion Labs: http://www.jpl.nasa.gov/
HORIZON User Manual: http://ssd.jpl.nasa.gov/?horizons_doc
Contributors
Matthew Mihok (@mattmattmatt)
Dexter Jagula (@djagula)
Siddarth Kalra (@SiddarthKalra)
Tiago Moreira (@Kamots)
Here is what happens when I try the links in the google doc: