Missing rain data

143 views
Skip to first unread message

HugoMeteo - GR

unread,
Feb 9, 2016, 6:15:59 AM2/9/16
to weewx-user
Hello,
First, sorry for my english, I'm french !

So i'm using a WMR200 linked to a Raspberry. Today I saw that some rain data were missing, but not all the time. Sometimes rain data is added, sometimes no.
I tried to restart weewx 3 or 4 times, and waiting to see if rain displays ... still nothing !
I don't know what I should give you to help me (log or something ?)

I hope you can help me ! 

Thanks

Thomas Keffer

unread,
Feb 9, 2016, 8:48:07 AM2/9/16
to weewx-user
Hello, Hugo

You will have to be more specific. What do you mean by "some rain data were missing?" 

Do you mean that the daily rain total is less than what you are seeing on the console of your WMR200? Or, do you mean there are gaps in the plots? Or, something else?

-tk



--
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.
For more options, visit https://groups.google.com/d/optout.

HugoMeteo - GR

unread,
Feb 9, 2016, 9:13:07 AM2/9/16
to weewx-user
Well, the rain rate is fine, but for exemple, on my station I got 26mm, and only 4mm on my weewx panel.
So yes, I'm seeing less than my console :(

Andrew Milner

unread,
Feb 9, 2016, 9:22:54 AM2/9/16
to weewx-user
Are you talking about the rainfall in the past 24 hours?
In the weewx standard skin the printed value on the left of the page is rainfall since midnight, whilst the graph on the right shows the previous 24 hours (and if you add up eah column should equal the total on the station.

HugoMeteo - GR

unread,
Feb 9, 2016, 9:48:20 AM2/9/16
to weewx-user
I know that. But for example, at 12:00 i had 2,1mm on my console, and nothing on weewx.
Here is the link of the panel, if needed: http://raspberry.meteonpdc.fr

Andrew Milner

unread,
Feb 9, 2016, 10:04:36 AM2/9/16
to weewx-user
It would help if there was an image posted at the time of your observation!!  Currently weewx says 4,3mm for todfays rain, and the graph shows 4.3mm total in previous 24 hrs - I don't know what your console says at the present time.  From what I can see on the graph now (at 1556) at 1200 the previous 24 hrs should have shown AT LEAST 4.3mm in the previous 24 hrs - so your console should have shown more than the 2.1 mm. which you say was on your console.

Thomas Keffer

unread,
Feb 9, 2016, 10:30:01 AM2/9/16
to weewx-user
On Tue, Feb 9, 2016 at 6:48 AM, HugoMeteo - GR <goldrushm...@gmail.com> wrote:
I know that. But for example, at 12:00 i had 2,1mm on my console, and nothing on weewx.
Here is the link of the panel, if needed: http://raspberry.meteonpdc.fr


I guess I'm not following. ​When I look at your graph, I am seeing 4.3mm of rain between midnight and 1200, not "nothing."

-tk​
 

HugoMeteo - GR

unread,
Feb 9, 2016, 11:09:53 AM2/9/16
to weewx-user
Well, at the moment, I got 26,4mm for the last 24 hours on my console. If weewx were true, since midnight I should have 20mm. So there is a problem :c

Thomas Keffer

unread,
Feb 9, 2016, 12:10:48 PM2/9/16
to weewx-user
There is extra debugging built into the WMR200 driver, so we might as well use it! Please do the following. At the top of weewx.conf, set

debug=1

and in the WMR200 section, set

[WMR200]

debug_packets_rain = 1

Then restart weewx. This will add extra debug information to the system log. Let it run over a rain storm, then send us the results, along with what the console says. The results will be rather voluminous, so you may want to post the log via pastebin.com, or some other means.

-tk





Andrew Milner

unread,
Feb 9, 2016, 12:37:05 PM2/9/16
to weewx-user
I'm baffled - at 1200 you said your console gave 2.1 mm that was 'missing' from weewx - now you say the console is showing 26mm for the past 24 hrs.  Has it been raining very hard for the past 5 hours??
Are you 100% sure your console is displaying the 24 hr total, and not the total total or some other value?

HugoMeteo - GR

unread,
Feb 12, 2016, 3:43:58 AM2/12/16
to weewx-user
Nah, I just just saying that I have more rain on my console than on weewx.
Ok so, I just got 1,1mm on my console 5mins ago, and I got this on my weewx debug: http://prntscr.com/a27lv5
I think the problem is the rain total from ... 01-01-2007 ?

Is there a way to clean the rain "memory" of weewx ? (but to keep it on the NOAA reports for past months) ?
thanks !

Andrew Milner

unread,
Feb 12, 2016, 3:52:33 AM2/12/16
to weewx-user
what was the 1.1mm - for a time period or total since initialised - orwhat?  As far as I know the instrument just keeps incrementing a counter - weewx has to translate that into rain during a period.  You must make sure that you arecomparing apples with apples and not apples with pears or you will get confusion.  If you reset the instrument you probably (I am no expert) need to reset/restart weewx.
Am sure an accurate person will chip in!

Andrew Milner

unread,
Feb 12, 2016, 3:54:03 AM2/12/16
to weewx-user

sorry - should have said wmr rather than accurate

HugoMeteo - GR

unread,
Feb 12, 2016, 3:59:55 AM2/12/16
to weewx-user
Well, the 1,1mm is for the past hour on my console. Weewx just take 0,1mm, as I can see.
I found on a forum that weewx just do something like: (OldTotalRain - NewTotalRain) to give the rain data.
So if I'm correct, If I just reset my WMR200 datalogger on my weewx memory, everything will be fine again ?

Andrew Milner

unread,
Feb 12, 2016, 4:15:20 AM2/12/16
to weewx-user
Your website currently shows 0 for rain today, not 0.1 - so where in weewx did you see 0.1?

Try resetting the logger, restarting weewx, and see ....

HugoMeteo - GR

unread,
Feb 12, 2016, 6:01:27 AM2/12/16
to weewx-user
Well, I did a reset of my WMR200 and reinstalled weewx.
Now, the total rain is 0mm, I hope it's fine now, I'll wait for next rain :)

