Here are several scripts to convert various database formats files into ephem
format. Contact the author if you need one or have one. This distribution kit
contains three examples.

tle2edb.awk is for converting the NASA "2-line" earth satellite format into
xephem format; see the Help on Credits from the Main menu for how to get timely
shuttle elements in this format emailed to you.

jost2edb.awk is for converting the elements that are included near the end of
occasional comets ephemerides posted to sci.astro by Jost Jahn.

encke2edb.pl is a perl script for converting many of the ephemeris files
pointed to from the WWW site http://encke.jpl.nasa.gov/eph. Some things
encke2edb wants are near the front of the file and some are clear at the end.
Since encke2edb tries to ignore everything but what it wants the easiest way to
use it just to throw the whole ephemeris file at it.

yeomans.pl is a perl script for converting the ephemeris files posted by
Don Yeomans to http://encke.jpl.nasa.gov/eph. As with encke2edb.pl, throw the
whole ephemeris file at it.

astorb2edb.pl is a perl script which converts the asteroids elements maintained
by Lowell Observatory at ftp://ftp.lowell.edu/pub/elgb/astorb.html to edb
format. Actually, it generates two files: those which can ever get brighter
than a certain limit, and all others.

gps.awk is an awk script to convert GPS satellite data from ftp.leipzig.ifag.de.
The data are generally valid to within a few kilometers for several weeks
or maybe even months (unless some satellites are repositioned by the DOD).

extract.awk is an interesting script which tries to figure out the format
of a comet posting on usenet and convert whatever it finds to xephem format.
Many thanks to Pawel Jochym.
