NAME:
  rdobjdes
 PURPOSE:
  Read in a file in the format of newobj.dat for use
 DESCRIPTION:
 CATEGORY:
  File I/O
 CALLING SEQUENCE:
  rdobjdes,filename,ncodes,objcode,field,xref,xsec
 INPUTS:
  filename - name of file to read
 OPTIONAL INPUT PARAMETERS:
 KEYWORD INPUT PARAMETERS:
  ASTPATH  - path to astrometry data (default=/net/frakir/raid/buie/astrometry)
 OUTPUTS:
  ncodes   - number of entries read
  objcode  - object code 
  field    - first frame observation
  xref     - cross reference in newobj.dat file 
  xsec     - Indicates if the local code is a secondary designation
 KEYWORD OUTPUT PARAMETERS:
  COMMENTS - original xref string containing all comments
 COMMON BLOCKS:
 SIDE EFFECTS:
 RESTRICTIONS:
 PROCEDURE:
 MODIFICATION HISTORY:
  01/01/08, Written by Susan Kern
  2001/08/15, MWB, upgraded to use LONG for all counters.
  2003/05/09, MWB, fixed bug on reading lines with short xref entries
  2004/02/09, MWB, changed default for ASTPATH