Hi Graham, thanks a lot for your reply. I have the same units, I checked it already.
I post it here because I think it is a bug and the line data_dict[obs_type] = None in apply_qc() doesn't really clean the observation and it is finally written to the database. In any case I'll post it in the user group. Thanks once again. El lunes, 6 de enero de 2025 a las 3:10:22 UTC+1, Graham Eddy escribió: > make sure the value you put in QC section is in same units as the native > units in database (prob US’s quaint unit system) > [this should probably go to weewx-users group rather than > weewx-development] > cheers > *⊣GE⊢* > > On 6 Jan 2025, at 3:54 am, Francis Perea <[email protected]> wrote: > > Hi all, > > I'm having a problem with my rain sensor and I get frequent messages > notifying values outside limits after QC. > > To be exact the function apply_qc in qc.py detects the wrong value and > send a log like this: > > WARNING weewx.qc: 2025-01-05 17:45:00 CET (1736095500) Archive value > 'rainRate' 13.841245901639354 outside limits (0.0, 3.0) > > As I understand the apply_qc function should remove the invalid reading > after detecting it with the instruction > > data_dict[obs_type] = None > > in qc.py line 72, but the wrong value is even so archived. > > Any clue or any other way to remove the wrong observation once it is > detected by apply_qc? > > Thanks a lot in advance. > > -- > 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/c37bfae1-5beb-4178-ab1b-69423c008d49n%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-development/c37bfae1-5beb-4178-ab1b-69423c008d49n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > -- 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/27642726-97a8-4d1e-a5a4-f0b06f36edbfn%40googlegroups.com.
