NAME:
  rdnicobs
 PURPOSE:
  Read a NICMOS observation set description file.
 DESCRIPTION:

 CATEGORY:
  Spectroscopy
 CALLING SEQUENCE:
  rdnicobs,file,x0,y0,obsid,ref,x,y
 INPUTS:
  file - String with the filename to be read.
 OPTIONAL INPUT PARAMETERS:

 KEYWORD INPUT PARAMETERS:

 OUTPUTS:
  x0 - x pixel position of the object(s) in the reference image
  y0 - y pixel position of the object(s) in the reference image
  obsid - observation id of all the Grism images
  ref   - observation id of the matching Grism image, this will either
            be an actual grism image id or 'sky'
  x     - X pixel offset of dither (this is the offset of the object in the image).
  y     - Y pixel offset of dither (this is the offset of the object in the image).
 KEYWORD OUTPUT PARAMETERS:

 COMMON BLOCKS:

 SIDE EFFECTS:

 RESTRICTIONS:

 PROCEDURE:

 MODIFICATION HISTORY:
  Written by Marc W. Buie, Lowell Observatory, 1999 July 13
  2002/09/03, MWB, changed Str_sep call to strsplit