Sandaysoft

Support forum for Cumulus weather station software
It is currently Thu Jun 20, 2013 9:57 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  [ 171 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 12  Next
Author Message
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Wed Aug 24, 2011 11:38 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1698
Location: World...
Weather Station: No weather station
Operating System: No operating system
Steve, I have two questions concerning the NOAA-style reports:
- Could the reports be automatically generated/produced by Cumulus on a daily basis (just a bit after midnight - both the current month and the current year reports)?
- Could there be an option to have those reports generated/produced in a specific sub-directory (to be setup within the 'NOAA Setup' window or with modifications to the 'cumulus.ini' configuration file)?

A few days ago, in the 'NOAA Setup' window, I have placed a check mark in front of 'Auto save after daily reset' (hoping that a report would be automatically generated) but, as of today (04:30AM), no file with the name NOAA has been generated either in the Cumulus sub-directories or in the sub-directories where my web files are located...

Or am I missing something... :roll:


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Wed Aug 24, 2011 12:44 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17835
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
The 'auto save' option should save the reports for the current month and year to the Reports folder - it seems to work fine for me, at least. If you look in the diags files there may be an error message just after midnight which may give some clues as to why it's not working for you.

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


Top
 Profile  
 
 Post subject: Experiment !
PostPosted: Thu Aug 25, 2011 12:03 am 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1888
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
Updated: see viewtopic.php?f=14&t=5754&p=49194#p49194

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


Last edited by beteljuice on Sat Sep 17, 2011 10:42 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Fri Aug 26, 2011 5:05 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1698
Location: World...
Weather Station: No weather station
Operating System: No operating system
steve wrote:
The 'auto save' option should save the reports for the current month and year to the Reports folder - it seems to work fine for me, at least. If you look in the diags files there may be an error message just after midnight which may give some clues as to why it's not working for you.
I cannot remember reading anywhere that a sub-directory with the name 'Reports' had to be created before any NOAA-style reports could be saved... :oops:

You only gave me half a reply... :mrgreen:

Could there eventually be an option to setup Cumulus to save those reports into another directory - I thought of using the 'cumulus.ini' file to automatically do that copy/move to another directory but quickly realised that I will have to remember to edit the 'cumulus.ini' file at the end of every months (and at the end of the year)... :evil: ...unless there is an option somewhere (again, I cannot remember reading about that) to automatically modify the name of a file within 'cumulus.ini'.

Steve, the main reason I have somewhat lost touch with Cumulus over the past 3-4 weeks is that I have been 'intensely' involved in updating/upgrading and older PHP 4 downloading system (with about 15 different scripts) - thus I have not been reading many of the forums unless I receive an e-mail noticed for forums I have been subscribing... :roll:


Top
 Profile  
 
 Post subject: Re: Experiment !
PostPosted: Fri Aug 26, 2011 5:39 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1698
Location: World...
Weather Station: No weather station
Operating System: No operating system
beteljuice wrote:
Experiment - Now with added CSS
beteljuice, the code for in your 'noaarep.css' file is quite good ... really... :mrgreen: ...You only need to work on the shadow... :D

One point thought... When using the 'border-radius', which will renders only in CSS3 capable browsers (Chrome, Firefox 4+, IE9+, Opera and Safari 5+), you should also use '-moz-border-radius' (for the older Mozilla browsers) and '-webkit-border-radius' (for the older Safari and Chrome browsers) - the syntaxe is the same, so in your 'noaarep.css' file you would have (not tested):
Code:
border-radius: 10px; /* for CSS3 capable browsers.*/
-moz-border-radius: 10px; /* older Mozilla */
-webkit-border-radius: 10px; /* Safari and Chrome */
/* -- button shadow -- */
box-shadow: 5px 5px 10px 1pz #A9A9A9; /* for CSS3 capable browsers.*/
-moz-box-shadow: 1px 1px 1px 1px #A9A9A9; /* older Mozilla */
-webkit-box-shadow: 1px 1px 1px 1px #A9A9A9; /* Safari and Chrome */
With 'border-radius', there is no need to repeat the dimension if it is the same value is being used for of all 4 radii (corners: top-left, top-right, bottom-right, bottom-left)


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Fri Aug 26, 2011 7:16 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17835
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
gemini06720 wrote:
I cannot remember reading anywhere that a sub-directory with the name 'Reports' had to be created before any NOAA-style reports could be saved... :oops:

That's because the installer creates it, automatically.
Quote:
Could there eventually be an option to setup Cumulus to save those reports into another directory

Yes, quite possibly.
Quote:
unless there is an option somewhere (again, I cannot remember reading about that) to automatically modify the name of a file within 'cumulus.ini'.

One thing I that I acknowledged somewhere recently was that Cumulus needs to provide some sort of way of handling the 'current' NOAA reports (as it already does for the current monthly log file) as otherwise it's quite tricky to work out the name for yourself (in a batch file, for example). It is possible, though.

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


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Fri Aug 26, 2011 9:17 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1698
Location: World...
Weather Station: No weather station
Operating System: No operating system
Thank you Steve.

Should I keep my fingers crossed... :D

No rush Steve ... I have just created a DOS batch file to move the NOAA files from the Cumulus 'Reports' sub-directory to one of the Cumulus web pages sub-directory - a CRON/schedule job will take care of the move once-a-day... ;)


