(1) QC — glidertest diagnostics
- Flat-line test: flags a stretch where the value barely changes — its range (max − min) over a trailing window (the suspect/fail window, in seconds) stays within the tolerance. A longer window or a tighter tolerance flags fewer points, so a stuck sensor is caught but homogeneous water is not.
- Spike test: flags a lone point that jumps away from its neighbours — the value minus the average of its two adjacent samples exceeds the threshold, catching a single outlier rather than a sustained offset.
Profile number: No issues detected. Profile duration: 4 profiles have abnormal duration.
glidertest diagnostics — run on the fly, not written to the file. Thresholds are glidertest's defaults unless a report config overrides them, shown so the verdict can be reproduced.
| Variable | Test | Suspect range / threshold | Fail range / threshold | Source |
|---|---|---|---|---|
| TEMP | gross-range | [0, 30] | [-2.5, 40] (not applied) | default |
| TEMP | spike | |Δ| > 2.0 | |Δ| > 6.0 | default |
| TEMP | flat-line | flat ≥ 2 s (tol ±0.0005) | flat ≥ 4 s (tol ±0.0005) | default |
| TEMP | hysteresis | > 5% dive–climb error per depth bin | > 5 bins exceed | default |
| PSAL | gross-range | [5, 38] | [2, 41] (not applied) | default |
| PSAL | spike | |Δ| > 0.3 | |Δ| > 0.9 | default |
| PSAL | flat-line | flat ≥ 2 s (tol ±0.0005) | flat ≥ 4 s (tol ±0.0005) | default |
| PSAL | hysteresis | > 5% dive–climb error per depth bin | > 5 bins exceed | default |
| DOXY | gross-range | [0, 350] | [0, 500] (not applied) | default |
| DOXY | spike | |Δ| > 10 | |Δ| > 50 | default |
| DOXY | flat-line | flat ≥ 2 s (tol ±0.01) | flat ≥ 4 s (tol ±0.01) | default |
| DOXY | hysteresis | > 5% dive–climb error per depth bin | > 5 bins exceed | default |
| CHLA | gross-range | [0, 15] | [-1, 20] (not applied) | default |
| CHLA | spike | |Δ| > 1 | |Δ| > 5 | default |
| CHLA | flat-line | flat ≥ 10 s (tol ±0.01) | flat ≥ 30 s (tol ±0.01) | default |
| CHLA | hysteresis | > 5% dive–climb error per depth bin | > 5 bins exceed | default |
Test × variable: flagged-sample counts (per-sample tests show a small dashed bar). Gross range applies the suspect span only — the fail span above is not yet evaluated. Hysteresis counts depth bins with >5% dive–climb error; a variable is flagged when more than 5 bins exceed it.
| Test | TEMP | PSAL | DOXY | CHLA |
|---|---|---|---|---|
| Gross range | clean | 4 out of range | 14,579 out of range | 385 out of range |
| Spike | clean | 6 susp 15 fail | 21 susp | clean |
| Flat line | 622 susp 287 fail | 1,256 susp 133 fail | 68 susp 378 fail | 405 susp |
| Hysteresis (mean) | 0/82 bins | 0/82 bins | 20/82 bins | 68/82 bins |
| Hysteresis (range) | 0/82 bins | 0/82 bins | 6/82 bins | 9/82 bins |
(2) Gross range (T–S)
Current gross-range limits (applied)
- TEMP — suspect [0, 30], fail [-2.5, 40]
- PSAL — suspect [5, 38], fail [2, 41]
Suggested gross-range limits (this deployment) — copy into your config
Each span is the central 99.9% of the finite values padded by 1% (suspect) and 5% (fail) of that span. Descriptive of this mission, not a physical range.
(3) QC — TEMP
Current limits (applied)
- TEMP flat line — suspect ≥ 2 s, fail ≥ 4 s (tol ±0.0005)
Suggested limits (this deployment) — copy into your config
TEMP is sampled about every 1 s; a flat-line window needs to span a couple of its samples, so the suggested suspect is 2× and fail 3× that interval (a window shorter than the sampling flags every point). This is a starting point: if it flags too many points as flat-line, lengthen the window (raise suspect_threshold / fail_threshold) or lower the tolerance. Descriptive of this mission, not a physical range.
Flat-line runs
Spike
(4) QC — PSAL
Current limits (applied)
- PSAL flat line — suspect ≥ 2 s, fail ≥ 4 s (tol ±0.0005)
Suggested limits (this deployment) — copy into your config
PSAL is sampled about every 1 s; a flat-line window needs to span a couple of its samples, so the suggested suspect is 2× and fail 3× that interval (a window shorter than the sampling flags every point). This is a starting point: if it flags too many points as flat-line, lengthen the window (raise suspect_threshold / fail_threshold) or lower the tolerance. Descriptive of this mission, not a physical range.
Flat-line runs
Spike
(5) QC — DOXY
Current limits (applied)
- DOXY gross range — suspect [0, 350], fail [0, 500]
- DOXY flat line — suspect ≥ 2 s, fail ≥ 4 s (tol ±0.01)
Suggested limits (this deployment) — copy into your config
The gross span is the central 99.9% of the finite values ([0.0, 380.19]) padded by 1% (suspect) and 5% (fail) of that span (lower bound clamped at 0). DOXY is sampled about every 1 s; a flat-line window needs to span a couple of its samples, so the suggested suspect is 2× and fail 3× that interval (a window shorter than the sampling flags every point). This is a starting point: if it flags too many points as flat-line, lengthen the window (raise suspect_threshold / fail_threshold) or lower the tolerance. Descriptive of this mission, not a physical range.
Flat-line runs
Spike
(6) QC — CHLA
Current limits (applied)
- CHLA gross range — suspect [0, 15], fail [-1, 20]
- CHLA flat line — suspect ≥ 10 s, fail ≥ 30 s (tol ±0.01)
Suggested limits (this deployment) — copy into your config
The gross span is the central 99.9% of the finite values ([-0.07, 13.41]) padded by 1% (suspect) and 5% (fail) of that span (lower bound clamped at 0). CHLA is sampled about every 4.1 s; a flat-line window needs to span a couple of its samples, so the suggested suspect is 2× and fail 3× that interval (a window shorter than the sampling flags every point). This is a starting point: if it flags too many points as flat-line, lengthen the window (raise suspect_threshold / fail_threshold) or lower the tolerance. Descriptive of this mission, not a physical range.
Flat-line runs
CHLA: start-to-end change of each flat run against the tolerance (stuck sensor vs slow signal) — applicable but unavailable: ValueError: CHLA: no multi-sample flat run (flat flags are all isolated samples)