NAME:
ppmsprmt
PURPOSE:
Promote version of photometry parmameter file to highest version.
DESCRIPTION:
CATEGORY:
File I/O
CALLING SEQUENCE:
ppmsprmt,parmfile
INPUTS:
parmfile - Phot Params file.
OPTIONAL INPUT PARAMETERS:
KEYWORD INPUT PARAMETERS:
GUI - Flag, if set will query for needed input with a GUI tool. The default
is to ask on the command line.
OUTPUTS:
The parm file is updated to the most recent version. Not changed if already
current.
The following formats are supported:
v01 Version line at the start: phot_parms_v01
Total of 11 lines including the version.
version, photometry log file name, aperture radius, inner sky radius,
outer sky radius, local max box radius, ccd gain, plate scale,
exact position flag, nominal extinction, zero pt.
v02 Version line at the start: phot_parms_v02
Total of 12 lines including the version.
version, photometry log file name, aperture radius, inner sky radius,
outer sky radius, local max box radius, ccd gain, plate scale,
read noise, exact position flag, nominal extinction, zero pt.
v02 adds the read noise line after line 8 (plate scale) to v01.
KEYWORD OUTPUT PARAMETERS:
COMMON BLOCKS:
SIDE EFFECTS:
RESTRICTIONS:
PROCEDURE:
MODIFICATION HISTORY:
2006/08/07, Written by Peter L. Collins, Lowell Observatory