Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
kvalobs:kvoss:system:qc2:user:algorithms [2009-09-26 23:05:15] paule |
kvalobs:kvoss:system:qc2:user:algorithms [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 6: | Line 6: | ||
^ AlgoCode ^Description | ^ AlgoCode ^Description | ||
- | | 1 |Redistribute accumulated precipitation. |OK | | + | | 1 |Redistribute accumulated precipitation. |OK, but not released |
| 2 |Generate variability parameters. | | 2 |Generate variability parameters. | ||
| 3 |General interpolation in both time and space and estimate a modelled value | | 3 |General interpolation in both time and space and estimate a modelled value | ||
- | | 4 |Temporal interpolation for " | + | | 4 |Temporal interpolation for " |
| 5 |Perform only an interpolation. | | 5 |Perform only an interpolation. | ||
- | | 6 |Null call ... does nothing. | + | | 6 |SpaceCheck: |
+ | | 7 |FlagTester: | ||
+ | | 8 |StressTester: | ||
+ | | 9 | SingleMinMaxAverage | **kvqc2_1.0.1** For a given paramid and corresponding Max paramid and Min paramid calculates a correction for an single missing value as average of max and min. If no max or min available or specified then reverts to simple linear. | | ||
+ | | 10 | SingleLinear |**kvqc2_1.0.1** Replaces a single missing value with a linear interpolated value. If specified checks that the correction lies within the available max ... min range, if not sets to nearest of max or min. Run for any paramid and optional max, min specified in the configuration file. | | ||
+ | | 11 |Null call ... does nothing. | ||
| other |Other values are handled gracefully and no algorithm initiated. |OK | | | other |Other values are handled gracefully and no algorithm initiated. |OK | | ||
Line 31: | Line 36: | ||
**TBD** ... add logic to propose best model value ... some example data: | **TBD** ... add logic to propose best model value ... some example data: | ||
- | ^T0 ^T1 ^T2 ^T-Corrected | + | **T-Corrected:** The current supplied corrected value (typically a model value and/or HQC check) |
- | |6.2 |-32767 |6.8 |6.5 |6.5 |**6** |**5.83** |5.1 |6.9 | | + | |
- | |-3.5 |-32767 |-4.8 |**-4** |**-4.15** |**-4.35** |-0.7352 |-4.8 |-3.9 | | + | |
- | |-0.3 |-32767 |-1.7 |-1.2 |-1 |**-1.65** |0.2322 |-2.1 |-1.2 | | + | |
- | |0.1 |-32767 |-0.1 |**-0.1** |**0** |**-0.1** |-1.68 |-0.3 |0.1 | | + | |
- | |-8.5 |-32767 |-6.1 |**-7.5** |**-7.3** |**-6.85** |-16.0474 |-7.7 |-6 | | + | |
- | |-8.4 |-32767 |-8.6 |-8.5 |-8.5 |-8.55 |-10 |-8.6 |-8.5 | | + | |
- | |-6.4 |-32767 |-7.3 |-7 |-6.85 |-7.05 |6.4144 |-7.3 |-6.8 | | + | |
- | |-5.9 |-32767 |-6.4 |-6.2 |-6.15 |-6.1 |5.4016 |-6.4 |-5.8 | | + | |
- | |-16.7 |-32767 |-17.2 |-17 |-16.95 |-17.15 |-1.48 |-17.5 |-16.8 | | + | |
- | |-0.7 |-32767 |-2.7 |-1.2 |-1.7 |-1.9 |0 |-2.7 |-1.1 | | + | |
- | |-3 |-32767 |-2.8 |-2.8 |-2.9 |-2.9 |-0.7224 |-3.3 |-2.5 | | + | |
- | |3.4 |-32767 |3.4 |3.3 |3.4 |3 |3.26372 |2.5 |3.5 | | + | |
- | |-4.6 |-32767 |-4.1 |-2.7 |-4.35 |-4.15 |-13.26 |-4.3 |-4 | | + | |
- | |2.7 |-32767 |1.6 |2 |2.15 |1.35 |5.194 |0.9 |1.8 | | + | |
- | |5.4 |-32767 |4.2 |4.3 |4.8 |4.3 |5.7732 |3.6 |5 | | + | |
- | |4.9 |-32767 |5 |3.4 |4.95 |5.1 |5.47888 |4.8 |5.4 | | + | |
- | |3.2 |-32767 |4.6 |3.7 |3.9 |4.1 |4.27896 |3.6 |4.6 | | + | |
- | |-11.6 |-32767 |-9 |-10 |-10.3 |-9.55 |-10 |-10.2 |-8.9 | | + | |
- | |-9.5 |-32767 |-9.5 |-9.5 |-9.5 |-9.65 |-5.74 |-9.8 |-9.5 | | + | |
- | |0.4 |-32767 |1.4 |1.2 |0.9 |1.8 |0.50176 |1.2 |2.4 | | + | |
+ | **Linear:** Linear interpolation of the proceeding and following value. | ||
+ | |||
+ | **T-Tan-Tax: | ||
+ | |||
+ | **T-neighbour: | ||
+ | |||
+ | ^T0 ^T1 ^T2 ^T-Corrected ^Linear | ||
+ | |-0.3 |-32767 |-1.7 |-1.2 |-1 |**-1.65** |0.2322 |-2.1 |-1.2 |QC1-4-211: | ||
+ | |0.1 |-32767 |-0.1 |**-0.1** |**0** |**-0.1** |-1.68 |-0.3 |0.1 |QC1-4-211: | ||
+ | |-8.5 |-32767 |-6.1 |**-7.5** |**-7.3** |**-6.85** |-16.0474 |-7.7 |-6 |QC1-4-211: | ||
+ | |-8.4 |-32767 |-8.6 |-8.5 |-8.5 |**-8.55** |-10 |-8.6 |-8.5 |QC1-4-211: | ||
+ | |-6.4 |-32767 |-7.3 |**-7** |**-6.85** |**-7.05** |6.4144 |-7.3 |-6.8 |QC1-4-211: | ||
+ | |-5.9 |-32767 |-6.4 |**-6.2** |**-6.15** |**-6.1** |5.4016 |-6.4 |-5.8 |QC1-4-211: | ||
+ | |-16.7 |-32767 |-17.2 |**-17** |**-16.95** |**-17.15** |-1.48 |-17.5 |-16.8 |QC1-4-211: | ||
+ | |-0.7 |-32767 |-2.7 |**-1.2** |**-1.7** |**-1.9** |0 |-2.7 |-1.1 |QC1-4-211: | ||
+ | |-3 |-32767 |-2.8 |**-2.8** |**-2.9** |**-2.9** |-0.7224 |-3.3 |-2.5 |QC1-4-211: | ||
+ | |3.4 |-32767 |3.4 |**3.3** |**3.4** |**3** |3.26372 |2.5 |3.5 |QC1-4-211: | ||
+ | |-4.6 |-32767 |-4.1 |-2.7 |-4.35 |**-4.15** |-13.26 |-4.3 |-4 |QC1-4-211: | ||
+ | |2.7 |-32767 |1.6 |2 |2.15 |**1.35** |5.194 |0.9 |1.8 |QC1-4-211: | ||
+ | |5.4 |-32767 |4.2 |**4.3** |**4.8** |**4.3** |5.7732 |3.6 |5 |QC1-4-211: | ||
+ | |4.9 |-32767 |5 |3.4 |**4.95** |**5.1** |5.47888 |4.8 |5.4 |QC1-4-211: | ||
+ | |3.2 |-32767 |4.6 |**3.7** |**3.9** |**4.1** |4.27896 |3.6 |4.6 |QC1-4-211: | ||
+ | |-11.6 |-32767 |-9 |**-10** |-10.3 |**-9.55** |-10 |-10.2 |-8.9 |QC1-4-211: | ||
+ | |-9.5 |-32767 |-9.5 |**-9.5** |**-9.5** |**-9.65** |-5.74 |-9.8 |-9.5 |QC1-4-211: | ||
+ | |0.4 |-32767 |1.4 |1.2 |0.9 |**1.8** |0.50176 |1.2 |2.4 |QC1-4-211: | ||
+ | |||
+ | Given that the corrected value must lie between TAN and TAX, the bold values indicate possible actual values (other values are out of range). The model values are sometimes very different, but note (for example): | ||
+ | |||
+ | |-8.4 |-32767 |-8.6 |-8.5 |-8.5 |**-8.55** |-10 |-8.6 |-8.5 |QC1-4-211: | ||
+ | |||
+ | Since TAN=-8.6, and TAX=-8.5, the expected value should lie between these values ...but -8.5 may still be closer to the value than the mean -8.55!!!! Suggest only to use mean(TAX, | ||
+ | |||
+ | //if ( Tseries[1].corrected() < MinT.begin()-> | ||
+ | |||
+ | Some results comparing the method to the corrections already in place for missing data for March 2008: | ||
+ | {{kvalobs: | ||
+ | |||
+ | Some thoughts on control [[.: | ||
===== General interpolation in both time and space and estimate a modelled value ===== | ===== General interpolation in both time and space and estimate a modelled value ===== |