NAME:
  wrcalir
 PURPOSE:
  Write calibration information for OSIRIS XD data to a calib file.
 DESCRIPTION:

 CATEGORY:
  Spectroscopy
 CALLING SEQUENCE:
  wrcalir,calib,calibfile
 INPUTS:
  calib - anonymous structure with calibration information (see LDCALIR)
  calibfile - Name of file to write calibration information
                 (default=files.cal)
 OPTIONAL INPUT PARAMETERS:

 KEYWORD INPUT PARAMETERS:

 OUTPUTS:

 KEYWORD OUTPUT PARAMETERS:

 COMMON BLOCKS:

 SIDE EFFECTS:

 RESTRICTIONS:

 PROCEDURE:

 MODIFICATION HISTORY:
  97/12/4, Written by Marc W. Buie, Lowell Observatory