NAME:
  wrphocat

 PURPOSE:
  Write a photometry standard catalog file.

 DESCRIPTION:

 CATEGORY:
  File I/O

 CALLING SEQUENCE:
  wrphocat,file,name,mags,codes,filname

 INPUTS:
  file   - Name of catalog file to write.
  name   - Name of the stars.
  mags   - Stellar magnitudes  (nfil x npts)
  codes  - Quality codes:      (nfil x npts)
            0 - not enough measurements for use as a quality standard.
            1 - good to use as standard
            2 - Known or suspected variable, don't ever use.
  filname- Filter names (string array)

 OPTIONAL INPUT PARAMETERS:

 KEYWORD INPUT PARAMETERS:

 OUTPUTS:

 KEYWORD OUTPUT PARAMETERS:

 COMMON BLOCKS:

 SIDE EFFECTS:

 RESTRICTIONS:

 PROCEDURE:

 MODIFICATION HISTORY:
  97/03/04, Written by Marc W. Buie, Lowell Observatory