NAME:
  ccdproc
 PURPOSE:
  Apply standard CCD image correction steps to a raw image.
 DESCRIPTION:

 CATEGORY:
  CCD data processing
 CALLING SEQUENCE:
  ccdproc,raw,hdrinfo,calib,corr
 INPUTS:
  raw     - Raw CCD image (or cube)
  hdrinfo - Structure containing relevant header information (see PARSEKEY).
  calib   - Image calibration information structure.
 OPTIONAL INPUT PARAMETERS:

 KEYWORD INPUT PARAMETERS:

 OUTPUTS:
  corr    - Corrected image.
 KEYWORD OUTPUT PARAMETERS:

 COMMON BLOCKS:

 SIDE EFFECTS:

 RESTRICTIONS:

 PROCEDURE:

 MODIFICATION HISTORY:
  Written by Marc W. Buie, Lowell Observatory, 1999 Jun 5
  99/10/28, MWB, minor bug fix.
  2000/01/22, MWB, fixed overscan correction to be limited by crop region
  2001/09/19, MWB, fixed minor bug in error messages