Sandaysoft

Support forum for Cumulus weather station software
It is currently Wed May 22, 2013 1:57 pm
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  [ 34 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Sun Oct 02, 2011 10:22 am 
Offline
User avatar

Joined: Wed Dec 16, 2009 2:32 am
Posts: 150
Location: Wairoa, Hawkes Bay. New Zealand.
Weather Station: La Crosse WS1081
Operating System: Windows XP, XP Pro & Win 7
Hi Ray,

Why not just make your own as I do and always have.
I have templates for each month. I used to change them manually but now use Steve's thismonth's webtags.

What you could do is just before midnight on the last day of the month is save thismonth.htm as monthsept.htm or whatever and there is September all done for you.
Meanwhile thismonthT.htm carries on into October. At the end of October do the same thing.
Then all you need to do is link your months together.

I dont use thismonth. I have my own pages all named by their months ( 2011octT.htm and 2011oct.htm) but I use the webtags for the month and use cumulus to upload them. At the end of the month I stop it uploading and set up the next month to upload.

Ok that sounds all ways too confusing even for me and I know what I mean.
Have a look what I have maybe easier and then ask.

http://wairoa.net/weather/records/2011sep.htm

You will see I also add stuff to the final page and then ftp it back up to my server.
Have a look at nov 2011:

http://wairoa.net/weather/records/2011nov.htm

You will see my template is ready but no data.
It also only has data that I have web tags for except Total rain Days of which I manually add.
These pages are all separate. I just stop them at the end of the month.
So on Friday night I stopped September from being uploaded. I changed it and told cumulus to upload october instead and so the cycle goes.
On the top right is the menu to link them all and allow for navigation.

I also have these pages printed so they are at my finger tips for when our local council wants data.
The other summary pages as with data summary then breaks the month down for me.
I hope this may give you some ideas on what you can do.

Cheers
Jenny

_________________
Wairoa, Hawkes Bay, New Zealand Weather Station.
http://wairoa.net/weather/index.htm
Image


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Sun Oct 02, 2011 10:42 am 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1708
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Hi Jenny,

I appreciate you taking the time to explain how you create your pages but I still think you are missing the point of my request. I'm not interested in any particular month. Only the extremes for a month and the year they occured.

So, for example, I now have 3 years of data for September and want an easy way to identify the hottest September day and the year in which it occured. In 2009 it was 23.7 on the 8th. In 2010 it was 22.9 on the 2nd and in 2011 it was 28.2 on the 30th. So on a separate page of records for September it would show the highest temperature was 28.2 on day 30 in 2011.

I can't see that information held on your webpages. To determine your highest temp in September (or any other month) how do you establish that from the pages you have available? I think you would have to look at each year and work it out manually as I have had to do.

Hence why I would like Cumulus to do it but it involves a substantial piece of work by Steve.

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Sun Oct 02, 2011 11:13 am 
Offline
User avatar

Joined: Wed Dec 16, 2009 2:32 am
Posts: 150
Location: Wairoa, Hawkes Bay. New Zealand.
Weather Station: La Crosse WS1081
Operating System: Windows XP, XP Pro & Win 7
Hi Ray,

Yes I would have to compare years but thats easy for me at present as I only have 2 years.
So two pages to compare and I can easily flick backwards and forwards which is what I do. Plus the printed months are right there in front of me :)
You could easily do this manually.
What I have I was doing long before Steve put out thismonth and thisyear.
Using what webtags were available I manually created the running month.
I guess you could manually create the pages you are after as they the extremes overall are not going to change considerably during any given month.
Yep you would have to do it manually checking say every week.
But considering how much Steve has to do and where his priorities lie it would be easy enough until said pages became part of the Cumulus build.
Cheers
Jenny

_________________
Wairoa, Hawkes Bay, New Zealand Weather Station.
http://wairoa.net/weather/index.htm
Image


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Sun Oct 02, 2011 11:32 am 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1708
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Hi Jenny,

Wait until you have 10 years of data and then see how much of a pain it would be. ;)

I might just be able to do this manually but it would become a chore and no doubt somewhere along the line I would either miss a record or become tired of the effort. The difference between me doing it and Steve changing Cumulus is that I only affect my own site whereas Steve's code will provide this info for all Cumulus owners.

He has already said it would be a useful addition so I'm prepared to bide my time. After all, the whole point of using software to record weather stats is that IT does the hard work so you don't have to. ;)

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Tue Oct 04, 2011 6:42 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1708
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
I use Microsoft Access widely in my job and have built a database at home to store the contents of my Dayfile.txt.

Last night I wrote some code and designed a form to extract and display monthly extremes. I added some formatting rules to spice it up a bit.

I'm quite pleased with the results but of course I can't upload this to my website. Although this display shows all 12 months in one go I may also design a one month per screen option just to make things a bit easier to view.

Despite having an indifferent summer it's interesting how many high temps were set in 2011. Then again, I've only had my station running 29 months!
Attachment:
MonthlyExtremes.jpg


