Quote:
Originally Posted by davewaldo
Thanks Andrew, I appreciate your efforts.
I understand that I can manually configure the data to put it into Starry Night format however I'm loooking for a way I can automatically import the MPCORB data, otherwise I've got a few hundred thousand objects to translate!
I'll keep looking, its a shame, 'The Sky' software seems to make this so easy.
|
It should be a "reasonably simple" bit of Perl to convert MPCORB.DAT into SN format. Try the attached script. If you aren't running a *nix system, download
ActivePerl and the right version of wget for your O/S.
It fetches the current version of:
mpc5000.dat - 1st 5000 entries from MPCORB.DAT - edit by CdC maintainers
NEA.txt PHA.txt Distant.txt Unusual.txt - from MPC
Quote:
EDIT: Also now that I have a proper look, even that file which says its formatted for Starry Night seems to be in a very different order to the file used by Starry Night.
|
The row order shouldn't matter. As long as the columns are in the right order.