Hello,I use a RPI using a USB-RS232 converter with a Lacross WS2350 since December 2014 with Weewx 2.7. This last July, I upgraded the Weewx to 3.5 and since a week ago the 3.6.0 or above version.I notice with these last versions the rain values include in the NOAA reports are wrong. I checked the data and I noticed these 2 points :* The values in the NOAA report are x10 higher than in the SQL database in the archive_day_rain table* The values of the NOAA report compared with other local station are very different. The ratio seem to be around of 0.66 from the measurement I get.
PS: In the WS23xx.py driver it's necessary to have a delay in the delay read definition :This sleep time allows to solve the hazardous or wrong reading data from the station. It's due to communication between the station and the outside sensors in the same time.
On Monday, January 2, 2017 at 5:30:56 PM UTC-5, lionel.sylvie wrote:Hello,I use a RPI using a USB-RS232 converter with a Lacross WS2350 since December 2014 with Weewx 2.7. This last July, I upgraded the Weewx to 3.5 and since a week ago the 3.6.0 or above version.I notice with these last versions the rain values include in the NOAA reports are wrong. I checked the data and I noticed these 2 points :* The values in the NOAA report are x10 higher than in the SQL database in the archive_day_rain table* The values of the NOAA report compared with other local station are very different. The ratio seem to be around of 0.66 from the measurement I get.
lionel,
there was a bug in the ws23xx driver that resulted in rain values 10x too big.
this was fixed in june 2015 at commit 0bb7db1edc806caebe68357bc315ccf8674eea52
do you have something in your [Corrections] in weewx.conf that was fixing the bad rain values before you upgraded from weewx 2.7?
PS: In the WS23xx.py driver it's necessary to have a delay in the delay read definition :This sleep time allows to solve the hazardous or wrong reading data from the station. It's due to communication between the station and the outside sensors in the same time.
have you been using this delay since weewx 2.7? are you running it now with weewx 3.6? what happens when you do not use the delay?
m
This is the same corrections in the weewx.conf between versions.Where I can find the commits?
PS: In the WS23xx.py driver it's necessary to have a delay in the delay read definition :This sleep time allows to solve the hazardous or wrong reading data from the station. It's due to communication between the station and the outside sensors in the same time.
have you been using this delay since weewx 2.7? are you running it now with weewx 3.6? what happens when you do not use the delay?
Yes I already used this delay in the WS23xx.py in the 2.7 and added it in the 3.5 in june and now in the 3.6. This solves the spikes issues in the temperature measurement and calculation which arrive randomly. I had mentioned this issue in December 2014 in the LaCrosse WS2300 & WS2350 support post.
On Tuesday, January 3, 2017 at 5:47:04 PM UTC-5, lionel.sylvie wrote:This is the same corrections in the weewx.conf between versions.Where I can find the commits?
the change to rain multiplier happened on 11 jun 2015:
https://github.com/weewx/weewx/commit/0bb7db1edc806caebe68357bc315ccf8674eea52
so it has been part of the ws23xx driver for some time now.
the divide-by-ten happens only to data from the logger, so if you are using record_generation=hardware you will definitely see a difference, but if you are using record_generation=software you will see a difference only when weewx has to do catchup.
So you are saying that the sum of the archived data in the archive table for the calendar day does not equal the value in the sum column in the archive_day-rain table?
Does the value in he count column of archive_day_rain contain the correct number of archive records for the day which have been totalled to form the sum value??
| De: Andrew Milner Envoyé: jeudi 5 janvier 2017 12:33 À: weewx-user Répondre à: weewx...@googlegroups.com Objet: [weewx-user] Re: Rain dailly total and NOAA rain total wrong value |
The configuration of my station is base on a record every 15min, this gives 96 records à day.The archive_day_Rain shows a sum of 28 records for the 11/25, in the xls file I also calculated the number of records in the day (95), the number of 'rainy' records in the day (14). I never find the 28 records.
This is nbecause your weather statot explain the wrong dayliy Rain sum. Normaly to have the rain quantity for a day, the system just do the sum of Rain quantity of each record included in this day.
SELECT sum FROM archive_day_rain WHERE dateTime = 1480114800;SELECT SUM(rain) FROM archive WHERE dateTime > 1480114800 AND dateTime <= (1480114800 + 86400);
wee_database --drop-daily --backfill-daily
--
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+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
wee_database --drop-dailywee_database --backfill-daily
these should match:SELECT sum FROM archive_day_rain WHERE dateTime = 1480114800;
SELECT SUM(rain) FROM archive WHERE dateTime > 1480114800 AND dateTime <= (1480114800 + 86400);
If they don't, then something got corrupted in your daily summaries. Rebuild them using the utility wee_database:wee_database --drop-daily --backfill-daily
-tk
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.
No it is not possible, at the moment it is an 'all or nothing' approach. But once Issue #117 (https://github.com/weewx/weewx/issues/117) is addressed yes it will be possible.
Gary