Thanks, I see now that rain_total must be special, as doing as you 
suggested resulted in sensible numbers.

Fortunately it just started raining as I changed it, quite heavily.

I am still figuring out how the datas are calcualted, however this 
certainly looks better:

sqlite> select dateTime, rainRate, rain, rain_counter from archive order by 
dateTime desc limit 50;
dateTime    rainRate            rain        rain_counter
----------  ------------------  ----------  ------------
1534629480  0.0899999999999999  0.0         2542.0
1534629420  0.120000000000005   0.0         2542.0
1534629360  0.160000000000011   0.0         2542.0
1534629300  0.211764705882356
1534629240  0.280000000000001   0.0         2542.0
1534629180  0.280000000000001
1534629120  0.280000000000001   0.0         2542.0
1534629060  0.280000000000001   0.0         2542.0
1534629000  0.280000000000001   0.0         2542.0
1534628940  0.280000000000001   0.0         2542.0
1534628880  0.275675675675676   0.01000000  2542.0
1534628820  0.239999999999995   0.0         2541.0
1534628760  0.239999999999995   0.0         2541.0
1534628700  0.239999999999995   0.0         2541.0
1534628640  0.22181818181818    0.00999999  2541.0
1534628580  0.194594594594597   0.01000000  2540.0
1534628520  0.159999999999997   0.01000000  2539.0
1534628460  0.11999999999999    0.0         2538.0
1534628400  0.0832432432432394  0.02999999  2537.5
1534628340  0.0                 0.0         2535.0
1534628100  0.101679389312983   0.08000000  2516.4705882
1534627800  0.0                 0.0         2511.0

the numbers indicate 7mm of rain, which is also what acurite reports, 
however my graph shows 4mm, but I think i will wait for a new day to get a 
full set of data.

It didn't rain for long time, so hopefully this time I won't have to wait 
as long!

Thanks for your help Gary!

On Saturday, 18 August 2018 23:24:44 UTC+2, gjr80 wrote:
>
> Dave, 
>
> I am not a sdr user but I rain needs special handling since rainfall is 
> the difference between successive values whereas other obs are the actual 
> point in time value. I suspect this special handling is triggered by using 
> rain_total . Unfortunately I cannot look at the sdr driver at the moment. 
> Give rain_total a try.
>
> Gary 
>
>

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

Reply via email to