Quality control coding: Difference between revisions

From Atomix
No edit summary
No edit summary
Line 21: Line 21:
| 1
| 1
| Bit 0
| Bit 0
| if FOM > FOM_limit
| Poor figure of merit
| 2
| 2
| 0
| 0
Line 28: Line 28:
| 2
| 2
| Bit 1
| Bit 1
| if despike_fraction > despike_fraction_limit
| Large fraction of data with spikes
| 40%
| 40%
| 0
| 0
Line 35: Line 35:
| 4
| 4
| Bit 2
| Bit 2
| if |log(e_max)-log(e_min)|> diss_ratio_limit X \sigma_{\ln\varepsilon}
| Anomalously large disagreement between dissipation estimates from probes
| N/A
| N/A
| 1
| 1
Line 42: Line 42:
| 8
| 8
| Bit 3
| Bit 3
| if despike_iterations > despike_iterations_limit
| Too many iterations of despiking routine
| To be confirmed
| To be confirmed
| 0
| 0
Line 49: Line 49:
| 16
| 16
| Bit 4
| Bit 4
| if variance resolved less than a threshold
| Insufficient variance resolved
| 50%
| 50%
| 1
| 1

Revision as of 10:40, 1 February 2023

[In progress]


Shear-probe quality-control flags

The Q (quality control) flags associated with shear-probe measurements are bitwise flags with boolean values which are CF compliant. More information available here: https://mplnet.gsfc.nasa.gov/about-flags

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 Poor figure of merit 2 0 0
2 Bit 1 Large fraction of data with spikes 40% 0 0
4 Bit 2 Anomalously large disagreement between dissipation estimates from probes N/A 1 4
8 Bit 3 Too many iterations of despiking routine To be confirmed 0 0
16 Bit 4 Insufficient variance resolved 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.


return to Flow chart for shear probes