Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired
Please read this post before posting
Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download
Please read this post before posting
Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download
BT's Global Sager Weathercaster PHP Scripts For Cumulus
Moderators: daj, TNETWeather
- Toxic17
- Posts: 717
- Joined: Mon May 19, 2014 10:45 pm
- Weather Station: Davis VPro2 Plus
- Operating System: Deb 9.3 Stretch
- Location: Bangor, NI
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Just put this script onto my website. looking good!
Regards Simon
https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS

https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
-
- Posts: 18
- Joined: Thu Dec 10, 2015 6:41 am
- Weather Station: Davis VantageVue
- Operating System: Win 10
- Location: Brisbane, Queensland, Australia
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Hi All
I have followed BT's post of 5th May 2013 and this is what I get on my Saratoga site. I seem to have missed something. Could anyone please help?
best wishes
I have followed BT's post of 5th May 2013 and this is what I get on my Saratoga site. I seem to have missed something. Could anyone please help?
best wishes
You do not have the required permissions to view the files attached to this post.
Keith
Carina Weather
Brisbane, Australia
Davis Vantage Vue Model #6357
http://www.kstwx.net/cu/index.htm
http://www.kstwx.net/index.php

Carina Weather
Brisbane, Australia
Davis Vantage Vue Model #6357
http://www.kstwx.net/cu/index.htm
http://www.kstwx.net/index.php
-
- Posts: 18
- Joined: Thu Dec 10, 2015 6:41 am
- Weather Station: Davis VantageVue
- Operating System: Win 10
- Location: Brisbane, Queensland, Australia
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Hi all
After some further tweaking, the attached is what I now have on my Saratoga site.
After some further tweaking, the attached is what I now have on my Saratoga site.
You do not have the required permissions to view the files attached to this post.
Keith
Carina Weather
Brisbane, Australia
Davis Vantage Vue Model #6357
http://www.kstwx.net/cu/index.htm
http://www.kstwx.net/index.php

Carina Weather
Brisbane, Australia
Davis Vantage Vue Model #6357
http://www.kstwx.net/cu/index.htm
http://www.kstwx.net/index.php
-
- Posts: 1435
- Joined: Sat Aug 13, 2011 9:33 am
- Weather Station: WH1081
- Operating System: Windows 7 64bit HP SP1
- Location: Somewhere in the USA
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
I believe that the Saratoga web pages are all PHP, if you look at the last line of bt-sager-wc.php it says
PHP uses the output directly so the document.write is not needed, hence the duplication.
Code: Select all
This allows displaying the forecast on a HTML webpage. Add // to the front of this line if using a PHP webpage.
PHP uses the output directly so the document.write is not needed, hence the duplication.
-
- Posts: 18
- Joined: Thu Dec 10, 2015 6:41 am
- Weather Station: Davis VantageVue
- Operating System: Win 10
- Location: Brisbane, Queensland, Australia
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
David
Thanks for that. I had already made the change you pointed out to that file but simply had not uploaded to the webserver. All fixed.
best wishes
Thanks for that. I had already made the change you pointed out to that file but simply had not uploaded to the webserver. All fixed.
best wishes
Keith
Carina Weather
Brisbane, Australia
Davis Vantage Vue Model #6357
http://www.kstwx.net/cu/index.htm
http://www.kstwx.net/index.php

Carina Weather
Brisbane, Australia
Davis Vantage Vue Model #6357
http://www.kstwx.net/cu/index.htm
http://www.kstwx.net/index.php
- Toxic17
- Posts: 717
- Joined: Mon May 19, 2014 10:45 pm
- Weather Station: Davis VPro2 Plus
- Operating System: Deb 9.3 Stretch
- Location: Bangor, NI
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
griffo42 wrote:David
Thanks for that. I had already made the change you pointed out to that file but simply had not uploaded to the webserver. All fixed.
best wishes
fixed but you main page is full of validation errors.
Anyway, I just added this script to to my Saratoga template, but had to change a couple of things as they failed validation.
changed:
Code: Select all
<p align = "center" style = "line-height : 1.3"><b><font face = "Tahoma" size = "2">12-24 Hour Forecast:</font></b><br>
to
Code: Select all
<p align = "center" style = "line-height : 1.3"><b><font face = "Tahoma" size = "2">12-24 Hour Forecast:</font></b><br />
and
Code: Select all
<meta http-equiv="refresh" content="299">
to
Code: Select all
<meta http-equiv="refresh" content="299" />
I still get a validation error with this however:
Code: Select all
<p align = "center" style = "line-height : 1.3"><b><font face = "Tahoma" size = "2">12-24 Hour Forecast:</font></b><br />
it shows the following:
Line 854, Column 57: document type does not allow element "p" here; missing one of "th", "td" start-tag
…= "center" style = "line-height : 1.3"><b><font face = "Tahoma" size = "2">12-…
✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Any help would be great. I'm a bit stuck on what's needed to be added to fix this.
Regards Simon
https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS

