It looks like the field "rain" was nulled out (otherwise, it would be 0.0,
not NULL), so no bug.

The field rainRate is not null, *however* the fields "rain" and "rainRate"
are completely different. The former represents the amount of rain that
fell, the latter how fast it fell. The field rainRate may be emitted from
your device, in which case, by default, WeeWX uses that value. I suspect
your byows hardware does not do this, so WeeWX will calculate it using
a *running
average* over 15 minutes. So, if you get a bad rain value, it will continue
to "pollute" the rainRate value for up to 15 minutes afterwards. You need
to filter rainRate as well, or set its running average window, given by
option rain_period
<https://www.weewx.com/docs/5.1/reference/weewx-options/stdwxcalculate/#rainrater>,
to something shorter.

[StdQC]
>
>     [[RainRate]]
>         min = 0
>         max = 3
>         min_delta = 0
>         max_delta = 3
>         reject = True
>

I don't know what any of this is. Did you write an addition to StdQC? If
so, you're going to have to debug it!

-tk

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEBuRbK%2Bfa0TVpZz%3DGbMAQaVM1Wk6ykeA4xkofJJyHxxGg%40mail.gmail.com.

Reply via email to