====== kvqc2 Version: 1.0.7 ====== This version is functionally the same as [[kvoss:system:qc2:user:version:kvqc2-1.0.6|kvqc2-1.0.6]] but includes major bug fixes, after dev-vm101 tests. [[https://svn.met.no/viewvc/kvoss/kvqc2d/branches/kvqc2-1.0.7/]] **Algorithms in this release:** ^ AlgoCode ^Name ^Description ^ | 10 | SingleLinear_v32 | Replaces a single missing value with a linear interpolated value. If a corresponding max or min paramids are also specified then checks that the correction lies within the available max ... min range, if the interpolated values falls outside this range then the algorithm sets the corrected value to the nearest of max or min. Run for any paramid and optional max, min specified in the configuration file. New version updated with respect to a {{kvalobs:kvoss:system:qc2:test:algorithms:qc2-d2_flagg_08_2010_v32.pdf|revised specification}}| | 7 | FlagTester |[[https://svn.met.no/kvoss/kvQc2/branches/kvqc2-1.0.7/src/algorithms/FlagTester.cc|source]] Details provided with the example configuration file below.| **Example Configuration Files** ^SingleLinear ^ *NB* Different/simpler checks applied to the neighbours (CF version 1.0.5) # AlgCode 10 corresponds to https://svn.met.no/kvoss/kvQc2/branches/kvqc2-1.0.1/src/algorithms/SingleLinear.cc # Performs simple linear interpolation for a single point replacement. # If the result is outside an available max min range, the nearest of the # max or min values are used. AlgoCode=10 # Time to run the algorithm RunAtHour=16 RunAtMinute=47 # Check data from the last three days Last_NDays=40 #[Specific Data Type and Paramters ids etc.] ParamId=211 MaxParamId=215 # Optional MinParamId=213 # Optional # Only write back the result if not previously controlled W_fhqc=0 #Flag to set if value is corrected S_ftime=1 change_fmis=3->1 change_fmis=0->4 change_fmis=2->4 #If there is already a 1 in place then we do not want run the algorithm again! U_2=0 ^FlagTester ^ This is a small utility to help check the behaviour of flag settings with the introduction of Qc2. Procedure: - Provide a set of input flags in a text file as "controlinfo useinfo" pairs - Add to the configuration file the desired conntrolinfo changes to apply. - The algorithm changes the controlinfo and then obtains an update to the useinfo from kvUseInfo::setUseFlags based on the values in the controlflag. - The results are written to a text file for later inspection. **Example configuration file with further comments inline ...** #[Flag Analysis Utility] AlgoCode=7 RunAtHour=22 RunAtMinute=33 # File containing test flags, the format of the file is as follows # controlinfo useinfo # # If no file is specified the algorithm does not run. # # e.g. # 0000601000000000 9894700000000000 # 0000002000000000 7039900000000000 # 0000002000000000 9039900000000000 # 0000602000000000 7033700000000000 # 0000003000000000 9899900000000000 # FlagsIn="/metno/kvalobs/FlagsIn.dat" #Flags to change in the controlinfo S_ftime=1 change_fmis=3->1 change_fmis=0->4 change_fmis=2->4 # File where the resultant flags are written FlagsOut="/metno/kvalobs/FlagsOut.dat" # # If no file is specified the results are written to "/tmp/Qc2-Flagtest-Output.dat" # **Spatial Interpolation** No algorithms in this release perform any spatial interpolation hence the InterpCode configuration parameter, if set, has no effect.