Re: [guide-user] Home made asteroid database

Bill J Gray Dec 1, 2004

Hi Alan,

I'll assume you're using ASTFILTER=b . This will cause Guide to
display only asteroids from 'comets.dat' (that is, those added
using "Add MPC Comets/Asteroids"). What you'd really want here
is the opposite of that: something to suppress asteroids from
'comets.dat', leaving only those from 'mpcorbcr.dat'. Guide doesn't
have anything like that.

The problem is complicated by the way Guide detects which asteroids
in its built-in elements, or in 'mpcorb*.dat', should be replaced
by those in 'comets.dat'. If Guide finds, say, asteroid (433) Eros
in 'comets.dat', it assumes it should skip the 433rd asteroid of your
input file.

That makes perfect sense if you're actually using either the built-in
elements or 'mpcorb*.dat', which has all numbered asteroids. But in
your files, the 433rd asteroid will not be Eros. That's why the objects
get shown twice.

Anyway, the fix is relatively simple. Edit 'comets.dat' and remove
all the asteroids. Be sure to adjust the number on the top line of the
file to reflect the number of actual objects that remain. All the
"duplicates" will vanish. (If Guide had a function opposite to
ASTFILTER=b, one which suppressed asteroids from 'comets.dat' instead
of asteroids from its built-in elements or your mpcorb*.dat file, you
could use that instead. Something for me to consider for the future.)

-- Bill