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

BT's Global Sager Weathercaster PHP Scripts For Cumulus

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderators: daj, TNETWeather

User avatar
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

Postby Buford T. Justice » Fri Jan 31, 2014 10:00 pm

I am sorry guys but the METAR fix in yesterday's version needed a correction. The latest version, 2013-01-31, has been released. Same update procedure as before.

User avatar
PaulMy
Posts: 1561
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

Postby PaulMy » Fri Jan 31, 2014 10:38 pm

I have updated to latest version 2014-01-31 on both my Cumulus and Saratoga sites and seems to work fine.

Paul

User avatar
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

Postby Buford T. Justice » Fri Jan 31, 2014 10:44 pm

PaulMy wrote:I have updated to latest version 2014-01-31 on both my Cumulus and Saratoga sites and seems to work fine.

Paul

I hate when something gets by me right after I release a version. Thanks for sharing the comparison. I am glad to see The Sager is working well up there in Canada.

User avatar
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

Postby Buford T. Justice » Fri Jan 31, 2014 10:54 pm

A reminder...

If the forecast winds are constantly being forecasted too high or too low, go to the Cumulus\web folder and open bt-sager-cu.php. Read the instructions on Line 16 and if you feel an offset is needed, change Line 17 from 0 to 5 or 10 or 15. You can fine-tune the number once you find the right setting to say something like 7 or 9 or 11, etc. Give the forecaster a couple of days to see if your correction is right or not.

uncle_bob
Posts: 459
Joined: Wed Aug 17, 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus

Postby uncle_bob » Fri Jan 31, 2014 11:41 pm

Buford T. Justice wrote:I am sorry guys but the METAR fix in yesterday's version needed a correction. The latest version, 2013-01-31, has been released. Same update procedure as before.


Damit, I just updated lol.

User avatar
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

Postby Buford T. Justice » Sat Feb 01, 2014 1:40 am

uncle_bob wrote:
Buford T. Justice wrote:I am sorry guys but the METAR fix in yesterday's version needed a correction. The latest version, 2013-01-31, has been released. Same update procedure as before.


Damit, I just updated lol.

Well now you are REALLY UPDATED!

caseyjones1956
Posts: 1
Joined: Wed Jan 02, 2013 7:38 pm
Weather Station: Nevada solar powered
Operating System: windows 7
Location: bridgwater someset united kingdom
Contact:

Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus

Postby caseyjones1956 » Sat Feb 01, 2014 3:59 pm

i an now using this on my web site you can find it at bridgwater weather web site is http://www.bridgwater-weather.co.uk/ based in somerset uk

User avatar
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

Postby Buford T. Justice » Sun Feb 02, 2014 12:47 pm

I have noticed a lot of you UK users have been having barometric pressure in the 970-1000 hPa range and have been getting Gale warnings. I am working on a fix for this, but understand that The Sager is reporting exactly what it should from the data used. Anyway, sit tight and give me a little time to test this fix.

If you are a UK user who has been experiencing this, send me a PM and I will send you the experimental fix version.

honestjohn
Posts: 27
Joined: Fri Nov 18, 2011 2:00 pm
Weather Station: Davies Vantage Vue
Operating System: Windows 10 Pro 64bit
Location: Northants, UK
Contact:

Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus

Postby honestjohn » Sun Feb 02, 2014 10:39 pm

Hi BT,
Updated version now installed and running. I'll keep an eye on the Gale warnings and keep you informed.

Regards

John.

http://www.rushden-weather.co.uk
Regards, John

www.rushden-weather.co.uk

Image

User avatar
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

Postby Buford T. Justice » Mon Feb 03, 2014 12:16 am

honestjohn wrote:Hi BT,
Updated version now installed and running. I'll keep an eye on the Gale warnings and keep you informed.

Regards

John.

http://www.rushden-weather.co.uk

http://www.rushden-weather.co.uk/bt-sager.php

Something isn't right. The temperature and wind bearings are not showing. You might not have uploaded the 3 PHP files to your web server. Try uploading them again.

User avatar
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

Postby Buford T. Justice » Mon Feb 03, 2014 7:53 am

I have been pondering why The Sager has been forecasting gales for the UK yet users report lower wind speeds. I now think I have an answer. Your anemometer is probably wrong. I can think of several factors:

  • It is mis-calibrated.
  • It is not level.
  • It has a bearing drying up or sticking.
  • It is not installed high enough in the air.
  • Obstructions such as trees or buildings are blocking the wind.

A lot of places in the UK will be experiencing gales or gale-force winds according to Met forecasts for several locations the next couple of days so it would seem to me The Sager has been doing its job correctly all along.

Just remember this. Forecasts are not written in stone with any forecaster. Heck even the meteorologists get it wrong from time to time.

honestjohn
Posts: 27
Joined: Fri Nov 18, 2011 2:00 pm
Weather Station: Davies Vantage Vue
Operating System: Windows 10 Pro 64bit
Location: Northants, UK
Contact:

Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus

Postby honestjohn » Mon Feb 03, 2014 8:52 am

Buford T. Justice wrote:http://www.rushden-weather.co.uk/bt-sager.php

Something isn't right. The temperature and wind bearings are not showing. You might not have uploaded the 3 PHP files to your web server. Try uploading them again.



The three files have now "correctly" been added to Cumulus local server.

We can see how it acts now.

Best wishes,

John
Regards, John

www.rushden-weather.co.uk

Image

User avatar
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

Postby Buford T. Justice » Mon Feb 03, 2014 9:59 am

honestjohn wrote:
Buford T. Justice wrote:http://www.rushden-weather.co.uk/bt-sager.php

Something isn't right. The temperature and wind bearings are not showing. You might not have uploaded the 3 PHP files to your web server. Try uploading them again.



The three files have now "correctly" been added to Cumulus local server.

We can see how it acts now.

Best wishes,

John

Looking good.

User avatar
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

Postby Buford T. Justice » Thu Feb 06, 2014 4:17 am

The 2013-02-05 version of BT's Global Sager Weathercaster PHP Scripts For Cumulus have been released and can be downloaded at the bottom of the first post in this thread. Here are the updates:

The Sager Weathercaster uses older names for Beaufort wind speeds. I updated all of these to their modern wording.

Some other minor improvements have been made.

The barometric pressure offset on Line 17 in bt-sager-cu.php is currently the best way to adjust for wind speeds being forecasted too high consistently. I have tried several other methods to counteract that, but have found none better than the current method of pressure offset.

To update, simply open the .zip file in the first post and unzip the PHP files to Cumulus\web. Navigate to the Cumulus\web folder. Open bt-sager-cu.php and add your METAR on Line 14 and (only if needed) your barometric pressure offset on Line 17. Save your changes. If you are using PHP webpages on your website, open bt-sager-wc.php and scroll all the way down to the bottom. Add // to the front of Line 6145. Save your changes. Upload all three PHP files to your weather website host once. Wait for Cumulus to perform a web update and the forecast will start working.

ON A SIDE NOTE, I made a torrent for The Zambretti Weathercard Forecaster which you can download with a torrent client like uTorrent. Once downloaded, you can print the forecaster on good, heavy, photo paper. You can get it at:

download/file.php?id=9950

If you are new to torrents, read this:

http://www.utorrent.com/help/guides/beginners-guide

User avatar
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

Postby Buford T. Justice » Sun Feb 09, 2014 7:20 am

I have been watching this for a couple of days. You UK users just have low pressure which should be making it very windy outside.

http://www.metoffice.gov.uk/weather/uk/ ... ssure.html

Low UK Pressure 001.png
You do not have the required permissions to view the files attached to this post.


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 5 guests