View previous topic :: View next topic |
Author |
Message |
bodemory
Joined: 06 Dec 2005 Posts: 43
|
Posted: Sat Dec 31, 2005 7:40 am Post subject: Last week graphs |
|
|
Hi all,
I'd like to add an html page containing all data from the current week. Is there a simple way to generate past 7 days graphs ?
Many thanks
Season's greetings to all !
Brice |
|
Back to top |
|
|
bodemory
Joined: 06 Dec 2005 Posts: 43
|
|
Back to top |
|
|
bodemory
Joined: 06 Dec 2005 Posts: 43
|
Posted: Mon Feb 13, 2006 9:49 am Post subject: |
|
|
This request does not seem to be very popular
Am I the only one willing to get those kind of pictures with
the nice display of wview in bonus? (grabbed from wview's homepage)
I've rapidly investigated into user-images.conf and apparently, creating weekly
graphs would demand a big amount of work: timespan, weekly extrema, etc
have to be created since they are not part of wview.
Cheers
Brice |
|
Back to top |
|
|
bhnb
Joined: 28 Nov 2005 Posts: 127
|
Posted: Mon Feb 13, 2006 10:30 am Post subject: |
|
|
Hi Brice
I've been playing around with perl and MySQL and I've got a script which can produce graphs like this: http://www.scorpiocomputing.com/weather/imperial/file.png
It still needs a lot of work and it would need to be run as a cron job outside of wview but you're welcome to have a copy if it's any use to you.
Jon |
|
Back to top |
|
|
bodemory
Joined: 06 Dec 2005 Posts: 43
|
Posted: Mon Feb 13, 2006 11:57 am Post subject: |
|
|
Hi Jon
Very interesting ! Unfortunately I have not installed MySql so all
my previous weather data would be unusable...
But I'm very interested to get a copy of your files, it is exactly what
I need to set weekly graphs up.
Have you tried to build your own images from images-user.conf ?
Thanks,
Brice |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Mon Feb 13, 2006 12:35 pm Post subject: |
|
|
If you install MySQL and build wview/radlib with MySQL support, all of your old WLK file data will be imported into the SQL table (as of release 3.0.0 I believe).
But, the big work with adding weekly historical charts is the adding of a historical category for "week". HILOW data which is currently computed (and used in the Almanac page) *does* support weekly extremes - but weekly in the last seven days sense, not current week (like the others do). Besides, HILOW weekly data is not critical to have weekly historical charts - the chart code figures out y-axis max and min based on the data points. But a new historical category does cause a bunch of code changes.
It's on the list, but I am not inclined to any big changes for a while - the dust needs to settle on station abstraction (and possibly additional station support).
Mark |
|
Back to top |
|
|
|