From c82cb98da4c578b6b44b9abb87af67534a227839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Castel=C3=A3o?= Date: Sun, 8 Mar 2020 20:28:17 -0700 Subject: [PATCH] Upgrading standard eurogoos and gtspp QC procedures Those now follow the 0.21 revision. --- cotede/qc_cfg/eurogoos.json | 56 ++++-------------------------- cotede/qc_cfg/gtspp.json | 68 ++++--------------------------------- 2 files changed, 12 insertions(+), 112 deletions(-) diff --git a/cotede/qc_cfg/eurogoos.json b/cotede/qc_cfg/eurogoos.json index 0e3ca34..9c7a67c 100644 --- a/cotede/qc_cfg/eurogoos.json +++ b/cotede/qc_cfg/eurogoos.json @@ -1,52 +1,8 @@ -{"main": { - "valid_datetime": null, - "valid_position": null, - "location_at_sea": { - "bad_flag": 3 - } - }, -"TEMP": { - "global_range": { - "minval": -2.5, - "maxval": 40 - }, - "digit_roll_over": { - "threshold": 10 - }, - "gradient_depthconditional": { - "pressure_threshold": 500, - "shallow_max": 9.0, - "deep_max": 3.0 - }, - "spike_depthconditional": { - "pressure_threshold": 500, - "shallow_max": 6.0, - "deep_max": 2.0 - }, - "woa_normbias": { - "threshold": 6 - } - }, -"PSAL": { - "global_range": { - "minval": 2, - "maxval": 41 - }, - "digit_roll_over": { - "threshold": 5 - }, - "gradient_depthconditional": { - "pressure_threshold": 500, - "shallow_max": 1.5, - "deep_max": 0.5 - }, - "spike_depthconditional": { - "pressure_threshold": 500, - "shallow_max": 0.9, - "deep_max": 0.3 - }, - "woa_normbias": { - "threshold": 6 - } +{ + "revision": "0.21", + "inherit": "eurogoos_realtime", + "variables": { + "TEMP": {"woa_normbias": {"threshold": 6}}, + "PSAL": {"woa_normbias": {"threshold": 6}} } } diff --git a/cotede/qc_cfg/gtspp.json b/cotede/qc_cfg/gtspp.json index 97a346c..675309d 100644 --- a/cotede/qc_cfg/gtspp.json +++ b/cotede/qc_cfg/gtspp.json @@ -1,64 +1,8 @@ -{"main": { - "valid_datetime": null, - "valid_position": null, - "location_at_sea": { - "bad_flag": 3 - } - }, -"TEMP": { - "global_range": { - "minval": -2.0, - "maxval": 40 - }, - "gradient": { - "threshold": 10.0 - }, - "spike": { - "threshold": 2.0 - }, - "woa_normbias": { - "threshold": 3 - }, - "profile_envelop": [ - ["> 0", "<= 25", -2, 37], - ["> 25", "<= 50", -2, 36], - ["> 50", "<= 100", -2, 36], - ["> 100", "<= 150", -2, 34], - ["> 150", "<= 200", -2, 33], - ["> 200", "<= 300", -2, 29], - ["> 300", "<= 400", -2, 27], - ["> 400", "<= 1100", -2, 27], - ["> 1100", "<= 3000", -1.5, 18], - ["> 3000", "<= 5500", -1.5, 7], - ["> 5500", "<= 12000", -1.5, 4] - ] - }, -"PSAL": { - "global_range": { - "minval": 0, - "maxval": 41 - }, - "gradient": { - "threshold": 5.0 - }, - "spike": { - "threshold": 0.3 - }, - "woa_normbias": { - "threshold": 3 - }, - "profile_envelop": [ - ["> 0", "<= 25", 0, 41], - ["> 25", "<= 50", 0, 41], - ["> 50", "<= 100", 1, 41], - ["> 100", "<= 150", 3, 41], - ["> 150", "<= 200", 3, 41], - ["> 200", "<= 300", 3, 41], - ["> 300", "<= 400", 3, 41], - ["> 400", "<= 1100", 10, 41], - ["> 1100", "<= 3000", 22, 38], - ["> 3000", "<= 5500", 33, 37], - ["> 5500", "<= 12000", 33, 37] - ] +{ + "revision": "0.21", + "inherit": "gtspp_realtime", + "variables": { + "TEMP": {"woa_normbias": {"threshold": 3}}, + "PSAL": {"woa_normbias": {"threshold": 3}} } }