This is an old revision of the document!


Configuration files

Configuration files to drive Qc2 Algorithms.

BOOST.PROGRAM_OPTIONS provides the user control for setting the parameters and checks to be run. All options are held in external configuration files. The configuration files are stored in $KVALOBS/Qc2Config and must have the suffix .cfg appended to the name.

FIXME Note: “$KVALOBS” no longer used in autotools build version of kvalobs.

The configuration files comprise name value pairs, an example is provided below:

AlgoCode=1
RunAtHour=20
RunAtMinute=30

#[Time Range]
Start_YYYY=2007
Start_MM=5
Start_DD=31
Start_hh=6
Start_mm=0
Start_ss=0

End_YYYY=2007
End_MM=12
End_DD=31
End_hh=6
End_mm=0
End_ss=0

#[Time Step]
Step_DD=1

#[Specific Data Type and Paramters ids etc.]
ParamId=110
TypeId=302
ParamId=110
TypeId=302

The above configuration file will run the algorithm which has the id=1 to be run every day at 20:30 UTC.

The full list of available options is listed below. This table is updated whenever new configuration options are introduced.

CONFIGURATION PARAMETERS

Only parameters required by the algorithm need to be specified.

Blurbski

Name Value Format Default Value Description

Blurbski

Name Value Format Default Value Description

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:

  1. READ: controlflag settings to filter which data is read
  2. INTERPOLATE: control flag settings to determine if a model value shall be interpolated
  3. ALGORITHM: control flag settings to determine if the algorithm shall be run
  4. SET: the control flag values to set if an algorithm is successful
  5. WRITE: control flag settings to determine if the result sshall be written to the database

The corresponding names of the controlflags are:

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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. FIXME :: 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)

Blurbski

Name Value Format Default Value Description

Blurbski

Name Value Format Default Value Description

Blurbski

Name Value Format Default Value Description
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • kvalobs/kvoss/system/qc2/user/configuration.1225209713.txt.gz
  • Last modified: 2022-05-31 09:23:19
  • (external edit)