Quality control coding: Difference between revisions
From Atomix
Amelie Meyer (talk | contribs) No edit summary |
Amelie Meyer (talk | contribs) No edit summary |
||
Line 24: | Line 24: | ||
! Bit | ! Bit | ||
! Example threshold value | ! Example threshold value | ||
! Ex: True =1 / False =0 | |||
|- | |- | ||
| 1 | | 1 | ||
Line 29: | Line 30: | ||
| Bit 0 | | Bit 0 | ||
| ? | | ? | ||
| 0 | |||
|- | |- | ||
| 2 | | 2 | ||
Line 34: | Line 36: | ||
| Bit 1 | | Bit 1 | ||
| ? | | ? | ||
| 0 | |||
|- | |- | ||
| 4 | | 4 | ||
Line 39: | Line 42: | ||
| Bit 2 | | Bit 2 | ||
| ? | | ? | ||
| 1 | |||
|- | |- | ||
| 8 | | 8 | ||
Line 44: | Line 48: | ||
| Bit 3 | | Bit 3 | ||
| ? | | ? | ||
| 0 | |||
|- | |- | ||
| 16 | | 16 | ||
Line 49: | Line 54: | ||
| Bit 4 | | Bit 4 | ||
| 50% | | 50% | ||
| 1 | |||
|- | |- | ||
| 32 | | 32 | ||
Line 54: | Line 60: | ||
| Bit 5 | | Bit 5 | ||
| ? | | ? | ||
| 0 | |||
|} | |} | ||
Revision as of 19:33, 3 June 2022
In progress
Shear-probe quality-control flags
The Q (quality control) flags associated with shear-probe measurements are not compatible with the Ocean Sites Ocean Sites for quality control (QC) coding.
Every dissipation estimate from every probe must have Q flag. The numerical values of the Q flags are as follows:
1, if FOM > FOM_limit 2, if despike_fraction > despike_fraction_limit 4, if |log(e_max)-log(e_min)|> diss_ratio_limit X \sigma_{\ln\varepsilon} 8, if despike_iterations > despike_iterations_limit 16, if variance resolved > 50% 32, manual flag defined by user
Flag Mask | Flag Meaning | Bit | Example threshold value | Ex: True =1 / False =0 |
---|---|---|---|---|
1 | if FOM > FOM_limit | Bit 0 | ? | 0 |
2 | if despike_fraction > despike_fraction_limit | Bit 1 | ? | 0 |
4 | log(e_max)-log(e_min)|> diss_ratio_limit X \sigma_{\ln\varepsilon} | Bit 2 | ? | 1 |
8 | if despike_iterations > despike_iterations_limit | Bit 3 | ? | 0 |
16 | if variance resolved less than a threshold | Bit 4 | 50% | 1 |
32 | manual flag to be defined by user | Bit 5 | ? | 0 |
The Q flags are combined by their addition. For example a Q value of 3 means that the dissipation estimated failed both FOM_limit test and the despike_fraction test. A value of 15 means that all tests failed. A failure of any one test ([math]\displaystyle{ Q\ne0 }[/math]) means that a dissipation test should not be trusted. The reasons for a failure can be decoded by breaking the value of Q down to its powers of 2.