Here's how to automatically extract data from NASA's Horizon System. The Horizon system is an online service that will tell you the position of almost any body in our Solar System. These numbers can be plugged directly into Universe Sandbox to create new systems.
Here's the website:
http://ssd.jpl.nasa.gov/?horizons
If you only need the data for one or two bodies it's probably much easier to extract it manually from their website, but if you need data for five or more, this method will help dramatically. This is the method used to create all of the Horizon files that ship with Universe Sandbox.
A Universe Sandbox horizon file is a list of positions and velocities for various bodies at a specific date. They let you create multiple system/simulation files that share this data (so you don't have multiple copies of the same data in multiple files).
For example, 'Our Solar System.xml' and 'Earth & Moon' both gets their data from LocalObjects.xml and Horizon-2008-01-01.xml.
How to create a Horizon FileSend NASA an email to:
horizons@ssd.jpl.nasa.gov
With the subject:
Job
And a body that looks something like this:
!$$SOF
EMAIL_ADDR=''
START_TIME = '1990-Jan-01 00:00:00'
STOP_TIME = '1990-Jan-01 00:00:01'
TABLE_TYPE = 'Vector'
REF_PLANE = 'Ecliptic'
CENTER = '@010'
COMMAND=
10
199
299
399
499
599
699
799
899
999
1;
136199;
!$$EOF
After a few minutes you'll get back an email for each object (which is totally strange). You can't set a single date for some reason, you have to ask for two (start and stop). Universe Sandbox only reads the starting date. Note that the Horizon ID numbers with ';' are different than those without (you can get these many of these numbers from the LocalObject.xml and other data files) . The above COMMAND numbers are the sun, 8 planets, Pluto, Ceres, & Eris.
Save the text of all of these email to a single text file called 'data.txt'. I use Outlook and can do this by selecting all the emails and then exporting them to a single txt file with just a few clicks.
(For GMail instructions see post below)
Put the 'data.txt' file in (My) Documents\Universe Sandbox\Systems.
Start Universe Sandbox
Then with the main menu visible (in Universe Sandbox)... Press Shift+~ (the Tilde key). It will either say 'created Horizon data' or 'data file missing'.
Other key combos to note:
Ctrl+~ = Debug Info
Alt+~ = Saves current camera position to clipboard to add to system files
In the system folder you should find a new file called "Horizon.xml". You can open this file up to test it, but it's designed to be renamed with a date and then referenced by other system/simulation files.
If you use a HorizonID (the numbers in the COMMAND section of the email) that the Horizon email system doesn't have data for it just stops processing the rest of the bodies and sends you an error. (This can happen if you request moons discovered in 2000 when you're asking for data from 1974).
Please let me know if you need more help with this or have any problems. Feel free to send me your data.txt file if you run into problems.
(Note: If NASA ever changes the formatting of the emailed results, it will likely break Universe Sandbox's internal parser.)