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 01:08:16] paule |
kvalobs:kvoss:system:qc2:flag:analysis [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Qc2 Flag Analysis and Discussion ====== | ====== Qc2 Flag Analysis and Discussion ====== | ||
- | ===== Exisiting | + | Note: a number of Qc2 useinfo changes are coded in lib/ |
+ | |||
+ | ===== 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 7: | Line 9: | ||
* [[https:// | * [[https:// | ||
- | ==== Redistirbution | + | ==== Redistribution |
^Controlflag Setting: |fd=7 | | ^Controlflag Setting: |fd=7 | | ||
- | ^Condition: |The algorithm is considered | + | ^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 47: | 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 68: | Line 73: | ||
**Discussion** (a summary of inputs from many different people, identities removed since this is the public wiki) | **Discussion** (a summary of inputs from many different people, identities removed since this is the public wiki) | ||
- | * ftime should influence useinfo(3) and useinfo(4), propose the useinfo algorithms need a complete redraft once we have an [[#Overview Qc2 Algorithms|overview of the QC2 features]]. | + | * ftime should influence useinfo(3) and useinfo(4), propose the useinfo algorithms need a complete redraft once we have an overview of the QC2 features. ((This page and associated links try to answer this request)). |
* ftime is part of the useinfo(4) requirements but needs to be checked/ | * ftime is part of the useinfo(4) requirements but needs to be checked/ | ||
Line 74: | 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 81: | Line 86: | ||
* Reasons for " | * Reasons for " | ||
+ | |||
+ | * Reasons for " | ||
**Scheduling** | **Scheduling** | ||
Line 94: | Line 101: | ||
==== Space Check ==== | ==== Space Check ==== | ||
+ | In a **Space Check** an independent | ||
+ | The estimate can be considered to be a " | ||
^Controlflag Setting: |fnum=0-6 | ^Controlflag Setting: |fnum=0-6 | ||
Line 105: | Line 114: | ||
|fnum=A | Controlled. Deviation between observed value and SpaceCheck estimate lower than lowest test value || | |fnum=A | Controlled. Deviation between observed value and SpaceCheck estimate lower than lowest test value || | ||
- | ==== General Time Interpolation ==== | + | fnum [0-6] are set by [[https:// |
- | ^Algorithm or Control | + | **Open issues:** |
- | |Other time interpolations | + | |
- | ==== Temporal Discontinuity | + | - Once the SpaceCheck algorithm is validated and demonstrated to be effective shall the SpaceCheck result always take precedence over Qc1-4? |
+ | - Is there need to preserve the results of both Qc1-4 and Qc2-SpaceCheck | ||
+ | - Do we need to include logic to compare the results of Qc1-4 and Qc2-SpaceCheck before making final flag settings? | ||
+ | |||
+ | ==== Assessment of Variability ==== | ||
+ | |||
+ | 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 or the confidence parameters are lowered to mark any given result or check (e.g. use ftime=2 rather than ftime=1). | ||
+ | |||
+ | ==== 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 | ||
+ | ^Condition: |The algorithm is succesful | ||
+ | ^cfailed: |Algorithm applied is recorded | ||
+ | | --oo0oo-- | ||
+ | |||
+ | 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 | ||
+ | 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:// | ||
+ | |||
+ | ^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 188: | 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]| | ||
- | ===== Open Issues ===== | + | Furthermore, |
- | < | ||
+ | ===== 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:// |