Quality control coding: Difference between revisions

From Atomix
No edit summary
No edit summary
Line 17: Line 17:
! Example threshold value
! Example threshold value
! Ex: True =1  / False =0  
! Ex: True =1  / False =0  
! Ex: Q value
|-
|-
| 1
| 1
Line 22: Line 23:
| if FOM > FOM_limit
| if FOM > FOM_limit
| 2
| 2
| 0
| 0
| 0
|-
|-
Line 28: Line 30:
| if despike_fraction > despike_fraction_limit
| if despike_fraction > despike_fraction_limit
| 40%
| 40%
| 0
| 0
| 0
|-
|-
Line 35: Line 38:
| N/A
| N/A
| 1
| 1
| 4
|-
|-
| 8
| 8
Line 40: Line 44:
| if despike_iterations > despike_iterations_limit
| if despike_iterations > despike_iterations_limit
| To be confirmed
| To be confirmed
| 0
| 0
| 0
|-
|-
Line 47: Line 52:
| 50%
| 50%
| 1
| 1
| 16
|-
|-
| 32
| 32
Line 52: Line 58:
| manual flag to be defined by user
| manual flag to be defined by user
| N/A
| N/A
| 0
| 0
| 0
|-
|-
Line 58: Line 65:
| manual flag to be defined by user
| manual flag to be defined by user
| N/A
| N/A
| 0
| 0
| 0
|-
|-
Line 65: Line 73:
| N/A
| N/A
| 0  
| 0  
| 0
| Final Q = 20
|}
|}


Line 70: Line 80:


The Q flags are combined by their addition.
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.
For example a Q value of 20 means that the dissipation estimated failed both dissipation ratio limit test and the resolved variance test.
A value of 15 means that all tests failed.
A value of 255 means that all tests failed.
A failure of any one test (<math>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.
The reasons for a failure can be decoded by breaking the value of Q down to its powers of 2.




[[Category: Shear probes]]
[[Category: Shear probes]]

Revision as of 19:51, 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:

Flag Mask Bit Flag Meaning Example threshold value Ex: True =1 / False =0 Ex: Q value
1 Bit 0 if FOM > FOM_limit 2 0 0
2 Bit 1 if despike_fraction > despike_fraction_limit 40% 0 0
4 Bit 2 log(e_max)-log(e_min)|> diss_ratio_limit X \sigma_{\ln\varepsilon} N/A 1 4
8 Bit 3 if despike_iterations > despike_iterations_limit To be confirmed 0 0
16 Bit 4 if variance resolved less than a threshold 50% 1 16
32 Bit 5 manual flag to be defined by user N/A 0 0
64 Bit 6 manual flag to be defined by user N/A 0 0
128 Bit 7 manual flag to be defined by user N/A 0 0 Final Q = 20


The Q flags are combined by their addition. For example a Q value of 20 means that the dissipation estimated failed both dissipation ratio limit test and the resolved variance test. A value of 255 means that all tests failed. The reasons for a failure can be decoded by breaking the value of Q down to its powers of 2.