NAME: ast2ted PURPOSE: Convert astrometry file to a Ted Bowell format astrometry file. DESCRIPTION: CATEGORY: Astrometry CALLING SEQUENCE: ast2ted,file,outfile,slowfile INPUTS: file - Final astrometry file to read and summarize. outfile - Name of file to write results to. slowfile - Name of file to write slow moving (or DES) objects to (default=don't save slow objects to a separate file) OPTIONAL INPUT PARAMETERS: KEYWORD INPUT PARAMETERS: DESOBJ - optional string array of names of DES interesting objects. if provided, this controls the objects that are written to slowfile. The slow objects are not written to outfile. OUTPUTS: KEYWORD OUTPUT PARAMETERS: COMMON BLOCKS: SIDE EFFECTS: RESTRICTIONS: PROCEDURE: MODIFICATION HISTORY: 2000/02/15, Written by Marc W. Buie, Lowell Observatory 2001/04/18, MWB, added slowfile output option 2002/09/09, MWB, added support for string obscode values 2004/07/24, MWB, added DESOBJ keyword 2005/05/25, MWB, changed output to ted files when handling DES objects Slow moving/KBO objects are no longer saved to the main output file AND to the slowfile. Now objects are saved in only one file. If slowfile name is not provided then DESOBJ is ignored and all objects are saved to outfile. 2005/10/12, MWB, fixed bug that prevented saving slow moving objects to a separate file if the mysql-based list was empty 2018/09/18, MWB, changed filter label to G