Forecast webtag: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
(noted what version of cumuls this appeared in)
(Added note about stations which generate their own forecast)
Line 4: Line 4:




[[File:ScreenshotEnableForecast.png|right|thumb|50px]]In order for the forecast webtag to be populated you must enable forecasting for your station. In Cumulus click the Configuration menu then Station and tick the box to the bottom right of the screen "Cumulus forecast"
[[File:ScreenshotEnableForecast.png|right|thumb|50px]]In order for the forecast webtag to be populated you must enable forecasting for your station. In Cumulus click the Configuration menu then Station and tick the box to the bottom right of the screen "Cumulus forecast". Note that if your weather station produces forecasts itself in a form that can be read by Cumulus (the Davis range, for example), and you want Cumulus to use the station-generated forecast, you should leave the box unticked.





Revision as of 12:46, 25 August 2009

The forecast webtag attempts to predict a weather forecast for the coming 12 hours. It uses a tried and tested algorithm based on the pressure and trend, wind speed, the month and your hemisphere. The initial formula was developed in the early 1900's and was based on years of observations and testing and proved to be around 91% accurate. It is said to have been extensively tested by NATO in the most extreme weather conditions. It has been demonstrated that the most accurate forecasts are based on readings taken at 9am however it continues to give reliable results throughout the day.

The findings have since been coded and included in Cumulus.


ScreenshotEnableForecast.png

In order for the forecast webtag to be populated you must enable forecasting for your station. In Cumulus click the Configuration menu then Station and tick the box to the bottom right of the screen "Cumulus forecast". Note that if your weather station produces forecasts itself in a form that can be read by Cumulus (the Davis range, for example), and you want Cumulus to use the station-generated forecast, you should leave the box unticked.


The forecasting option was added in Version 1.8.3


Possible values

The <#forecast> webtag will return one of the following values:

  • Settled fine
  • Fine weather
  • Becoming fine
  • Fine, becoming less settled
  • Fine, possible showers
  • Fairly fine, improving
  • Fairly fine, possible showers early
  • Fairly fine, showery later
  • Showery early, improving
  • Changeable, mending
  • Fairly fine, showers likely
  • Rather unsettled clearing later
  • Unsettled, probably improving
  • Showery, bright intervals
  • Showery, becoming less settled
  • Changeable, some precipitation
  • Unsettled, short fine intervals
  • Unsettled, precipitation later
  • Unsettled, some precipitation
  • Mostly very unsettled
  • Occasional precipitation, worsening
  • Precipitation at times, very unsettled
  • Precipitation at frequent intervals
  • Precipitation, very unsettled
  • Stormy, may improve
  • Stormy, much precipitation

Credit

The original formula was converted into a Javascript algorithm by 'Beteljuice' and kindly supplied to the Cumulus project for conversion into it's codestream.