NAME:
  nicinit
 PURPOSE:
  Extract initial spectrum and profile from NICMOS Grism image data.
 DESCRIPTION:

 CATEGORY:
  Spectroscopy
 CALLING SEQUENCE:
  nicinit,root,obsid,obs,PATH=path
 INPUTS:
  root  - Root of observation set (visit id), usually 6 characters
  obsid - Observation id, usually 3 characters.
 OPTIONAL INPUT PARAMETERS:

 KEYWORD INPUT PARAMETERS:
  PATH  - Directory where the raw data can be found.  (Default = current)
 OUTPUTS:
  obs   - Anonymous structure that contains the extracted spectrum and
             ancillary information about the observation.
 KEYWORD OUTPUT PARAMETERS:

 COMMON BLOCKS:

 SIDE EFFECTS:

 RESTRICTIONS:

 PROCEDURE:

 MODIFICATION HISTORY:
  Written by Marc W. Buie, Lowell Observatory, 1999 July 13
  1999 Sep 16, added DYRANGE keyword, added kludge to get around problems
      with the extraction region being slightly out of bounds to the left.