Gary,
Thanks for the response! When I installed weewx (DEB package) I never set 
up an archive. Maybe that's the problem? 
As you may surmise... I'm mostly just a hack... no programing experience! 
But I'm learning... albeit SLOWLY. 
I guess I'll look into setting up an archive.
Thanks again for your suggestion!
Happy Thanksgiving!

On Thursday, November 24, 2016 at 6:15:26 PM UTC-5, gjr80 wrote:
>
> Hi,
>
> Have you looked in your archive to see what data is in the rain field? 
> Assuming you are using SQLite something like:
>
> $ sqlite3 /home/weewx/archive/weewx.sdb
>
> will open your database so you can query it. There are any number of 
> queries you could use to investigate the situation, but lets' start by 
> summing the rain over the last 24 hours:
>
> sqlite> SELECT sum(rain) FROM archive WHERE dateTime > strftime('%s','now'
> )-86400;
>
> what does that show? If it shows nothing then we do have aproblem. If it 
> gives you the obviously wrong result you can look further at the individual 
> records to see which are wrong:
>
> sqlite> SELECT dateTime, rain FROM archive WHERE dateTime > strftime('%s',
> 'now')-86400 AND rain > 0;
>
> depending on what you find will determine how to fix it.
>
> Gary
>
> On Friday, 25 November 2016 08:39:52 UTC+10, Jim W. wrote:
>>
>>
>> Now if I could figure out why   $span($day_delta=1).rain.sum    produces 
>>  384.19 in  ???   Seems a bit high for 24 hours... especially considering 
>> we're in a drought! :-) 
>>
>>

-- 
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