Summary of all configuration file options

The configuration files are located in the directory $KVALOBS/Qc2Config

A valid configuration file has the suffix “.cfg” e.g. “AlgorithmXY.cfg”, only files with this suffix are parsed.

Active

Name to use in the configfuration file	Type	Default Value	Description
RunAtMinute	int	Min at which to run
RunAtHour	int	2	Hour at which to run
RunAtMinute	int	Min at which to run
RunAtHour	int	2	Hour at which to run
Start_YYYY	int	Current Year	Start Year
Start_MM	int	Current Month	Start Month
Start_DD	int	Current Day	Start Day
Start_hh	int	Current Hour	Start Hour
Start_mm	int	Start Minute
Start_ss	int	Start Second
End_YYYY	int	Current Year	End Year
End_MM	int	Current Month	End Month
End_DD	int	Current Day	End Day
End_hh	int	Current Hour	End Hour
End_mm	int	End Minute
End_ss	int	End Second
Last_NDays	int	-1	Last N Days to Run Algorithm
ParamId	int	Parameter ID (of data to process)
TypeId	int	Type ID (of data to process)
Start_YYYY	int	Current Year	Start Year
Start_MM	int	Current Month	Start Month
Start_DD	int	Current Day	Start Day
Start_hh	int	Current Hour	Start Hour
Start_mm	int	Start Minute
Start_ss	int	Start Second
End_YYYY	int	Current Year	End Year
End_MM	int	Current Month	End Month
End_DD	int	Current Day	End Day
End_hh	int	Current Hour	End Hour
End_mm	int	End Minute
End_ss	int	End Second
Last_NDays	int	-1	Last N Days to Run Algorithm
ParamId	int	Parameter ID (of data to process)
TypeId	int	Type ID (of data to process)
The Step aprameters determine the time step between the start and stop times (kvalobs db obstime) for data to process.
Step_YYYY	int	Step Year
Step_MM	int	0	Step Minute
Step_DD	int	0	Step Day
Step_hh	int	0	Step Hour
Step_mm	int	0	Step Minute
Step_ss	int	0	Step Second
-	-	-	-	=
AlgoCode	int	-1	Algoritham Code
InterpCode	int	-1	Code to determine method of interpolation
BestStationFilename	std::string	NotSet	Filename containing the best station list
CfailedString	std::string	Value to add to CFAILED if the algorithm runs and writes data back to the database
MissingValue	int	-32767	Original Missing Data Value
InterpolationDistance	float	25	Nearest Neighbour Limiting Distance
-	-	-	-
Specific flag value to test when (R) reading the database
R_fqclevel	unsigned char	0x3F	fqclevel
R_fr	unsigned char	0x3F	fr
R_fcc	unsigned char	0x3F	fcc
R_fs	unsigned char	0x3F	fs
R_fnum	unsigned char	0x3F	fnum
R_fpos	unsigned char	0x3F	fpos
R_fmis	unsigned char	0x3F	fmis
R_ftime	unsigned char	0x3F	ftime
R_fw	unsigned char	0x3F	fw
R_fstat	unsigned char	0x3F	fstat
R_fcp	unsigned char	0x3F	fcp
R_fclim	unsigned char	0x3F	fclim
R_fd	unsigned char	0x3F	fd
R_fpre	unsigned char	0x3F	fpre
R_fcombi	unsigned char	0x3F	fcombi
R_fhqc	unsigned char	0x3F	fhqc
Setting the following value to “false” inverts the R logic
Rbool	bool	true	Option to change logic of all flag controls
-	-	-	-
Specific flag value to test before (I) interpolation is carried out
I_fqclevel	unsigned char	0x3F	fqclevel
I_fr	unsigned char	0x3F	fr
I_fcc	unsigned char	0x3F	fcc
I_fs	unsigned char	0x3F	fs
I_fnum	unsigned char	0x3F	fnum
I_fpos	unsigned char	0x3F	fpos
I_fmis	unsigned char	0x3F	fmis
I_ftime	unsigned char	0x3F	ftime
I_fw	unsigned char	0x3F	fw
I_fstat	unsigned char	0x3F	fstat
I_fcp	unsigned char	0x3F	fcp
I_fclim	unsigned char	0x3F	fclim
I_fd	unsigned char	0x3F	fd
I_fpre	unsigned char	0x3F	fpre
I_fcombi	unsigned char	0x3F	fcombi
I_fhqc	unsigned char	0x3F	fhqc
Setting the following value to “false” inverts the I logic
Ibool	bool	true	Option to change logic of all flag controls
-	-	-	-
Specific flag value to test before the (A) algorithm is run
A_fqclevel	unsigned char	0x3F	fqclevel
A_fr	unsigned char	0x3F	fr
A_fcc	unsigned char	0x3F	fcc
A_fs	unsigned char	0x3F	fs
A_fnum	unsigned char	0x3F	fnum
A_fpos	unsigned char	0x3F	fpos
A_fmis	unsigned char	0x3F	fmis
A_ftime	unsigned char	0x3F	ftime
A_fw	unsigned char	0x3F	fw
A_fstat	unsigned char	0x3F	fstat
A_fcp	unsigned char	0x3F	fcp
A_fclim	unsigned char	0x3F	fclim
A_fd	unsigned char	0x3F	fd
A_fpre	unsigned char	0x3F	fpre
A_fcombi	unsigned char	0x3F	fcombi
A_fhqc	unsigned char	0x3F	fhqc
Setting the following value to “false” inverts the A logic
Abool	bool	true	Option to change logic of all flag controls
-	-	-	-
Specific flag value to test before (W) writing results back to the database
W_fqclevel	unsigned char	0x3F	fqclevel
W_fr	unsigned char	0x3F	fr
W_fcc	unsigned char	0x3F	fcc
W_fs	unsigned char	0x3F	fs
W_fnum	unsigned char	0x3F	fnum
W_fpos	unsigned char	0x3F	fpos
W_fmis	unsigned char	0x3F	fmis
W_ftime	unsigned char	0x3F	ftime
W_fw	unsigned char	0x3F	fw
W_fstat	unsigned char	0x3F	fstat
W_fcp	unsigned char	0x3F	fcp
W_fclim	unsigned char	0x3F	fclim
W_fd	unsigned char	0x3F	fd
W_fpre	unsigned char	0x3F	fpre
W_fcombi	unsigned char	0x3F	fcombi
W_fhqc	unsigned char	0x3F	fhqc
Setting the following value to “false” inverts the W logic
Wbool	bool	true	Option to change logic of all flag controls
-	-	-	-
Specific flag value to set if algorithm or check is successful
S_fqclevel	unsigned char	0x3F	fqclevel
S_fr	unsigned char	0x3F	fr
S_fcc	unsigned char	0x3F	fcc
S_fs	unsigned char	0x3F	fs
S_fnum	unsigned char	0x3F	fnum
S_fpos	unsigned char	0x3F	fpos
S_fmis	unsigned char	0x3F	fmis
S_ftime	unsigned char	0x3F	ftime
S_fw	unsigned char	0x3F	fw
S_fstat	unsigned char	0x3F	fstat
S_fcp	unsigned char	0x3F	fcp
S_fclim	unsigned char	0x3F	fclim
S_fd	unsigned char	0x3F	fd
S_fpre	unsigned char	0x3F	fpre
S_fcombi	unsigned char	0x3F	fcombi
S_fhqc	unsigned char	0x3F	fhqc
Name to use in the configfuration file	Type & Default Value	Description
RunAtMinute	po::value<int>(&RunMinute)->default_value(0)	Minute at which to run the algorithm.
RunAtHour	po::value<int>(&RunHour)->default_value(2)	Hour at which to run the algorithm.
Start_YYYY	po::value<int>(&StartYear)->default_value(miutil::miTime::nowTime().year())	Start Year (of the data to process...)
Start_MM	po::value<int> (&StartMonth)->default_value(miutil::miTime::nowTime().month())	Start Month
Start_DD	po::value<int>(&StartDay)->default_value(miutil::miTime::nowTime().day())	Start Day
Start_hh	po::value<int>(&StartHour)->default_value(miutil::miTime::nowTime().hour())	Start Hour
Start_mm	po::value<int>(&StartMinute)->default_value(0)	Start Minute
Start_ss	po::value<int>(&StartSecond)->default_value(0)	Start Second
End_YYYY	po::value<int>(&EndYear)->default_value(miutil::miTime::nowTime().year())	End Year (of the data to process...)
End_MM	po::value<int>(&EndMonth)->default_value(miutil::miTime::nowTime().month())	End Month
End_DD	po::value<int>(&EndDay)->default_value(miutil::miTime::nowTime().day())	End Day
End_hh	po::value<int>(&EndHour)->default_value(miutil::miTime::nowTime().hour())	End Hour
End_mm	po::value<int>(&EndMinute)->default_value(0)	End Minute
End_ss	po::value<int>(&EndSecond)->default_value(0)	End Second
Last_NDays	po::value<int>(&LastN)->default_value(-1)	Last N Days to Run Algorithm (from the latest time)
Step_YYYY	po::value<int>(&StepYear)->default_value(0)	Step Year (to step through the data interval ...)
Step_MM	po::value<int>(&StepMonth)->default_value(0)	Step Minute
Step_DD	po::value<int>(&StepDay)->default_value(0)	Step Day
Step_hh	po::value<int>(&StepHour)->default_value(0)	Step Hour
Step_mm	po::value<int>(&StepMinute)->default_value(0)	Step Minute
Step_ss	po::value<int>(&StepSecond)->default_value(0)	Step Second
ParamId	po::value<int>(&ParamId)->default_value(0)	Parameter ID
MaxParamId	po::value<int>(&MaxParamId)->default_value(0)	Parameter ID for a maximum value
MinParamId	po::value<int>(&MinParamId)->default_value(0)	Parameter ID for a minimum value
TypeId	po::value<int>(&TypeId)	Type ID
AlgoCode	po::value<int>(&AlgoCode)->default_value(-1)	Algoritham Code
InterpCode	po::value<int>(&InterpCode)->default_value(-1)	Code to determine method of interpolation
ControlString	po::value<std::string>(&ControlString)	Control Info (not used)
ControlVector	po::value<std::vector<int> > (&ControlVector)	Control Vector (not used)
BestStationFilename	po::value<std::string> (&BestStationFilename)->default_value(NotSet)	Filename containing the best station list
CfailedString	po::value<std::string> (&CfailedString)->default_value()	Value to add to CFAILED if the algorithm runs and writes data back to the database
MissingValue	po::value<int>(&MissingValue)->default_value(-32767)	Original Missing Data Value
MinValue	po::value<int>(&MinValue)->default_value(-32767)	Minimum Data Value For Some Controls
InterpolationDistance	po::value<float>(&InterpolationDistance)->default_value(25)	Nearest Neighbour Limiting Distance
z_fqclevel	po::value<std::vector<unsigned char> >(&z_fqclevel)	fqclevel [GENERAL FILTER]
z_fr	po::value<std::vector<unsigned char> >(&z_fr)	fr
z_fcc	po::value<std::vector<unsigned char> >(&z_fcc)	fcc
z_fs	po::value<std::vector<unsigned char> >(&z_fs)	fs
z_fnum	po::value<std::vector<unsigned char> >(&z_fnum)	fnum
z_fpos	po::value<std::vector<unsigned char> >(&z_fpos)	fpos
z_fmis	po::value<std::vector<unsigned char> >(&z_fmis)	fmis
z_ftime	po::value<std::vector<unsigned char> >(&z_ftime)	ftime
z_fw	po::value<std::vector<unsigned char> >(&z_fw)	fw
z_fstat	po::value<std::vector<unsigned char> >(&z_fstat)	fstat
z_fcp	po::value<std::vector<unsigned char> >(&z_fcp)	fcp
z_fclim	po::value<std::vector<unsigned char> >(&z_fclim)	fclim
z_fd	po::value<std::vector<unsigned char> >(&z_fd)	fd
z_fpre	po::value<std::vector<unsigned char> >(&z_fpre)	fpre
z_fcombi	po::value<std::vector<unsigned char> >(&z_fcombi)	fcombi
z_fhqc	po::value<std::vector<unsigned char> >(&z_fhqc)	fhqc
zbool	po::value<bool>(&zbool)->default_value(true)	Option to change logic of all flag controls
R_fqclevel	po::value<std::vector<unsigned char> >(&R_fqclevel)	fqclevel [FILTER for Reading Data]
R_fr	po::value<std::vector<unsigned char> >(&R_fr)	fr
R_fcc	po::value<std::vector<unsigned char> >(&R_fcc)	fcc
R_fs	po::value<std::vector<unsigned char> >(&R_fs)	fs
R_fnum	po::value<std::vector<unsigned char> >(&R_fnum)	fnum
R_fpos	po::value<std::vector<unsigned char> >(&R_fpos)	fpos
R_fmis	po::value<std::vector<unsigned char> >(&R_fmis)	fmis
R_ftime	po::value<std::vector<unsigned char> >(&R_ftime)	ftime
R_fw	po::value<std::vector<unsigned char> >(&R_fw)	fw
R_fstat	po::value<std::vector<unsigned char> >(&R_fstat)	fstat
R_fcp	po::value<std::vector<unsigned char> >(&R_fcp)	fcp
R_fclim	po::value<std::vector<unsigned char> >(&R_fclim)	fclim
R_fd	po::value<std::vector<unsigned char> >(&R_fd)	fd
R_fpre	po::value<std::vector<unsigned char> >(&R_fpre)	fpre
R_fcombi	po::value<std::vector<unsigned char> >(&R_fcombi)	fcombi
R_fhqc	po::value<std::vector<unsigned char> >(&R_fhqc)	fhqc
Rbool	po::value<bool>(&Rbool)->default_value(true)	Option to change logic of all flag controls
I_fqclevel	po::value<std::vector<unsigned char> >(&I_fqclevel)	fqclevel [FILTER for Intrpolating Data]
I_fr	po::value<std::vector<unsigned char> >(&I_fr)	fr
I_fcc	po::value<std::vector<unsigned char> >(&I_fcc)	fcc
I_fs	po::value<std::vector<unsigned char> >(&I_fs)	fs
I_fnum	po::value<std::vector<unsigned char> >(&I_fnum)	fnum
I_fpos	po::value<std::vector<unsigned char> >(&I_fpos)	fpos
I_fmis	po::value<std::vector<unsigned char> >(&I_fmis)	fmis
I_ftime	po::value<std::vector<unsigned char> >(&I_ftime)	ftime
I_fw	po::value<std::vector<unsigned char> >(&I_fw)	fw
I_fstat	po::value<std::vector<unsigned char> >(&I_fstat)	fstat
I_fcp	po::value<std::vector<unsigned char> >(&I_fcp)	fcp
I_fclim	po::value<std::vector<unsigned char> >(&I_fclim)	fclim
I_fd	po::value<std::vector<unsigned char> >(&I_fd)	fd
I_fpre	po::value<std::vector<unsigned char> >(&I_fpre)	fpre
I_fcombi	po::value<std::vector<unsigned char> >(&I_fcombi)	fcombi
I_fhqc	po::value<std::vector<unsigned char> >(&I_fhqc)	fhqc
Ibool	po::value<bool>(&Ibool)->default_value(true)	Option to change logic of all flag controls
A_fqclevel	po::value<std::vector<unsigned char> >(&A_fqclevel)	fqclevel [FILTER for applying Algorithm]
A_fr	po::value<std::vector<unsigned char> >(&A_fr)	fr
A_fcc	po::value<std::vector<unsigned char> >(&A_fcc)	fcc
A_fs	po::value<std::vector<unsigned char> >(&A_fs)	fs
A_fnum	po::value<std::vector<unsigned char> >(&A_fnum)	fnum
A_fpos	po::value<std::vector<unsigned char> >(&A_fpos)	fpos
A_fmis	po::value<std::vector<unsigned char> >(&A_fmis)	fmis
A_ftime	po::value<std::vector<unsigned char> >(&A_ftime)	ftime
A_fw	po::value<std::vector<unsigned char> >(&A_fw)	fw
A_fstat	po::value<std::vector<unsigned char> >(&A_fstat)	fstat
A_fcp	po::value<std::vector<unsigned char> >(&A_fcp)	fcp
A_fclim	po::value<std::vector<unsigned char> >(&A_fclim)	fclim
A_fd	po::value<std::vector<unsigned char> >(&A_fd)	fd
A_fpre	po::value<std::vector<unsigned char> >(&A_fpre)	fpre
A_fcombi	po::value<std::vector<unsigned char> >(&A_fcombi)	fcombi
A_fhqc	po::value<std::vector<unsigned char> >(&A_fhqc)	fhqc
Abool	po::value<bool>(&Abool)->default_value(true)	Option to change logic of all flag controls
Not_fqclevel	po::value<std::vector<unsigned char> >(&Not_fqclevel)	fqclevel [FILTER for not applying the Algorithm]
Not_fr	po::value<std::vector<unsigned char> >(&Not_fr)	fr
Not_fcc	po::value<std::vector<unsigned char> >(&Not_fcc)	fcc
Not_fs	po::value<std::vector<unsigned char> >(&Not_fs)	fs
Not_fnum	po::value<std::vector<unsigned char> >(&Not_fnum)	fnum
Not_fpos	po::value<std::vector<unsigned char> >(&Not_fpos)	fpos
Not_fmis	po::value<std::vector<unsigned char> >(&Not_fmis)	fmis
Not_ftime	po::value<std::vector<unsigned char> >(&Not_ftime)	ftime
Not_fw	po::value<std::vector<unsigned char> >(&Not_fw)	fw
Not_fstat	po::value<std::vector<unsigned char> >(&Not_fstat)	fstat
Not_fcp	po::value<std::vector<unsigned char> >(&Not_fcp)	fcp
Not_fclim	po::value<std::vector<unsigned char> >(&Not_fclim)	fclim
Not_fd	po::value<std::vector<unsigned char> >(&Not_fd)	fd
Not_fpre	po::value<std::vector<unsigned char> >(&Not_fpre)	fpre
Not_fcombi	po::value<std::vector<unsigned char> >(&Not_fcombi)	fcombi
Not_fhqc	po::value<std::vector<unsigned char> >(&Not_fhqc)	fhqc
Notbool	po::value<bool>(&Notbool)->default_value(true)	Option to change logic of all flag controls
U_0	po::value<std::vector<unsigned char> >(&U_0)	f0 [FILTER applied to the Useinfo for applying the ALgorithm.]
U_1	po::value<std::vector<unsigned char> >(&U_1)	f1
U_2	po::value<std::vector<unsigned char> >(&U_2)	f2
U_3	po::value<std::vector<unsigned char> >(&U_3)	f3
U_4	po::value<std::vector<unsigned char> >(&U_4)	f4
U_5	po::value<std::vector<unsigned char> >(&U_5)	f5
U_6	po::value<std::vector<unsigned char> >(&U_6)	f6
U_7	po::value<std::vector<unsigned char> >(&U_7)	f7
U_8	po::value<std::vector<unsigned char> >(&U_8)	f8
U_9	po::value<std::vector<unsigned char> >(&U_9)	f9
U_10	po::value<std::vector<unsigned char> >(&U_10)	f10
U_11	po::value<std::vector<unsigned char> >(&U_11)	f11
U_12	po::value<std::vector<unsigned char> >(&U_12)	f12
U_13	po::value<std::vector<unsigned char> >(&U_13)	f13
U_14	po::value<std::vector<unsigned char> >(&U_14)	f14
U_15	po::value<std::vector<unsigned char> >(&U_15)	f15
Ubool	po::value<bool>(&Ubool)->default_value(true)	Option to change logic of all flag controls
NotU_0	po::value<std::vector<unsigned char> >(&NotU_0)	f0 [FILTER applied to the Useinfo for not applying the ALgorithm.]
NotU_1	po::value<std::vector<unsigned char> >(&NotU_1)	f1
NotU_2	po::value<std::vector<unsigned char> >(&NotU_2)	f2
NotU_3	po::value<std::vector<unsigned char> >(&NotU_3)	f3
NotU_4	po::value<std::vector<unsigned char> >(&NotU_4)	f4
NotU_5	po::value<std::vector<unsigned char> >(&NotU_5)	f5
NotU_6	po::value<std::vector<unsigned char> >(&NotU_6)	f6
NotU_7	po::value<std::vector<unsigned char> >(&NotU_7)	f7
NotU_8	po::value<std::vector<unsigned char> >(&NotU_8)	f8
NotU_9	po::value<std::vector<unsigned char> >(&NotU_9)	f9
NotU_10	po::value<std::vector<unsigned char> >(&NotU_10)	f10
NotU_11	po::value<std::vector<unsigned char> >(&NotU_11)	f11
NotU_12	po::value<std::vector<unsigned char> >(&NotU_12)	f12
NotU_13	po::value<std::vector<unsigned char> >(&NotU_13)	f13
NotU_14	po::value<std::vector<unsigned char> >(&NotU_14)	f14
NotU_15	po::value<std::vector<unsigned char> >(&NotU_15)	f15
NotUbool	po::value<bool>(&NotUbool)->default_value(true)	Option to change logic of all flag controls
W_fqclevel	po::value<std::vector<unsigned char> >(&W_fqclevel)	fqclevel [FILTER for Writing results back to the DataBase]
W_fr	po::value<std::vector<unsigned char> >(&W_fr)	fr
W_fcc	po::value<std::vector<unsigned char> >(&W_fcc)	fcc
W_fs	po::value<std::vector<unsigned char> >(&W_fs)	fs
W_fnum	po::value<std::vector<unsigned char> >(&W_fnum)	fnum
W_fpos	po::value<std::vector<unsigned char> >(&W_fpos)	fpos
W_fmis	po::value<std::vector<unsigned char> >(&W_fmis)	fmis
W_ftime	po::value<std::vector<unsigned char> >(&W_ftime)	ftime
W_fw	po::value<std::vector<unsigned char> >(&W_fw)	fw
W_fstat	po::value<std::vector<unsigned char> >(&W_fstat)	fstat
W_fcp	po::value<std::vector<unsigned char> >(&W_fcp)	fcp
W_fclim	po::value<std::vector<unsigned char> >(&W_fclim)	fclim
W_fd	po::value<std::vector<unsigned char> >(&W_fd)	fd
W_fpre	po::value<std::vector<unsigned char> >(&W_fpre)	fpre
W_fcombi	po::value<std::vector<unsigned char> >(&W_fcombi)	fcombi
W_fhqc	po::value<std::vector<unsigned char> >(&W_fhqc)	fhqc
Wbool	po::value<bool>(&Wbool)->default_value(true)	Option to change logic of all flag controls
S_fqclevel	po::value<unsigned char>(&S_fqclevel)->default_value(0x3F)	fqclevel [Controlinfo to set for the controlled datum]
S_fr	po::value<unsigned char>(&S_fr)->default_value(0x3F)	fr
S_fcc	po::value<unsigned char>(&S_fcc)->default_value(0x3F)	fcc
S_fs	po::value<unsigned char>(&S_fs)->default_value(0x3F)	fs
S_fnum	po::value<unsigned char>(&S_fnum)->default_value(0x3F)	fnum
S_fpos	po::value<unsigned char>(&S_fpos)->default_value(0x3F)	fpos
S_fmis	po::value<unsigned char>(&S_fmis)->default_value(0x3F)	fmis
S_ftime	po::value<unsigned char>(&S_ftime)->default_value(0x3F)	ftime
S_fw	po::value<unsigned char>(&S_fw)->default_value(0x3F)	fw
S_fstat	po::value<unsigned char>(&S_fstat)->default_value(0x3F)	fstat
S_fcp	po::value<unsigned char>(&S_fcp)->default_value(0x3F)	fcp
S_fclim	po::value<unsigned char>(&S_fclim)->default_value(0x3F)	fclim
S_fd	po::value<unsigned char>(&S_fd)->default_value(0x3F)	fd
S_fpre	po::value<unsigned char>(&S_fpre)->default_value(0x3F)	fpre
S_fcombi	po::value<unsigned char>(&S_fcombi)->default_value(0x3F)	fcombi
S_fhqc	po::value<unsigned char>(&S_fhqc)->default_value(0x3F)	fhqc
change_fqclevel	po::value<std::vector<std::string> >(&change_fqclevel)	Conditional change to fqclevel
change_fr	po::value<std::vector<std::string> >(&change_fr)	Conditional change to fr
change_fcc	po::value<std::vector<std::string> >(&change_fcc)	Conditional change to fcc
change_fs	po::value<std::vector<std::string> >(&change_fs)	Conditional change to fs
change_fnum	po::value<std::vector<std::string> >(&change_fnum)	Conditional change to fnum
change_fpos	po::value<std::vector<std::string> >(&change_fpos)	Conditional change to fpos
change_fmis	po::value<std::vector<std::string> >(&change_fmis)	Conditional change to fmis
change_ftime	po::value<std::vector<std::string> >(&change_ftime)	Conditional change to ftime
change_fw	po::value<std::vector<std::string> >(&change_fw)	Conditional change to fw
change_fstat	po::value<std::vector<std::string> >(&change_fstat)	Conditional change to fstat
change_fcp	po::value<std::vector<std::string> >(&change_fcp)	Conditional change to fcp
change_fclim	po::value<std::vector<std::string> >(&change_fclim)	Conditional change to fclim
change_fd	po::value<std::vector<std::string> >(&change_fd)	Conditional change to fd
change_fpre	po::value<std::vector<std::string> >(&change_fpre)	Conditional change to fpre
change_fcombi	po::value<std::vector<std::string> >(&change_fcombi)	Conditional change to fcombi
change_fhqc	po::value<std::vector<std::string> >(&change_fhqc)	Conditional change to fhqc
V_fqclevel	po::value<std::vector<unsigned char> >(&V_fqclevel)	fqclevel [Additional vector for controlinfo controls (not used)]
V_fr	po::value<std::vector<unsigned char> >(&V_fr)	fr
V_fcc	po::value<std::vector<unsigned char> >(&V_fcc)	fcc
V_fs	po::value<std::vector<unsigned char> >(&V_fs)	fs
V_fnum	po::value<std::vector<unsigned char> >(&V_fnum)	fnum
V_fpos	po::value<std::vector<unsigned char> >(&V_fpos)	fpos
V_fmis	po::value<std::vector<unsigned char> >(&V_fmis)	fmis
V_ftime	po::value<std::vector<unsigned char> >(&V_ftime)	ftime
V_fw	po::value<std::vector<unsigned char> >(&V_fw)	fw
V_fstat	po::value<std::vector<unsigned char> >(&V_fstat)	fstat
V_fcp	po::value<std::vector<unsigned char> >(&V_fcp)	fcp
V_fclim	po::value<std::vector<unsigned char> >(&V_fclim)	fclim
V_fd	po::value<std::vector<unsigned char> >(&V_fd)	fd
V_fpre	po::value<std::vector<unsigned char> >(&V_fpre)	fpre
V_fcombi	po::value<std::vector<unsigned char> >(&V_fcombi)	fcombi
V_fhqc	po::value<std::vector<unsigned char> >(&V_fhqc)	fhqc

