NAME:
  wrreduc
 PURPOSE: 
  Write a reductor info file (reduc.inf)
 DESCRIPTION:
  Writes all fields of the reduc.inf file, including the rules. 
 The current version (V1.1) of the file is generated.
 CATEGORY:
  Photometry
 CALLING SEQUENCE:
  wrreduc,infofile,inst,ddir,rundate,rad,sky1,sky2,gain,rdnoise,oplines
 INPUTS:
  infofile-   filename for the info file.
  inst  -  name of instrument for the run. Will be a NULL string
              if the info file cannot be found.
  ddir  -  path to image data for the run.
  rundate- date code for the run, six digit string.
  rad-     float, object aperture radius in pixels.
  sky1-    float, inner sky annulus radius in pixels.
  sky2-    float, outer sky annulus radius in pixels.
  gain-    float, instrument gain in e-/DN
  rdnoise- float, instrument read noise in e-/pixel.
 OPTIONAL INPUT PARAMETERS:
  oplines- string array, rule lines ( line 6 and beyond of info file)
           No rule lines generated if vector unknown ( or starts with '').
 KEYWORD INPUT PARAMETERS:
  GUI-     Flag, if set use modal widgets to prompt for any additional inputs.
              This flag is also passed to reducprmt.
 NOCLOBBER- Flag, if set, prompts if the infofile already exists.
 OUTPUTS:
 KEYWORD OUTPUT PARAMETERS:
 COMMON BLOCKS:
 SIDE EFFECTS:
  Will write or rewrite infofile.
 RESTRICTIONS:
 PROCEDURE:
 MODIFICATION HISTORY:
  2006/08/27   Written, Peter L. Collins, Lowell Observatory