Alltime Statistics

229 views
Skip to first unread message

Karen K

unread,
Feb 17, 2024, 12:31:32 PM2/17/24
to weewx-user
I just read a post about slow skin creation in a german weather forum. This made me think about something. There were threads about the same topic here.

Sometime the DaySummaryManager was introduced. And I guess the reason was to speed up aggregations. Instead of 288 records a day one record had to be read only. This can make the difference for large databases.

Now if I think of a database of 10, 20 or more years. And I want to see some alltime statistics. Even the day summary table is large in those cases. 

So I wonder if it would help to have a year summary table, too.

Tom Keffer

unread,
Feb 17, 2024, 6:47:50 PM2/17/24
to weewx...@googlegroups.com
I've been thinking of that too, although with a monthly summary. It would add a lot of code and a lot of complexity. I don't think we're quite there yet.

--
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/31290546-1043-4bda-8aac-646e9dd74c88n%40googlegroups.com.
Message has been deleted
Message has been deleted

Δημήτρης Βήχος

unread,
Feb 18, 2024, 2:47:16 AM2/18/24
to weewx-user
in my seasons  skin folder i was replace the statistics.inc   page with the attached
no weewx restarting , in next update circle see the change .
works also in weewx 5.0v
actualy ina me page 

statistics.inc

Tom Keffer

unread,
Feb 18, 2024, 10:26:17 AM2/18/24
to weewx...@googlegroups.com
Sure. That's the easy part.

We're talking about optimizing the calculation by using monthly or yearly summaries, which is much more difficult.

pravee...@gmail.com

unread,
Jun 2, 2024, 5:25:41 AM6/2/24
to weewx-user
I had once had the alltime stats computed and populated in table. Similar to https://github.com/glennmckechnie/alltimeSeasons/tree/master/weewx491 but using xtypes instead. Unfortunately i didnt have it backed up and a sd card crash lost everything for me :(
Reply all
Reply to author
Forward
0 new messages