https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
-
- Posts: 248
- Joined: Wed Dec 31, 2008 1:56 pm
- Weather Station: W-8681 Solar Weather Station
- Operating System: Windows 10 Pro 64bit Build 10586
- Location: Poole, Dorset UK
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Hi All,
I have just had a look at my weather website and I noticed that my weather forecast say's Forecast Unavailable, I have had a look at other peoples website and there's is doing the same.
Please can you tell us what needs to be made to correct this problem?
Many Thanks
Regards Michael
I have just had a look at my weather website and I noticed that my weather forecast say's Forecast Unavailable, I have had a look at other peoples website and there's is doing the same.
Please can you tell us what needs to be made to correct this problem?
Many Thanks
Regards Michael
- PaulMy
- Posts: 1656
- Joined: Sun Sep 28, 2008 11:54 pm
- Weather Station: Davis Vantage Pro 2 w/Envoy USB
- Operating System: Windows-8
- Location: Komoka, ON Canada
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Davis Vantage Pro 2 - Windows 8 - Cumulus v1.9.4 b.1099
www.komokaweather.com
www.komokaweather.ca
www.komokaweather.com/weather28
www.komokaweather.com/j-template
www.komokaweather.com/pws

www.komokaweather.com
www.komokaweather.ca
www.komokaweather.com/weather28
www.komokaweather.com/j-template
www.komokaweather.com/pws
-
- Posts: 35
- Joined: Fri Jun 01, 2012 4:58 pm
- Weather Station: Davis Vantage Vue
- Operating System: Windows XP Pro
- Location: New Forest. UK
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
My forecast is the same and I have just noticed my METAR reports are not updating which is probably a related issue.
http://www.fordingbridgeweather.co.uk/metar-reports.php
http://www.fordingbridgeweather.co.uk/metar-reports.php
- Mapantz
- Posts: 523
- Joined: Sat Dec 17, 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 10 x64 - A beast.
- Location: Wareham, Dorset - UK
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
I used to use it, and quite frequently it wouldn't work. Bournemouth's metar is terrible for having periods of no updates. I gave up in the end.. :/
- Werk_AG
- Posts: 181
- Joined: Sun Jan 13, 2013 8:04 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Windows 7
- Location: Cercal CDV - Portugal
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
I'm running this script since long time without a glitch, but today I also started to get the Forecast Unavailable message.
www.meteocercal.info
As METAR I'm using LPPT which updates very frequently.
www.meteocercal.info
As METAR I'm using LPPT which updates very frequently.
- pernaczy
- Posts: 108
- Joined: Thu Nov 15, 2012 5:42 pm
- Weather Station: Fine Offset WH 2080, TFA Spring
- Operating System: XP SP3
- Location: Niesiolowice, Northern Poland
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Werk_AG wrote:I'm running this script since long time without a glitch, but today I also started to get the Forecast Unavailable message.
I have the same. In addition, I'm using "Metar display" script: http://saratoga-weather.org/scripts-metar.php#metar working perfectly and now (I don't now since when it shows that, I just noticed it) it displays like on the attached picture.
You do not have the required permissions to view the files attached to this post.
- Buford T. Justice
- Posts: 381
- Joined: Fri Aug 17, 2012 9:21 pm
- Weather Station: Ambient Weather WS-2095
- Operating System: https://ubuntu-mate.org/
- Location: USA
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
NOAA changed the link to the .TXT METAR reports. The .PHP files have been updated for this change. Redownload from the first post.
- Werk_AG
- Posts: 181
- Joined: Sun Jan 13, 2013 8:04 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Windows 7
- Location: Cercal CDV - Portugal
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Buford T. Justice wrote:NOAA changed the link to the .TXT METAR reports. The .PHP files have been updated for this change. Redownload from the first post.
Thank you. It's working again.

- Werk_AG
- Posts: 181
- Joined: Sun Jan 13, 2013 8:04 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Windows 7
- Location: Cercal CDV - Portugal
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
pernaczy wrote:I have the same. In addition, I'm using "Metar display" script: http://saratoga-weather.org/scripts-metar.php#metar working perfectly and now (I don't now since when it shows that, I just noticed it) it displays like on the attached picture.
Update to latest get-metar-conditions-inc.php
Check this thread: viewtopic.php?f=25&t=15488
Return to “Web site - General”
Who is online
Users browsing this forum: No registered users and 3 guests