From 0ad2d31a1519a3474e161537e9c08dc1f9ee37ac Mon Sep 17 00:00:00 2001 From: Baptiste Vandecrux <35140661+BaptisteVandecrux@users.noreply.github.com> Date: Mon, 13 May 2024 13:49:56 +0200 Subject: [PATCH] switch back periods fro t, p, rh t 2 hours in persistence_qc --- src/pypromice/qc/persistence.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pypromice/qc/persistence.py b/src/pypromice/qc/persistence.py index 20ceb60c..f59bf45c 100644 --- a/src/pypromice/qc/persistence.py +++ b/src/pypromice/qc/persistence.py @@ -16,12 +16,12 @@ # period is given in hours, 2 persistent 10 min values will be flagged if period < 0.333 DEFAULT_VARIABLE_THRESHOLDS = { - "t": {"max_diff": 0.0001, "period": 0.3}, - "p": {"max_diff": 0.0001, "period": 0.3}, + "t": {"max_diff": 0.0001, "period": 2}, + "p": {"max_diff": 0.0001, "period": 2}, 'gps_lat_lon':{"max_diff": 0.000001, "period": 6}, # gets special handling to remove simultaneously constant gps_lat and gps_lon 'gps_alt':{"max_diff": 0.0001, "period": 6}, - 't_rad':{"max_diff": 0.0001, "period": 0.3}, - "rh": {"max_diff": 0.0001, "period": 0.3}, # gets special handling to allow constant 100% + 't_rad':{"max_diff": 0.0001, "period": 2}, + "rh": {"max_diff": 0.0001, "period": 2}, # gets special handling to allow constant 100% "wspd": {"max_diff": 0.0001, "period": 6}, }