HugoMeteo - GR

unread,
Feb 12, 2016, 6:30:44 AM2/12/16
to weewx-user
Still not working guys :(
I just got 8,8mm for the past hour on my console, and in the weewx debug mode, I only have 0,89mm on weewx ?? see: http://prntscr.com/a296bx
The unit on my console is mm/hr, same on weewx. Maybe an error here ? I don't know :(

gjr80

unread,
Feb 12, 2016, 6:36:32 AM2/12/16
to weewx-user
Hi,

Are you using metric units in your database? If so remember that weewx records rainfall in cm when using metric (metricwx records mm) so I would not be surprised to see weewx debug code showing one-tenth the rainfall on the console. Of course what is displayed on the web page should match.

Gary

HugoMeteo - GR

unread,
Feb 12, 2016, 6:50:45 AM2/12/16
to weewx-user
Ok ! So I just should use the US system and change the units ? Or the "METRICX" should be fine ?

HugoMeteo - GR

unread,
Feb 12, 2016, 7:01:16 AM2/12/16
to weewx-user
Or the problem is that it doesn't display the rain data on the website ? :(


Le vendredi 12 février 2016 12:36:32 UTC+1, gjr80 a écrit :

gjr80

unread,
Feb 12, 2016, 7:01:36 AM2/12/16
to weewx-user
You can use whatever unit system you want, us, metric or metricwx; it really makes no difference unless you have some specific need to store your data in a specific format. The template/report generation system takes care of formatting any template/report output into whatever units you want. The standard advice that you will find on other posts on this board (and I think in one of the manuals) is unless you have a specific need leave it as the default (us).

Gary

gjr80

unread,
Feb 12, 2016, 7:06:55 AM2/12/16
to weewx-user
Two different problems with likely two quite different solutions. Hence the need to be precise in where the issue is. If the data being archived by weewx is consistent with your console then that tends to rule out weewx' interaction with your station. Of course if your weewx archive data is not consistent with your console then clearly your reports will never be correct; you would then have to sort out the interraction between your station and weewx. Remember, as Andrew said, you need to compare apples with apples.

Gary

HugoMeteo - GR

unread,
Feb 12, 2016, 7:18:54 AM2/12/16
to weewx-user
Okay. I think the problem is that weewx divide my rain data by 10. In anyway, it's not displayed on the website. (Maybe only display when <1mm, idk). So I think the problem is with the unit, and I don't know at all how to fix it :(

Andrew Milner

unread,
Feb 12, 2016, 7:33:28 AM2/12/16
to weewx-user
Weewx stores rain in CM - your station has rain in MM - so yes, weewx will divide your rain by 10.  On your website make sure the rain is being converted back to mm by setting the units in the skin.conf (or weewx.conf) group_rain and group_rain_rate to mm and mm/hr if you want the outputs to be in mm.

HugoMeteo - GR

unread,
Feb 12, 2016, 7:40:33 AM2/12/16
to weewx-user
Well, thanks all, it's solved ! :) Just changed record_generation = software and my rain graph is back. I hope it will not change anything else :p Thanks for help guys l:)

Andrew Milner

unread,
Feb 12, 2016, 7:41:12 AM2/12/16
to weewx-user
What archive interval are yopu using on your RPi??  I have seen graphs on your website timed 2 minutes apart - I am not sure the RPi can generate reports and images so quickly - you are likely to start getting problems and database locks.  Set your archive interval to at least 5 minutes.  If you jneed to see the results of a change you have made to sw run wee_reports rather than changing the archive interval to a small number.

HugoMeteo - GR

unread,
Feb 12, 2016, 7:48:11 AM2/12/16
to weewx-user
Well, I'm using archive_interval = 60 and archive_delay = 30, I'll try to chance this, thanks :)

Thomas Keffer

unread,
Feb 12, 2016, 9:39:16 AM2/12/16
to weewx-user
On Fri, Feb 12, 2016 at 4:48 AM, HugoMeteo - GR <goldrushm...@gmail.com> wrote:
Well, I'm using archive_interval = 60 and archive_delay = 30, I'll try to chance this, thanks :)