Available

Name to use in the configfuration file	Type	Default Value	Description
RunAtMinute	int	Min at which to run
RunAtHour	int	2	Hour at which to run
RunAtMinute	int	Min at which to run
RunAtHour	int	2	Hour at which to run
Start_YYYY	int	Current Year	Start Year
Start_MM	int	Current Month	Start Month
Start_DD	int	Current Day	Start Day
Start_hh	int	Current Hour	Start Hour
Start_mm	int	Start Minute
Start_ss	int	Start Second
End_YYYY	int	Current Year	End Year
End_MM	int	Current Month	End Month
End_DD	int	Current Day	End Day
End_hh	int	Current Hour	End Hour
End_mm	int	End Minute
End_ss	int	End Second
Last_NDays	int	-1	Last N Days to Run Algorithm
ParamId	int	Parameter ID (of data to process)
TypeId	int	Type ID (of data to process)
Start_YYYY	int	Current Year	Start Year
Start_MM	int	Current Month	Start Month
Start_DD	int	Current Day	Start Day
Start_hh	int	Current Hour	Start Hour
Start_mm	int	Start Minute
Start_ss	int	Start Second
End_YYYY	int	Current Year	End Year
End_MM	int	Current Month	End Month
End_DD	int	Current Day	End Day
End_hh	int	Current Hour	End Hour
End_mm	int	End Minute
End_ss	int	End Second
Last_NDays	int	-1	Last N Days to Run Algorithm
Step_YYYY	int	Step Year
Step_MM	int	0	Step Minute
Step_DD	int	0	Step Day
Step_hh	int	0	Step Hour
Step_mm	int	0	Step Minute
Step_ss	int	0	Step Second
ParamId	int	Parameter ID
TypeId	int	Type ID
AlgoCode	int	-1	Algoritham Code
InterpCode	int	-1	Code to determine method of interpolation
ControlString	std::string	Control Info
ControlVector	std::vector<int>	Control Vector
BestStationFilename	std::string	NotSet	Filename containing the best station list
CfailedString	std::string	Value to add to CFAILED if the algorithm runs and writes data back to the database
MissingValue	int	-32767	Original Missing Data Value
MinValue	int	-32767	Minimum Data Value FOr Some Controls
InterpolationDistance	float	25	Nearest Neighbour Limiting Distance
z_fqclevel	unsigned char	0x3F	fqclevel
z_fr	unsigned char	0x3F	fr
z_fcc	unsigned char	0x3F	fcc
z_fs	unsigned char	0x3F	fs
z_fnum	unsigned char	0x3F	fnum
z_fpos	unsigned char	0x3F	fpos
z_fmis	unsigned char	0x3F	fmis
z_ftime	unsigned char	0x3F	ftime
z_fw	unsigned char	0x3F	fw
z_fstat	unsigned char	0x3F	fstat
z_fcp	unsigned char	0x3F	fcp
z_fclim	unsigned char	0x3F	fclim
z_fd	unsigned char	0x3F	fd
z_fpre	unsigned char	0x3F	fpre
z_fcombi	unsigned char	0x3F	fcombi
z_fhqc	unsigned char	0x3F	fhqc
zbool	bool	true	Option to change logic of all flag controls
R_fqclevel	unsigned char	0x3F	fqclevel
R_fr	unsigned char	0x3F	fr
R_fcc	unsigned char	0x3F	fcc
R_fs	unsigned char	0x3F	fs
R_fnum	unsigned char	0x3F	fnum
R_fpos	unsigned char	0x3F	fpos
R_fmis	unsigned char	0x3F	fmis
R_ftime	unsigned char	0x3F	ftime
R_fw	unsigned char	0x3F	fw
R_fstat	unsigned char	0x3F	fstat
R_fcp	unsigned char	0x3F	fcp
R_fclim	unsigned char	0x3F	fclim
R_fd	unsigned char	0x3F	fd
R_fpre	unsigned char	0x3F	fpre
R_fcombi	unsigned char	0x3F	fcombi
R_fhqc	unsigned char	0x3F	fhqc
Rbool	bool	true	Option to change logic of all flag controls
I_fqclevel	unsigned char	0x3F	fqclevel
I_fr	unsigned char	0x3F	fr
I_fcc	unsigned char	0x3F	fcc
I_fs	unsigned char	0x3F	fs
I_fnum	unsigned char	0x3F	fnum
I_fpos	unsigned char	0x3F	fpos
I_fmis	unsigned char	0x3F	fmis
I_ftime	unsigned char	0x3F	ftime
I_fw	unsigned char	0x3F	fw
I_fstat	unsigned char	0x3F	fstat
I_fcp	unsigned char	0x3F	fcp
I_fclim	unsigned char	0x3F	fclim
I_fd	unsigned char	0x3F	fd
I_fpre	unsigned char	0x3F	fpre
I_fcombi	unsigned char	0x3F	fcombi
I_fhqc	unsigned char	0x3F	fhqc
Ibool	bool	true	Option to change logic of all flag controls
A_fqclevel	unsigned char	0x3F	fqclevel
A_fr	unsigned char	0x3F	fr
A_fcc	unsigned char	0x3F	fcc
A_fs	unsigned char	0x3F	fs
A_fnum	unsigned char	0x3F	fnum
A_fpos	unsigned char	0x3F	fpos
A_fmis	unsigned char	0x3F	fmis
A_ftime	unsigned char	0x3F	ftime
A_fw	unsigned char	0x3F	fw
A_fstat	unsigned char	0x3F	fstat
A_fcp	unsigned char	0x3F	fcp
A_fclim	unsigned char	0x3F	fclim
A_fd	unsigned char	0x3F	fd
A_fpre	unsigned char	0x3F	fpre
A_fcombi	unsigned char	0x3F	fcombi
A_fhqc	unsigned char	0x3F	fhqc
Abool	bool	true	Option to change logic of all flag controls
W_fqclevel	unsigned char	0x3F	fqclevel
W_fr	unsigned char	0x3F	fr
W_fcc	unsigned char	0x3F	fcc
W_fs	unsigned char	0x3F	fs
W_fnum	unsigned char	0x3F	fnum
W_fpos	unsigned char	0x3F	fpos
W_fmis	unsigned char	0x3F	fmis
W_ftime	unsigned char	0x3F	ftime
W_fw	unsigned char	0x3F	fw
W_fstat	unsigned char	0x3F	fstat
W_fcp	unsigned char	0x3F	fcp
W_fclim	unsigned char	0x3F	fclim
W_fd	unsigned char	0x3F	fd
W_fpre	unsigned char	0x3F	fpre
W_fcombi	unsigned char	0x3F	fcombi
W_fhqc	unsigned char	0x3F	fhqc
Wbool	bool	true	Option to change logic of all flag controls
S_fqclevel	unsigned char	0x3F	fqclevel
S_fr	unsigned char	0x3F	fr
S_fcc	unsigned char	0x3F	fcc
S_fs	unsigned char	0x3F	fs
S_fnum	unsigned char	0x3F	fnum
S_fpos	unsigned char	0x3F	fpos
S_fmis	unsigned char	0x3F	fmis
S_ftime	unsigned char	0x3F	ftime
S_fw	unsigned char	0x3F	fw
S_fstat	unsigned char	0x3F	fstat
S_fcp	unsigned char	0x3F	fcp
S_fclim	unsigned char	0x3F	fclim
S_fd	unsigned char	0x3F	fd
S_fpre	unsigned char	0x3F	fpre
S_fcombi	unsigned char	0x3F	fcombi
S_fhqc	unsigned char	0x3F	fhqc
V_fqclevel	std::vector<unsigned char>	fqclevel
V_fr	std::vector<unsigned char>	fr
V_fcc	std::vector<unsigned char>	fcc
V_fs	std::vector<unsigned char>	fs
V_fnum	std::vector<unsigned char>	fnum
V_fpos	std::vector<unsigned char>	fpos
V_fmis	std::vector<unsigned char>	fmis
V_ftime	std::vector<unsigned char>	ftime
V_fw	std::vector<unsigned char>	fw
V_fstat	std::vector<unsigned char>	fstat
V_fcp	std::vector<unsigned char>	fcp
V_fclim	std::vector<unsigned char>	fclim
V_fd	std::vector<unsigned char>	fd
V_fpre	std::vector<unsigned char>	fpre
V_fcombi	std::vector<unsigned char>	fcombi
V_fhqc	std::vector<unsigned char>	fhqc

