This is an old revision of the document!
Algorithm Configuration Options
The program_options configuration file currently controls the algorithm selected by the value of AlgoCode set.
On 2009/07/08 20:54 the possible values for AlgoCode are:
AlgoCode | Description | Status |
---|---|---|
1 | Redistribute accumulated precipitation. | OK |
2 | Generate variability parameters. | Development. |
3 | General interpolation in both time and space and estimate a modelled value | Development |
4 | Temporal interpolation for “one-point” gaps (fill in missing values). | Development |
5 | Perform only an interpolation. | For testing and quality control. |
6 | Null call … does nothing. | For testing only. |
other | Other values are handled gracefully and no algorithm initiated. | OK |
Temporal interpolation for "one-point" gaps
Algorithm location in kvalobs distribution: src/kvQc2/algoithms/ProcessUnitT
Currently configured for hourly temperature values:
- Locates a single missing value
- Checks if data available immediately before and after the interval
- If available generates first estimate from linear interpolation
- Checks for the Max and Min temperature for the missing value from the measurements registered in the hour afterwards
- Performs a second estimate as the average of 0.5*(MaxT + MinT)
TBD … add logic to propose best model value …