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:flag:analysis [2010-01-17 16:30:03] paule |
kvalobs:kvoss:system:qc2:flag:analysis [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
Note: a number of Qc2 useinfo changes are coded in lib/ | Note: a number of Qc2 useinfo changes are coded in lib/ | ||
- | ===== Exisiting | + | ===== Existing |
A general guide to setting values in Qc2 Control Flags is described in the following set of slides from Lars. The current algorithms and proposals for new algorithms are based on this: | A general guide to setting values in Qc2 Control Flags is described in the following set of slides from Lars. The current algorithms and proposals for new algorithms are based on this: | ||
Line 9: | Line 9: | ||
* [[https:// | * [[https:// | ||
- | ==== Redistirbution | + | ==== Redistribution |
^Controlflag Setting: |fd=7 | | ^Controlflag Setting: |fd=7 | | ||
^Condition: |The algorithm is successful. | | ^Condition: |The algorithm is successful. | | ||
^Cfailed: |Updated to include algorithm name and type of interpolation used to generate the correction | ^Cfailed: |Updated to include algorithm name and type of interpolation used to generate the correction | ||
+ | ^ |(Also possible to use fd=A, fd=B, ... for other methods of redistribution, | ||
**Examples** | **Examples** | ||
Line 49: | Line 50: | ||
==== TAN-TAX Interpolation ==== | ==== TAN-TAX Interpolation ==== | ||
+ | |||
+ | Interpolation of single missing temperature values using the average of TAN and TAX corresponding to the same time interval. | ||
^Controlflag Setting: |ftime=1 | ^Controlflag Setting: |ftime=1 | ||
- | ^Condition: |The algorithm is considered | + | ^Condition: |The algorithm is successful | |
^Cfailed: |Algorithm method recorded. | ^Cfailed: |Algorithm method recorded. | ||
Line 76: | Line 79: | ||
* ftime is not yet included in the requirements for useinfo(3). This needs to be done | * ftime is not yet included in the requirements for useinfo(3). This needs to be done | ||
- | * In this particular example fhqc=7 " | + | * In this particular example fhqc=7 " |
* Currently for the operational configuration the condition set is "DO NOT OVERWRITE A VALUE ALREADY CORRECTED BY HQC". For development/ | * Currently for the operational configuration the condition set is "DO NOT OVERWRITE A VALUE ALREADY CORRECTED BY HQC". For development/ | ||
Line 83: | Line 86: | ||
* Reasons for " | * Reasons for " | ||
+ | |||
+ | * Reasons for " | ||
**Scheduling** | **Scheduling** | ||
Line 96: | Line 101: | ||
==== Space Check ==== | ==== Space Check ==== | ||
- | In a **Space Check** an independent | + | In a **Space Check** an independent |
The estimate can be considered to be a " | The estimate can be considered to be a " | ||
Line 111: | Line 116: | ||
fnum [0-6] are set by [[https:// | fnum [0-6] are set by [[https:// | ||
- | Open issues: | + | **Open issues:** |
- Once the SpaceCheck algorithm is validated and demonstrated to be effective shall the SpaceCheck result always take precedence over Qc1-4? | - Once the SpaceCheck algorithm is validated and demonstrated to be effective shall the SpaceCheck result always take precedence over Qc1-4? | ||
Line 117: | Line 122: | ||
- Do we need to include logic to compare the results of Qc1-4 and Qc2-SpaceCheck before making final flag settings? | - Do we need to include logic to compare the results of Qc1-4 and Qc2-SpaceCheck before making final flag settings? | ||
- | ==== General Time Interpolation | + | ==== Assessment of Variability |
- | ^Algorithm | + | Another type of Space Check is to determine the variabilty in the nearest neighbour field. If the variability is high then spatial algorithms are either not applied |
- | |Other time interpolations | + | |
+ | ==== Comparison with other fields ==== | ||
+ | |||
+ | Future Qc2 checks will involve comparison with radar, satellite data etc. How will this eventuality be flagged? For weather analysis fw is available (although possibly now proposed for other uses as well) and for climatological controls (e.g. comparison with expected monthly statistics) fclim is available. | ||
+ | |||
+ | ==== Correction generated by Time (and/or Space) Interpolation ==== | ||
^Controlflag Setting: |ftime=1 | ^Controlflag Setting: |ftime=1 | ||
- | ^Condition: |Corrected value | + | ^Condition: |The algorithm is succesful |
+ | ^cfailed: |Algorithm applied is recorded | ||
| --oo0oo-- | | --oo0oo-- | ||
- | ==== Temporal Discontinuity | + | General assumption is that only actually replace a missing value (be it a single point or a set of points) if there is good confidence in the corrected estimates, e.g. the time interpolation and spatial interpolation agree. |
+ | ftime=2 and ftime=3 are also available for use as defined in the kvalobs original specification. | ||
+ | |||
+ | ==== Outlier detection ==== | ||
+ | |||
+ | The Space Check and Time Interpolation methods may also identify outliers, e.g. Dip test. The existing specification for controlinfo(3), | ||
+ | |||
+ | ==== Other Algorithms ==== | ||
+ | |||
+ | TBD | ||
+ | |||
+ | ==== General use of fw to log Qc2 corrections ==== | ||
+ | |||
+ | This specification is taken from Slide 3 of [[https:// | ||
- | :!: FIXME more to come FIXME :!: | + | ^fw=0 |Not controlled | |
+ | ^fw=1 |Controlled, | ||
+ | ^fw=2 |Controlled. Slightly suspect value, not corrected (changed) | | ||
+ | ^fw=3 |Controlled. Highly suspect value, not corrected (changed) | | ||
+ | ^fw=4 |Controlled. Erronous value, not corrected (new) | | ||
+ | ^fw=5 |Controlled. Erronous value, corrected automatically (new) | | ||
+ | ^ - | - | | ||
+ | ^fw=8 |Outlier, rejected (new) | | ||
===== Turn on Qc2 in useinfo? ===== | ===== Turn on Qc2 in useinfo? ===== | ||
Line 206: | Line 237: | ||
</ | </ | ||
+ | ===== Some empirical tests ===== | ||
+ | Generate a sample Qc2 controlinfo value and observe what codes the above generates for useinfo. (Please suggest additional test cases) | ||
+ | ^Qc2 Flag or Specific Algorithm ^Controlinfo ^Resulting useinfo ^ | ||
+ | |RR24 Redistribution |[1000001000007000] |[5896900000000000]| | ||
+ | |RR24 Redistribution |[1140001000007000] |[5896900000000001]| | ||
+ | |ftime from TAN TAX interpolation |[1000600100000000] |[5033700000000001]| | ||
+ | |ftime |[1000600200000000] |[5033700000000001]| | ||
+ | |ftime |[1000600300000000] |[5033700000000001]| | ||
+ | |fnum |[1100700000000000] |[7000000000000001]| | ||
+ | |fnum |[1100800000000000] |[7000000000000001]| | ||
+ | |fnum |[1100900000000000] |[7000000000000001]| | ||
+ | |fnum |[1100A00000000000] |[7000000000000001]| | ||
+ | |fclim |[1111000000010000] |[5000000000000000]| | ||
+ | |fclim |[1111000000020000] |[5010500000000001]| | ||
+ | |fclim |[1111000000030000] |[5033500000000001]| | ||
+ | |fw |[1111000010000000] |[5000000000000000]| | ||
+ | |fw |[1111000020000000] |[5010500000000001]| | ||
+ | |fw |[1111000030000000] |[5033500000000001]| | ||
+ | |fw |[1111000040000000] |[5000000000000001]| | ||
+ | |fw |[1111000050000000] |[5000000000000001]| | ||
+ | |fw |[1111000080000000] |[5000000000000001]| | ||
+ | |control (no Qc2) |[1111000000000000] |[5000000000000000]| | ||
+ | |control (no Qc2) |[1111000000000000] |[5000000000000000]| | ||
+ | |control (no Qc2) |[1000001000000000] |[9899900000000000]| | ||
+ | Furthermore, | ||
- | ===== Open Issues ===== | ||
- | |||
- | - Shall src/ | ||
+ | ===== Open Issues ===== | ||
+ | - Shall src/ | ||
+ | - Use fw to record general information on Qc2 controls or keep reserved for weather analysis? See Slide 3 of [[https:// | ||
+ | - Given this overview of Qc2 control flagging is the specification for the corresponding useinfo in place ... what still needs to be done? | ||
- | N.B. [[https:// |