Hi,
Funny you suggested a running mean value. I have done that by making 
changes the qc python code ( it was easier than creating a service for me ) 
and then added a couple fields to the weewx config file under the qc 
section to adjust what my threshold values are and also giving me a way to 
turn it off if needed. Yes I know modifying base code is a maint issue but 
I wanted a quick way to fix my issues with my station and the qc module 
seem to be a perfect place for this.  I did find the service tread when I 
was thinking of this and that approach was way more than I wanted to do.
Just my 2 cents. Jerry

On Sunday, June 23, 2019 at 7:37:50 PM UTC-7, Graham Eddy wrote:
>
> could do something like a highly simplified 1st pass filter i.e. have a 
> running mean value and reject items that deviate more than a tolerance in a 
> single interval - this is really QCing something like the first 
> differential (dx/dt) to filter spikes, even if the spikes are within the 
> [min,max] range of the variable
> ____________
> *Graham Eddy*
>
> On 24 Jun 2019, at 7:14 am, Thomas Keffer <[email protected] <javascript:>> 
> wrote:
>
> Unfortunately, StdQC can only reject values that are outside of a [min, 
> max] range.
>
> However, this would not be a very hard service to write. Something like 
> (NOT TESTED):
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9d0bfb2f-b7ba-47f9-9b83-58e908ae116d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to