Page 1 of 1
Extending trend graphs
Posted: Thu 07 Jan 2010 9:37 pm
by i-robot
Hi
I'm interested to note if it's possible to easily extend the range of the trend graphs displayed via the web pages Cumulus creates to say 48 hours?
I note a previous post around this
https://cumulus.hosiene.co.uk/viewtopic.p ... tend#p2020 but not sure if it eventuated. Is it only available in Cumulus 2?
I'm often wanting to compare what conditions were like yesterday.
Appreciate any feedback.
Regards
Maree
Re: Extending trend graphs
Posted: Thu 07 Jan 2010 9:47 pm
by daj
Hi Maree
The current standard graphs for the website can only be generated for a maximum of 24 hours. I think there may be plans to implement a greater range in version 2, but that is some way off at the moment.
You can use Select A Graph within Cumulus but that would only be for anyone sitting at the Cumulus PC
There is an add-on (JpGraphs) which will allow you to build graphs of a maximum of a 96 hour period....
http://cumulus.tnetweather.com/samp-graph.php
There are a few pre-requsites for your web server though....
The following requirements are needed in order to use this package.
*Need to be running the Cumulus Weather Software and be uploading the realtime.txt data once a minute.
*Web Server must support PHP5 and GD with FreeType support and the TTF Verdana loaded.
*Requires Version 1.8.2 BETA or higher with the extended realtime.txt fields.
*Need to be collecting the output of the realtime.txt files to a log, like realtime.log. A script exists to do this for you that runs under cron on your server. Ref: RealTimeLog.php
On a side note, it would be useful if you could populate your profile with some information. Ideally your location, weather station, operating system, and website (if you have one). it really helps with support issues. Click on Control Panel at the top and then Profile on the left.
Re: Extending trend graphs
Posted: Thu 07 Jan 2010 10:04 pm
by steve
There is a frig to extend the period of the existing graphs. Instead of using the display settings, which only offer 12 or 48 hours, stop Cumulus and edit cumulus.ini; look in the [Graphs] section for the GraphHours setting, and set it to however many hours you want. Note that if you use the display settings subsequently, it will (probably) reset the value.
Re: Extending trend graphs
Posted: Thu 07 Jan 2010 10:18 pm
by daj
well well, an undocumented feature. I just tested it and it works just fine

Re: Extending trend graphs
Posted: Thu 07 Jan 2010 10:27 pm
by steve
I'd forgotten it worked, actually, until I saw someone recently with 48-hour graphs and it took me a little while to realise what was going on!
Re: Extending trend graphs
Posted: Fri 08 Jan 2010 1:53 am
by i-robot
Awesome - thanks Steve. I was looking for a simple fix like that!
Daj - point noted about profile. Have updated it now - thanks.
Re: Extending trend graphs
Posted: Fri 08 Jan 2010 2:00 am
by Super-T
I've never heard of a "Fudge" being called a "Frig" before? I always thought a frig was something that was a little naughty?

Re: Extending trend graphs
Posted: Fri 08 Jan 2010 8:45 am
by steve
Super-T wrote:I've never heard of a "Fudge" being called a "Frig" before? I always thought a frig was something that was a little naughty?

I do hesitate slightly when I use that term here. I've been using it for many many years, and it's standard usage where I work. Also used in the expression "frig factor", an arbitrary amount added to a known/calculated value, to allow for unforeseen circumstances.
Re: Extending trend graphs
Posted: Fri 08 Jan 2010 10:10 am
by Super-T
Yeah Right! to use a kiwi expression.
Frig
A minced oath (also pseudo-profanity or expletive-deletive) is an expression based on a profanity that has been altered to reduce the objectionable characteristics of the original expression, for example, darn or dang instead of damn, shoot instead of shit, heck instead of hell, or frigging, flipping, freaking, fricking, or fecking instead of fucking. Nearly all profanities have minced variants.
Interesting is that fudge on shows up as that.....a sweet.
I need the antipodean dictionary.
OOps....I forgot this is weather only
