From a23c24fbd2de426657823f98174287dab2b7c170 Mon Sep 17 00:00:00 2001 From: Zilog80 Date: Thu, 28 Jan 2021 12:02:57 +0100 Subject: [PATCH] iMet-54 v0.5.2: more remarks: RH sensor has time-lag at low temperatures --- demod/mod/imet54mod.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demod/mod/imet54mod.c b/demod/mod/imet54mod.c index 27f502e..88bdee5 100644 --- a/demod/mod/imet54mod.c +++ b/demod/mod/imet54mod.c @@ -313,12 +313,14 @@ static int get_PTU(gpx_t *gpx) { float *f = (float*)&val; float rh = -1.0; + // air temperature val = i4be(gpx->frame + pos_PTU_T); if (*f > -120.0f && *f < 80.0f) gpx->T = *f; else gpx->T = -273.15f; // raw RH? // water vapor saturation pressure (Hyland and Wexler)? + // (note: humidity sensor has significant time-lag at low temperatures) val = i4be(gpx->frame + pos_PTU_RH); if (*f < 0.0f) gpx->_RH = 0.0f; else if (*f > 100.0f) gpx->_RH = 100.0f;