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] 
> <mailto:[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/DC74910F-5676-4749-816A-B11E167C089A%40geddy.au.

Reply via email to