NAME:
  kbompck
 PURPOSE:
  Pre-check and summary for MPC data submission for KBO/Centaur observations
 DESCRIPTION:
  Reads all the .ast files contained in the astrometry directory and sifts
   through the information therein.  These are files that were generated
   previously by ASTCOL.  It also needs to find a file that lists
   all the non-designated objects of concern (oblist.dat).  These
   non-designated objects are assumed to be KBO/Centaur objects.

  Once all the observations are read in, EPHEM is used to get the orbital
   elements of all objects.  Those objects with orbital elements indicative
   of KBO/Centaur objects are called out for special mention in the summary.

  After the list of interesting objects is generated, the observations
   of DESIGNATED KBO/Centaur objects are written to 'new_special_ted' in
   the current directory.  Note that the previous contents of this file
   are deleted prior to saving the new file.  This file has the same format
   as the special_ted file used at Lowell to include observations prior to
   MPC publication.  Once the contents of the new file are checked and known
   to be good, it is usual to APPEND these observations to the end of the
   existing special_ted file.  Again, remember that this file is not relevant
   for non-designated objects.

  Finally, please note that this program really doesn't do much other than
   summarize the observations.  It is not perfect and often this information
   needs to be edited and/or reformatted before it's useful to forward to
   the Minor Planet Center along with the submitted data.

 CATEGORY:
  Astrometry
 CALLING SEQUENCE:
  kbompck
 INPUTS:
  None
 OPTIONAL INPUT PARAMETERS:
 KEYWORD INPUT PARAMETERS:

  ASTDIR - Directory where pending astrometry is located, default is
             /net/frakir/raid/buie/astrometry

  KBODIR - Directory where master list of objects of interest are located
             (file name is 'oblist.dat').  The default directory is
             /net/frakir/raid/buie/kbo.

 OUTPUTS:
 KEYWORD OUTPUT PARAMETERS:
 COMMON BLOCKS:
 SIDE EFFECTS:
 RESTRICTIONS:

 PROCEDURE:
 MODIFICATION HISTORY:
  Written by Marc W. Buie, Lowell Observatory, 2001/10/05
  2001/11/01, MWB, added new category
  2002/01/14, MWB, added ASTDIR and KBODIR keywords.
  2003/10/01, MWB, converted my Delfile call to system file_delete routine
  2004/02/09, MWB, changed defaults for ASTDIR and KBODIR
  2004/9/21, MWB, removed obsolete call to Findfile
  2004/10/27, MWB, fixed some output bugs
  2005/05/25, MWB, changes to file handling in reponse to changes in
                     ASTCOL and AST2TED for separating KBOs.