Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
PHP Web 'viewer' for Cumulus NOAA Style reports
Moderator: daj
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: PHP Web 'viewer' for Cumulus NOAA Style reports
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...
- 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...
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: PHP Web 'viewer' for Cumulus NOAA Style reports
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
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Experiment !
Last edited by beteljuice on Sat 17 Sep 2011 10:42 pm, edited 1 time in total.
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: PHP Web 'viewer' for Cumulus NOAA Style reports
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...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.
You only gave me half a reply...
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)... ...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...
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Experiment !
beteljuice, the code for in your 'noaarep.css' file is quite good ... really... ...You only need to work on the shadow...beteljuice wrote:Experiment - Now with added CSS
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: Select all
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 */
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: PHP Web 'viewer' for Cumulus NOAA Style reports
That's because the installer creates it, automatically.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...
Yes, quite possibly.Could there eventually be an option to setup Cumulus to save those reports into another directory
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.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
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: PHP Web 'viewer' for Cumulus NOAA Style reports
Thank you Steve.
Should I keep my fingers crossed...
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...
Should I keep my fingers crossed...
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...
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Update
Last edited by beteljuice on Sat 17 Sep 2011 10:43 pm, edited 1 time in total.
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 363
- Joined: Wed 03 Mar 2010 10:20 am
- Weather Station: Vantage Pro2 w/ daytime FARS
- Operating System: Windows 10
- Location: Brisbane, Australia
- Contact:
Re: PHP Web 'viewer' for Cumulus NOAA Style reports
Thanks beteljuice...its working well on my site.gemini06720 wrote:".... Anyone interested ?"
Cheers
Dan
http://www.brisbaneliveweather.com
A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
http://www.brisbaneliveweather.com
A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
- saratogaWX
- Posts: 1185
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: PHP Web 'viewer' for Cumulus NOAA Style reports
Wow, beteljuice .. thank you very much for the kind words!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.
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.
I hope Steve adds the ability to upload the \Reports files routinely in a future release of Cumulus.
Best regards,
Ken
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: PHP Web 'viewer' for Cumulus NOAA Style reports
Thank you, all I did was mess with your script
Co-operation is always more rewarding than confrontation
Co-operation is always more rewarding than confrontation
......................Imagine, what you will KNOW tomorrow !
- JennyLeez
- Posts: 316
- Joined: Wed 16 Dec 2009 2:32 am
- Weather Station: La Crosse WS3083
- Operating System: Windows XP, Win7 & Win 10
- Location: Wairoa, Hawkes Bay. New Zealand.
- Contact:
Re: Experiment !
Many many thanks beteljuice. I made a separate noaarep.css in the end to get it working.beteljuice wrote: ".... Anyone interested ?"
Or am typing to myself
.
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
Cumulus Topsites:
http://cumulussites.net/
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
- sunray24
- Posts: 41
- Joined: Wed 20 Oct 2010 1:05 pm
- Weather Station: Ecowitt GW1100
- Operating System: Windows 11
- Location: Cunderdin, Western Australia
- Contact:
Re: PHP Web 'viewer' for Cumulus NOAA Style reports
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?
How do you produce the noaa report in the first place.
Is there an option in cumulus somewhere to produce the report?
Scott
Station: Ecowitt GW1100
Location: Cunderdin, Western Australia
Website: http://bucklandtech.com.au/index.htm
Station: Ecowitt GW1100
Location: Cunderdin, Western Australia
Website: http://bucklandtech.com.au/index.htm
-
- Posts: 845
- Joined: Sun 10 May 2009 8:52 pm
- Weather Station: davis vp2 Serial datalogger
- Operating System: Windows 7 64-bit
- Location: Springfield, IL
Re: PHP Web 'viewer' for Cumulus NOAA Style reports
Hi Scott,
It is a option beta cumulus 192 build 1009
Beau
It is a option beta cumulus 192 build 1009
Beau
-
- Posts: 7
- Joined: Wed 14 Sep 2011 11:02 pm
- Weather Station: Fine Offset
- Operating System: Windows Vista
- Location: Australia
Re: PHP Web 'viewer' for Cumulus NOAA Style reports
how do i create the NOAA reports with cumulus???