You do not have the required permissions to view the files attached to this post.

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Mon Feb 20, 2012 10:24 pm 
Offline

Joined: Wed May 13, 2009 9:35 am
Posts: 110
Location: Nr Ilkley, West Yorks, UK
Weather Station: WMR-200
Operating System: Windows 7
Hi Jenny,

Just reviving an older thread and thanks for your explanation of how you record your stats.
I was actually quite surprised that no one has automated this, say from the Annual Data Summary SQL table.
I was looking for exactly what you do with the monthly summaries, to add to my website, but I think this is a little bit faffy for my liking (not to mention that I don't understand how to do the coding). I prefer to have such tasks automated as I know I will either forget or not have time when I need to do it.
It took me a bit to get to grips with the Annual Data Summary, but do you think it would be straight forward enough to modify David's coding for this to try and do what you do with the monthly summaries?

Or perhaps the likes of beteljuice et al, may look upon this project as a little distraction to while away the next few minutes and pound out a few lines of code, whilst I merely gaze on in wistful wonder....... :lol:

Thank you again anyway!

_________________
bigmac
Menston Weather


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Tue Feb 21, 2012 12:15 am 
Online
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
A few lines of code ........... :bash:

The beteljuice did start playing, but got sidetracked as usual:

Month Overview

Month All-Times The first two and half columns work :lol:

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Tue Feb 21, 2012 8:08 am 
Offline
User avatar

Joined: Wed Dec 16, 2009 2:32 am
Posts: 150
Location: Wairoa, Hawkes Bay. New Zealand.
Weather Station: La Crosse WS1081
Operating System: Windows XP, XP Pro & Win 7
beteljuice wrote:
A few lines of code ........... :bash:


lol love that above beteljuice.

also like what you have so far :)

_________________
Wairoa, Hawkes Bay, New Zealand Weather Station.
http://wairoa.net/weather/index.htm
Image


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Tue Feb 21, 2012 9:10 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1708
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
I'm impressed Rigel Beteljuice. More info than I've gathered myself. Just needs the year adding now. That will be another couple of lines of code I guess. ;)

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Tue Feb 21, 2012 9:53 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
beteljuice wrote:
A few lines of code ........... :bash:

The beteljuice did start playing, but got sidetracked as usual:

Month Overview

Month All-Times The first two and half columns work :lol:


Still waiting for the source code 2 years by now :lol:

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Wed Feb 22, 2012 12:11 am 
Online
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
Sorry about that nitrx :oops:

I've been waiting for the reports 'suite' to standardized / updated / tweaked, but it seems to have fallen by the wayside a bit.

One of the 'problems' is the sheer volume of data now available / calculable :shock:

May be time for a rethink / rebuild.
Quote:
A few lines of code ........... :bash:

eg. Month Alltimes

I 'finished' the 3rd column today, just to see if I could remember all the logic I created.
... that made me remember why I took a break from it :lol:

Currently 1,481 lines of code which escalates with each new data entry
eg. Let's say I was going to introduce T apparent.

Apart from the arrays that have to created to calculate
    Max Hi
    Max Low
    Max Avg
    Min Hi
    Min Low
    Min Avg
    Max difference
    Min difference

all per month, additional arrays have to keep track of 'All Time' - all these arrays hold value, date and where applicable time.

Almost forgot, I also keep track of when that dataset was first recorded - Not all records begin at the year dot ;)

Then from that single dataset I would have 3 columns with 6 data cells and 6 mouseovers per month. ie. 36 data cells and 36 mouseovers in all.

The other reason I stopped was because I couldn't decide whether it was data for data sake or not !!!

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Wed Feb 22, 2012 6:54 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1708
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
beteljuice wrote:
Currently 1,481 lines of code which escalates with each new data entry


Whilst you have calculated more stats that feature on my Access screenshot further back in this thread I was curious how many lines of VBA were in my code to get those stats.

95 lines was all it took. Clearly PHP is very versatile but the amount of code required seems excessive.

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Sat Feb 25, 2012 12:58 am 
Offline
User avatar

Joined: Wed Dec 16, 2009 2:32 am
Posts: 150
Location: Wairoa, Hawkes Bay. New Zealand.
Weather Station: La Crosse WS1081
Operating System: Windows XP, XP Pro & Win 7
Looking good, do you need a hand....lol

_________________
Wairoa, Hawkes Bay, New Zealand Weather Station.
http://wairoa.net/weather/index.htm
Image


Top
 Profile  
 
 Post subject: Re: Enhancement request for monthly stats
PostPosted: Mon Feb 27, 2012 10:37 pm 
Offline

Joined: Wed May 13, 2009 9:35 am
Posts: 110
Location: Nr Ilkley, West Yorks, UK
Weather Station: WMR-200
Operating System: Windows 7
Ooops, sorry beteljuice, I thought it was a mere distraction to while away a few idle moments, clearly it would be a rather large undertaking. I'll go back to gazing in wistful wonder :lol:

_________________
bigmac
Menston Weather


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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