Sandaysoft

Support forum for Cumulus weather station software
It is currently Sun May 19, 2013 5:28 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Historical data
PostPosted: Wed Apr 11, 2012 2:59 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
Steve thanks for the great update :!: A lot of things are possible I think.

I wondered why the 'historical data' go back for 'only' seven days <#RecentOutsideTemp d=365> will not work I see (a year back) is this done on purpose ?

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: Historical data
PostPosted: Wed Apr 11, 2012 3:26 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17548
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
nitrx wrote:
I wondered why the 'historical data' go back for 'only' seven days <#RecentOutsideTemp d=365> will not work I see (a year back) is this done on purpose ?

Mainly for performance reasons - memory usage and startup speed. I thought 7 days was a useful period that wouldn't impact much on either. Loading in a year's worth of data would require getting on for 100MB of RAM and slow the startup considerably.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Historical data
PostPosted: Wed Apr 11, 2012 3:32 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
steve wrote:
nitrx wrote:
I wondered why the 'historical data' go back for 'only' seven days <#RecentOutsideTemp d=365> will not work I see (a year back) is this done on purpose ?

Mainly for performance reasons - memory usage and startup speed. I thought 7 days was a useful period that wouldn't impact much on either. Loading in a year's worth of data would require getting on for 100MB of RAM and slow the startup considerably.


That's a fair reason, I asked it because I would use it as temperature (andso-on) last year.

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: Historical data
PostPosted: Wed Apr 11, 2012 3:39 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17548
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
If I ever get around to adding an SQL database, that sort of thing should hopefully be possible, as it shouldn't then be necessary to load it all into memory to get reasonable searching speed. Not that I have any figures to back that up...

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Historical data
PostPosted: Wed Apr 11, 2012 8:01 pm 
Offline

Joined: Mon Nov 28, 2011 2:13 am
Posts: 349
Location: Brisbane, Australia
Weather Station: La Crosse WS 2306
Operating System: Windows 7 64 Bit
Great feature Steve, very useful. :D

One question Steve, does the data for this feature all come from Cumulus software (including from the logger?) and not rely on the state of updating my site and will still work fine if say I pick 24 hrs and my site my offline at that 24 hrs ago. I ask this as I don't always update my site so I wondering if the usage of these tag would work fine in this way.

_________________
Regards, Matt of Brisbane, Australia
Web Site: http://www.localweatherdata.0glo.com


Top
 Profile  
 
 Post subject: Re: Historical data
PostPosted: Wed Apr 11, 2012 8:20 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17548
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Matt.j5b wrote:
One question Steve, does the data for this feature all come from Cumulus software (including from the logger?)
Yes. It doesn't rely in any way on anything that has previously been uploaded to your web site.

The way it works is: at start up it loads into memory the last 7 days worth of data from the monthly log file(s). It then adds any logger data that it downloads to that. Then it adds a new entry once a minute while it's running, all the time deleting from the list any data that's more than a week old. When it processes a web tag, it searches the list looking for the nearest entry to that specified by the web tag parameters.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Historical data
PostPosted: Wed Apr 11, 2012 10:30 pm 
Offline

Joined: Mon Nov 28, 2011 2:13 am
Posts: 349
Location: Brisbane, Australia
Weather Station: La Crosse WS 2306
Operating System: Windows 7 64 Bit
Thats sounds good. Thanks for your reply Steve. You have been busy, its a great feature. :clap:

_________________
Regards, Matt of Brisbane, Australia
Web Site: http://www.localweatherdata.0glo.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group