Home
Name Modified Size InfoDownloads / Week
mpcreader 2010-11-08
mpcreaderCP 2010-08-05
mpcreaderCS 2010-08-04
README 2013-10-10 5.9 kB
Totals: 4 Items   5.9 kB 0
Copyright (c) <2009> <Jeamy Lee, Austria>

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Jan 08 2009
MpcReader- retrieve ephemerides in MPC format from the web
(see http://www.cfa.harvard.edu/iau/Ephemerides/Soft00.html)

It's a little toy to retrieve comet and asteroid data in MPC format from the web and store it on your computer in different formats.
The data is fetched from the Minor Planet Center at the 'Smithsonian Astrophysical Observatory (SAO)'.
With MPCREADER you could store the orbital data on your pc for all software packages available on the MPC site and it converts plain MPC data to the format needed for KSTARS.

Someone could fetch data for:

    * Observable comets
    * Observable critical-list numbered minor planets
    * Observable distant minor planets (including Centaurs and transneptunians)
    * Observable unusual minor planets (including NEOs)
    * Bright minor planets at opposition (current year)

Data is available for this software packages:

    * MPC format
    * SkyMap (SkyMap Software)
    * Guide (Project Pluto)
    * xephem (E. Downey)
    * Home Planet (J. Walker)
    * MyStars! (Relative Data Products)
    * TheSky (Software Bisque)
    * Starry Night (Sienna Software)
    * Deep Space (D. S. Chandler)
    * PC-TCS (D. Harvey)
    * Earth Centered Universe (Nova Astronomics)
    * Dance of the Planets (ARC)
    * MegaStar V4.x (E.L.B. Software)
    * SkyChart III (Southern Stars Software)
    * Voyager II (Carina Software)
    * SkyTools (CapellaSoft)
    * Autostar (Meade Instruments)

and finally for KSTARS (versions without the built-in update feature).

Fetching and converting data is very simple. Here some sample command lines (there are some bash-scripts in the ZIP-file someone could use and alter for personal preferences;) ):

Simple command line help.
java -jar mpcreader.jar --help

Simple command line for obtaining comets from MPC-website and storing data in kstars format.
Verbose output and no modification of the output file name
Use it and you should end with a file named 'SoftCmt.txt' in the same directory.
(if you have an active internet connection)
java -jar mpcreader.jar

Same as above. But here we get comet data for bright minor planets.
See http://www.cfa.harvard.edu/iau/Ephemerides/Soft00.html
java -jar mpcreader.jar --type:1 --verbose:false

Same as above. But here we get comet data for bright minor planets and comets.
java -jar mpcreader.jar --type:0,1 --verbose:false --split:true

Same as above. But here we get all data from MPC site (comet data and asteroids data).
KSTARS data is stored in two separate files ('comets.dat' and 'asteroids.dat').
java -jar mpcreader.jar --type:all --verbose:false --output:comets.dat,asteroids.dat

Same as above. But here the data is stored in single files.
(SoftCmt.txt,SoftBright.txt,SoftCritList.txt,SoftDistant.txt,SoftUnusual.txt)
java -jar mpcreader.jar --type:all --verbose:false --split:true

Simple command line for obtaining raw data from MPC-website.
Mpc data is stored in two separate files ('comets.dat' and 'asteroids.dat').
(If you have an active internet connection).
java -jar mpcreader.jar --type:all --soft:0 --verbose:false

Same as above. But here the data is stored in single files.
(Soft00Cmt.txt,Soft00Bright.txt,Soft00CritList.txt,Soft00Distant.txt,Soft00Unusual.txt).
java -jar mpcreader.jar --type:all --soft:0 --verbose:false --split:true

Simple command line for obtaining comets from raw MPC-data.
KSTARS data is stored in two separate files ('comets.dat' and 'asteroids.dat').
java -jar mpcreader.jar --soft:kstarsA --input:Soft00Cmt.txt,Soft00Bright.txt,Soft00CritList.txt,Soft00Distant.txt,Soft00Unusual.txt --output:comets.dat,asteroids.dat --verbose:false

Same as above. But here the data is stored in single files.
(SoftCmt.txt,SoftBright.txt,SoftCritList.txt,SoftDistant.txt,SoftUnusual.txt)
java -jar mpcreader.jar --soft:kstarsA --input:Soft00Cmt.txt,Soft00Bright.txt,Soft00CritList.txt,Soft00Distant.txt,Soft00Unusual.txt --split:true --verbose:false

Simple command line for obtaining comets from MPC-website and storing it in THE SKY format.
Verbose output and no modofication of the output file name
Use ist and you should end with a file named 'Soft02Cmt.txt' in the same directory
(if you have an active internet connection)
java -jar mpcreader.jar --soft:thesky

Same as above. But here we get all data from MPC site (comet data and asteroids data).
THESKY data is stored in two separate files ('comets.dat' and 'asteroids.dat').
java -jar mpcreader.jar --type:all --soft:thesky --verbose:false --output:comets.dat,asteroids.dat

Same as above. But here the data is stored in single files.
(Soft06Cmt.txt,Soft06Bright.txt,Soft06CritList.txt,Soft06Distant.txt,Soft06Unusual.txt).
java -jar mpcreader.jar --type:all --soft:guide --verbose:false --split:true

Please email all questions, suggestions, bugs to jeamydotleeatgmaildotcom

More to come... ;)


Source: README, updated 2013-10-10