Top
 Profile  
 
 Post subject: Update
PostPosted: Fri Aug 26, 2011 11:36 am 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1888
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
Update: viewtopic.php?f=14&t=5754&p=49194#p49194

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


Last edited by beteljuice on Sat Sep 17, 2011 10:43 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Fri Aug 26, 2011 12:29 pm 
Offline
User avatar

Joined: Wed Mar 03, 2010 10:20 am
Posts: 300
Location: Brisbane, Australia
Weather Station: Vantage Pro2 w/ daytime FARS
Operating System: Windows Vista SP2
gemini06720 wrote:
".... Anyone interested ?"

Thanks beteljuice...its working well on my site. :D

Cheers

_________________
Dan

http://www.brisbaneliveweather.com




A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Sat Aug 27, 2011 6:16 pm 
Offline
User avatar

Joined: Wed May 06, 2009 5:02 am
Posts: 439
Location: Saratoga, CA, USA
Weather Station: Davis Vantage Pro Plus
Operating System: Windows XP SP3
Quote:
First of all kudos to Ken True aka saratogaWX, probably the weather communitys most respected and magmanimous codester.

If you have a php script or an ajax page the chances are that it contains chunks of Kens code or reasoning.
This is a modified version of one his scripts which will display a WeatherLink or VWS created NOAA style report and produce a navigation menu for the reports it finds.

Wow, beteljuice .. thank you very much for the kind words! :oops:

I've taken the liberty of using your mods to the older single-language version of the script and ported them into the multilingual template sets to add the Cumulus NOAA-style report capability to them too. I have the generated HTML marked-up with your class statements, and inserted an inline CSS into the wxnoaareports.php page (which calls the script).

The updates are now available (along with an updated tags set for Cumulus) at the updates page.

I did modify the styling just a bit to make it 635px wide and a dark grey for missing reports (instead of red), and kept the non-browser-specific styling for the rounded borders. Seems to display fine in FF6, Chrome, Opera, Safari, and only IE8 ignores the rounded corners (still looks fine). 'Course the rounded borders now causes it to fail CSS 2.1 validation on wxnoaareports.php, but it's not a biggie.

Thanks again for your work to provide the display of the NOAA-style reports from Cumulus. :clap: :clap: :clap:

I hope Steve adds the ability to upload the \Reports files routinely in a future release of Cumulus.

Best regards,
Ken


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Sat Aug 27, 2011 10:04 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1888
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
Thank you, all I did was mess with your script :P

Co-operation is always more rewarding than confrontation ;)

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


Top
 Profile  
 
 Post subject: Re: Experiment !
PostPosted: Mon Aug 29, 2011 1:30 am 
Offline
User avatar

Joined: Wed Dec 16, 2009 2:32 am
Posts: 152
Location: Wairoa, Hawkes Bay. New Zealand.
Weather Station: La Crosse WS1081
Operating System: Windows XP, XP Pro & Win 7
beteljuice wrote:
".... Anyone interested ?"
Or am typing to myself :o
.

Many many thanks beteljuice. I made a separate noaarep.css in the end to get it working.
Much nicer with that css you enjoy :)
...... you are never wasting your time, I try anything you throw in here ...lol

http://wairoa.net/weather/noaa-reports.htm
Cheers
Jenny

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


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Sun Sep 04, 2011 2:21 pm 
Offline
User avatar

Joined: Wed Oct 20, 2010 1:05 pm
Posts: 34
Location: Perth, Western Australia
Weather Station: La Crosse 2355
Operating System: Windows 7
Time for a silly question.
How do you produce the noaa report in the first place.
Is there an option in cumulus somewhere to produce the report?

_________________
Scott
Twitter: http://www.twitter.com/glnfrrstweather (@glnfrrstweather)
Facebook: http://www.facebook.com/pages/Glen-Forrest-Weather/171710909525103
Website: http://www.glenforrestweather.com/

Image


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Sun Sep 04, 2011 3:15 pm 
Offline

Joined: Sun May 10, 2009 8:52 pm
Posts: 508
Location: Springfield, IL
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Hi Scott,
It is a option beta cumulus 192 build 1009

Beau


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Thu Sep 15, 2011 10:40 am 
Offline

Joined: Wed Sep 14, 2011 11:02 pm
Posts: 7
Location: Australia
Weather Station: Fine Offset
Operating System: Windows Vista
how do i create the NOAA reports with cumulus???


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

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