​Here's what's happening:

WMR200s emit partial packets, and they emit them irregularly. So, there might be a temperature packet every 10 to 20 seconds or so. Rain is emitted even less often, perhaps every 30-50 seconds. 

You have such a short archive interval (60 seconds), that weewx may not even see a rain packet during the interval. So, the rain field is left empty.

​I don't know how much data you have in your archive, but you should consider switching to a 2 or even 5 minute archive interval. I think you'd be much happier.

-tk​

HugoMeteo - GR

unread,
Feb 12, 2016, 2:05:13 PM2/12/16
to weewx-user
Okay, so archive_interval = 300 and archive_delay = 60 is fine ?

Andrew Milner

unread,
Feb 12, 2016, 2:16:57 PM2/12/16
to weewx-user
Why do you need to change the delay from the standard setting of 15??

Andrew Milner

unread,
Feb 12, 2016, 2:22:52 PM2/12/16
to weewx-user
Hugo - I think you are fiddling where you do not need to, and for no good reason.  Weewx works - jkust accept that basic fact - set it up for your weather station type, and maybe change the report templates and skins if the web pages are not to your liking.  Try what is supplied first, and only change things if you have good reasons o make the changes.  If you are using external websites and services some of the options of weewx are there to help and assist - but everything should work without changes to the basic operation unless it is necessary for a specific reason.  Weewx is great, works with minimal changes, but provides a framework providing easy customisation if required.  Fiddling and changing settings for no good reason will no doubt lead you down a road of disguising an underlying problem in your specific installation - be warned.
Reply all
Reply to author
Forward
0 new messages