Abnormal Rain amount

76 views
Skip to first unread message

dave.sp...@gmail.com

unread,
May 30, 2019, 7:02:14 PM5/30/19
to weewx...@googlegroups.com

Hello everyone, I am fairly new to running weewx and so far I love it. I am running it on a raspberry pi with a separate MySQL server and HTTP server. Here is my problem. This morning I was looking at the weather data thru the http server and I noticed that I received a very large amount of rain, but in fact there is no rain at the place of my sensor. So I have a couple of questions. 1st – Is there a way to see what triggered the large amount of rain? It measured 5+ inches of rain. 2nd – Is there a way to adjust or remove that entry so it doesn’t skew the data? 3rd – I have seen this a couple of times, but is there a way to help prevent this?

 

Thanks

Dave

p q

unread,
May 30, 2019, 8:12:29 PM5/30/19
to weewx...@googlegroups.com
You can start by tweaking the StdQC section in weewx.conf to limit the erroneous values.  I don't know what causes it. I get random winds of 40 mph when I've never seen real wind above 20 in my sheltered location.

To fix it, I stop the weewx service (sudo /etc/init.d/weewx stop on my raspberry PI). Make a backup copy of the database (/var/lib/weewx/weewx.sdb is the default)  and then edit the database to remove the bogus entries. You can use any SQLite database editor, but I copy it to my Windows PC and edit it with DB Browser. You'll want the archive table. DB Browser lets you filter the results. Look in the rain or maybe rainRate field. I'd just null out the bad records or put in 0s. 
Save and copy the file back and restart Weewx and you should be good to go.

When you're editing the db, one thing I find useful is to check the dateTime field of the records that I'm editing. This is stored as unix Epochs. Easiest way to convert to human readable time is to use a online tool like https://www.epochconverter.com/

Good luck


--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/19e001d5173b%249ed27680%24dc776380%24%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
Peter Quinn
(415)794-2264

dave.sp...@gmail.com

unread,
May 30, 2019, 9:22:33 PM5/30/19
to weewx...@googlegroups.com

Thanks. I was able to edit the archive database.

 

My next question is where is the record high/lo data stored in? I need to remove those entries?

 

Thanks

Dave

Andrew Milner

unread,
May 30, 2019, 9:44:03 PM5/30/19
to weewx-user
I recommend you read the user guide.  There is a section on removing bad rain values.  Once you have edited the archive table the easiest way to recreate the high/low values is to use the wee_database utility to drop daily and rebuild daily.  It is all in the user manual.  Seriously though you will learn a lot by just reading through the user guide and the customisation guide and even if some things do not make much sense at first there is loads and loads of good information in them.



On Friday, 31 May 2019 04:22:33 UTC+3, dave.sp...@gmail.com wrote:

Thanks. I was able to edit the archive database.

 

My next question is where is the record high/lo data stored in? I need to remove those entries?

 

Thanks

Dave

 

From: weewx...@googlegroups.com <weewx...@googlegroups.com> On Behalf Of p q
Sent: Thursday, May 30, 2019 6:12 PM
To: weewx...@googlegroups.com
Subject: Re: [weewx-user] Abnormal Rain amount

 

You can start by tweaking the StdQC section in weewx.conf to limit the erroneous values.  I don't know what causes it. I get random winds of 40 mph when I've never seen real wind above 20 in my sheltered location.

 

To fix it, I stop the weewx service (sudo /etc/init.d/weewx stop on my raspberry PI). Make a backup copy of the database (/var/lib/weewx/weewx.sdb is the default)  and then edit the database to remove the bogus entries. You can use any SQLite database editor, but I copy it to my Windows PC and edit it with DB Browser. You'll want the archive table. DB Browser lets you filter the results. Look in the rain or maybe rainRate field. I'd just null out the bad records or put in 0s. 

Save and copy the file back and restart Weewx and you should be good to go.

 

When you're editing the db, one thing I find useful is to check the dateTime field of the records that I'm editing. This is stored as unix Epochs. Easiest way to convert to human readable time is to use a online tool like https://www.epochconverter.com/

 

Good luck

 

 

On Thu, May 30, 2019 at 4:02 PM <dave.sp...@gmail.com> wrote:

Hello everyone, I am fairly new to running weewx and so far I love it. I am running it on a raspberry pi with a separate MySQL server and HTTP server. Here is my problem. This morning I was looking at the weather data thru the http server and I noticed that I received a very large amount of rain, but in fact there is no rain at the place of my sensor. So I have a couple of questions. 1st – Is there a way to see what triggered the large amount of rain? It measured 5+ inches of rain. 2nd – Is there a way to adjust or remove that entry so it doesn’t skew the data? 3rd – I have seen this a couple of times, but is there a way to help prevent this?

 

Thanks

Dave

--
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 weewx...@googlegroups.com.


 

--

Peter Quinn
(415)794-2264

--
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 weewx...@googlegroups.com.

Greg from Oz

unread,
May 31, 2019, 4:00:06 AM5/31/19
to weewx-user
I had bogus rain because I had the rain gauge higher up a metal pole and when the wind blew the rain tipper moved and registered rain.
I moved the rain gauge down the bottom of the pole so it doesn't move as much.
I have also had spiders using the rain tipper as a see-saw and that registered rain as well.
I have set the 
[StdQC]
    
    [[MinMax]]
        barometer = 26, 32.5, inHg
        outTemp = -40, 60, degree_C
        inTemp = -10, 80, degree_C
        outHumidity = 0, 100
        inHumidity = 0, 100
        windSpeed = 0, 100, km_per_hour
        pressure = 24, 34.5, inHg
        rainRate = 0, 150, mm_per_hour
        rain = 0, 2.9, mm
Seems to work OK so far.

Liz

unread,
May 31, 2019, 6:09:12 AM5/31/19
to weewx...@googlegroups.com
On Thu, 30 May 2019 17:01:30 -0600
<dave.sp...@gmail.com> wrote:

> 3rd - I have seen this a
> couple of times, but is there a way to help prevent this?

You can set a range of values which you will accept and values outside
that are ignored by weeWx

http://weewx.com/docs/usersguide.htm#StdQC

explains this.

Liz
Reply all
Reply to author
Forward
0 new messages