Sandaysoft

Support forum for Cumulus weather station software
It is currently Wed May 22, 2013 4:31 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  [ 145 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10  Next
Author Message
 Post subject: Update
PostPosted: Sun Apr 29, 2012 10:59 pm 
Offline
User avatar

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

V3.2 available

A Chrome user has highlighted a small piece of 'malformed' html when more than one year of reports is in the 'nav menu'. For Chrome users it results in a small indent in subsequent 'year' lines.

The offending o/p results in ....<br /></span>.....
but needs to be corrected to ...</span><br />.....

The beteljuice has corrected his pilot error :bash:

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


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon Apr 30, 2012 9:19 pm 
Offline

Joined: Sun Jan 02, 2011 9:38 am
Posts: 33
Location: Stevenage, Herts, UK
Weather Station: Watson W-8681
Operating System: XP SP3
Excellent Work beteljuice, Chrome display now sorted.

PS, my weather station PC is slartibartfast!

_________________
Malcolm
North Herts, UK
http://www.elmnet-weather.net
Watson W-8681; Cumulus v1.9.3


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon Apr 30, 2012 11:07 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
From Magrathea - the mice will be most annoyed !

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


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Sat Jun 09, 2012 2:35 am 
Offline

Joined: Fri Jun 10, 2011 12:40 pm
Posts: 108
Location: Prospect, KY, USA
Weather Station: WMR-968
Operating System: Windows XP SP3
:clap: Thanks for an excellent bit of code and an easy to implement feature. I moved to a hosting service that supports php a few months back. Figured it was about time to implement the viewer. I am a complete php noob, but it went exceptionally well.

jim

_________________
Thanks
Jim - The Timber Ridge Weather Station, Prospect, KY
http://dantinconsulting.com/


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Sat Jun 09, 2012 4:07 am 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
Glad it all went smoothly ... Your next mission, should you choose to accept it ............ :shock:

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


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon Jul 09, 2012 9:53 pm 
Offline
User avatar

Joined: Tue May 08, 2012 4:24 pm
Posts: 163
Location: Pickering, Ontario Canada
Weather Station: WMR200A
Operating System: Windows 7 64-bit
Once again......NOAA Reports....
This one might (again) be for Beteljuice :D
I've struggled before with implementing the NOAA reports into my site, however it became clear the free webhost (000webhost.com) did not support .txt files.
Since ysterday I've changed to a (paid-for) webhost (iPage), so a second attempt has been made.
I think I followed all the well described instructions in this forum, however unfortunately still no NOAA reports are displayed. It hangs on "Looking for files".....
What's missing, or should be changed/edited??

Thanks for your help,

Arthur
New site address: http://www.altonaweather.ca


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

_________________
http://www.altonaweather.ca

Image


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon Jul 09, 2012 10:02 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2512
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
GET http://www.altonaweather.ca/noaarep.js 404 (Not Found) ;)

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon Jul 09, 2012 10:43 pm 
Offline
User avatar

Joined: Tue May 08, 2012 4:24 pm
Posts: 163
Location: Pickering, Ontario Canada
Weather Station: WMR200A
Operating System: Windows 7 64-bit
Mark,

You get an A++ :D
Have a look at altonaweather.ca......
Finally it works!!!
I knew something was missing :bash:
BTW: Checked your site, and I would like to implement the Realtime page instead of my current gauges page....
Any hints??

Thanks,

Arthur

_________________
http://www.altonaweather.ca

Image


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Tue Jul 10, 2012 7:22 am 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2512
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Steve's real time Silverlight applet can be found here http://wiki.sandaysoft.com/a/CumulusRealtime

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Wed Feb 13, 2013 10:40 pm 
Offline
User avatar

Joined: Fri Aug 17, 2012 9:21 pm
Posts: 134
Location: USA
Weather Station: Weatherwise WH-2080-PC
Operating System: Windows 7 Pro 64-bit SP1
Here is another way to do this. If you want to see all of this in action before you do the following, go to my weather website at http://tinyurl.com/WS62694 and click on NOAA REPORTS at the bottom.

I am going to use the example web address of http://www.myweb.com/weather/ and C:\Cumulus as the install directory for this. Your web host will also need to support PHP 5.

First, log into your website with your favorite FTP client. In the main directory where you have your weather files uploaded to with Cumulus, create a new sub directory (new folder) and call it reports.

Now download pdirl from http://pdirl.newroots.de/ and open the .ZIP file. Open the pdirl-[VERSION#] folder within the .ZIP file. You will need to upload only these three folders/files to the reports directory you just created:

  • .pdirl
  • .htaccess
  • index.php

Open Cumulus and click on CONFIGURATION>NOAA SETUP.

All you have do here is define the FTP directory. So for http://www.myweb.com/weather/reports/, define it simply as /weather/reports then click OK.

If you need to create NOAA Monthly and Annual Reports, you will need the monthly log files created by Cumulus to get all of the data. If you don't have these monthly log files, you can still create NOAA Reports but dayfile.txt will be used instead and you will be missing AVERAGE WIND SPEED and the determined DOMINANT DIRECTION.

To create the NOAA Monthly Reports, click on VIEW>NOAA MONTHLY REPORT. Select your first month and year then click the UPDATE DISPLAY button. If all the information is there, click the SAVE button and save the file in C:\Cumulus\Reports and repeat for each month and year until you have all your NOAA Monthly Reports created. Click CLOSE when you are finished.

To create the NOAA Annual Reports, click on VIEW>NOAA ANNUAL REPORT. Select your first year then click the UPDATE DISPLAY button. If all the information is there, click the SAVE button and save the file in C:\Cumulus\Reports and repeat for each year until you have all your NOAA Annual Reports created. Click CLOSE when you are finished.

With your FTP client, upload all of your NOAA Reports from C:\Cumulus\Reports to the reports directory you created.

That's it!

Now open http://www.myweb.com/weather/reports/ and you can see your NOAA Reports. The NOAA Reports for the current month and year will be automatically updated whenever Cumulus starts recording a new day of weather data.

You can even create sub folders in the reports directory on your website for each year for better organization. If you do this, go back to the NOAA SETUP in Cumulus and add /2013 to the end of the FTP Directory so it is /weather/reports/2013 to allow your updated NOAA Reports to upload to the right place. Be sure to change this for each new year as needed.

Under each webpage for your weather data, you might want to add a link for your NOAA Reports. Just add this to the list of links for each T.htm webpage in C:\Cumulus\web:

Code:
:<a href="/weather/reports/">noaa reports</a>:

_________________
BT's Global Sager Weathercaster JavaScripts For Cumulus
BT's Zambretti Weathercard Forecaster JavaScript For Cumulus
BT's Zambretti Weathercard Forecaster JavaScripts


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon May 13, 2013 9:01 am 
Offline

Joined: Sun May 12, 2013 2:04 am
Posts: 11
Location: Hobart Australia
Weather Station: Davis Vantage Pro2
Operating System: Windows 7
Hi,

Have been trying to chase down a minor bug with my implementation of the NOAA reports script.

When using the drop down menu for selecting the year I have an issue with the button alignment.

Any help really appreciated as I am a novice (hoping to learn) with these matters.

Simon.

http://www.users.on.net/~gixxer.sw/wbv2/noaa.php?yr=2012

_________________
Mornington Weather
http://www.users.on.net/~gixxer.sw


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon May 13, 2013 11:50 am 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
I don't get any problems viewing with FireFox.

However; The output of your .php page (view source with your browser) shows 25 empty lines before 'normal' html code.

Further down:
Code:
            <!--  28 gras et Papyrus 84 italiq gras couleur 5594DE, transparent 160   -->
            
         
<link href="noaarep.css" rel="stylesheet" type="text/css" />
</head>
<body>

<H3>NOAA Style Reports for Mornington weather</H3>
Note the duplicated </head><body> which should not be there - that might be your problem.

But .... you also have the dreaded 'black diamond' instead of the dgree symbol !
See: viewtopic.php?f=14&t=5754&start=116

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


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon May 13, 2013 1:21 pm 
Offline

Joined: Sun May 12, 2013 2:04 am
Posts: 11
Location: Hobart Australia
Weather Station: Davis Vantage Pro2
Operating System: Windows 7
Thank you for the reply.

I managed to remove the empty lines and the two bits of code you referred to.

However, on my pc and ipad when moving from the year 2012 back to 2013 the button "2012" is displayed as the last button in the 2013 row.

Basically the 2012 button sits along side December 2013.

Phew - hope that makes some sense.

Interesting that it displays correctly in firefox.

_________________
Mornington Weather
http://www.users.on.net/~gixxer.sw


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Mon May 13, 2013 2:04 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
Quote:
I managed to remove the empty lines and the two bits of code you referred to.
I am still seeing the extra bits - you did upload your changes :?:

BTW - OK in IE8 as well (I'm running XP :lol: )

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


Top
 Profile  
 
 Post subject: Re: PHP Web 'viewer' for Cumulus NOAA Style reports
PostPosted: Tue May 14, 2013 2:26 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
The bottom part of your page is still screwed. This should not be there
Code:
</div>
<!-- Piwik -->
</body>
</html>
   <!-- content ends -->

</div>
I'm also not sure about the other closing <div>s and footer - certainly it's not working like your other templates.

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 145 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10  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