Controlflags ControlFlags set by Qc1 or other Qc2 algorithms are used to manage the operation of each Qc2 algorithm. Five different steps are identified and for each different controlflags can be specified to control the step. There must be corresponding logic in the Qc2 algorithm for each flag specified.

The five steps in which controlflags may be checked are:

READ: controlflag settings to filter which data is read

INTERPOLATE: control flag settings to determine if a model value shall be interpolated

ALGORITHM: control flag settings to determine if the algorithm shall be run

SET: the control flag values to set if an algorithm is successful

WRITE: control flag settings to determine if the result sshall be written to the database

The corresponding names of the controlflags are:

READ: R_fqclevel,R_fr,R_fcc,R_fs,R_fnum,R_fpos,R_fmis,R_ftime,R_fw,R_fstat,R_fcp,R_fclim,R_fd,R_fpre,R_fcombi,R_fhqc

INTERPOLATE: I_fqclevel,I_fr,I_fcc,I_fs,I_fnum,I_fpos,I_fmis,I_ftime,I_fw,I_fstat,I_fcp,I_fclim,I_fd,I_fpre,I_fcombi,I_fhqc

ALGORITHM: A_fqclevel,A_fr,A_fcc,A_fs,A_fnum,A_fpos,A_fmis,A_ftime,A_fw,A_fstat,A_fcp,A_fclim,A_fd,A_fpre,A_fcombi,A_fhqc

WRITE: W_fqclevel,W_fr,W_fcc,W_fs,W_fnum,W_fpos,W_fmis,W_ftime,W_fw,W_fstat,W_fcp,W_fclim,W_fd,W_fpre,W_fcombi,W_fhqc

SET: S_fqclevel,S_fr,S_fcc,S_fs,S_fnum,S_fpos,S_fmis,S_ftime,S_fw,S_fstat,S_fcp,S_fclim,S_fd,S_fpre,S_fcombi,S_fhqc

V_flag is also available as a vector container to hold multiple instances of the same flag when algorithms rely on multiple options. :: EXPAND!!!

In general, using X_flag to represent a general flag:

Name	Value Format	Default Value	Description
X_flag	unsigned char [0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F]	? (i.e. 0x3F)	...
...	...	...	...

Blurb

Name	Value Format	Default Value	Description
...	...	...	...
...	...	...	...
...	...	...	...
...	...	...	...