This is an old revision of the document!


Configuration files

The QC2 software utilises Boost.Program_Options as the user control for setting the parameters and checks to be run. All options are held in external configuration files. For the standard setup the configuration files are stored in /etc/kvalobs/Qc2Config and must have the suffix “.cfg” appended to the name.

The contents of the configuration file directory are scanned every minute. Information about when an algorithm is to be run is held in the configuration files, if the current time matches this time, QC2 will execute the algorithm pointed to by the configuration file. The prototype will not check for additional algorithms to be run until the current task is finished.

See version details for specific examples of configuration files.

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

AlgoCode=1
InterpCode=3
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

# Only write data it it has not been analysed by HQC
W_fhqc=0
# Condition for running the algorithm
A_fd=2

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

Only parameters required by the algorithm need to be specified.

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.1281737091.txt.gz
  • Last modified: 2022-05-31 09:23:19
  • (external edit)