Forecast: Difference between revisions

134 bytes added ,  13:35, 10 June 2023
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Introduction ==
== Introduction ==
{|align=right
  |__TOC__
  |}
''CumulusUtils'' has a minimal forecast module. Every weather site must have some kind of forecasting so the choice has been made to take four different existing possibilities and present the forecast of the users choice. It is not a true forecasting system.
''CumulusUtils'' has a minimal forecast module. Every weather site must have some kind of forecasting so the choice has been made to take four different existing possibilities and present the forecast of the users choice. It is not a true forecasting system.


Line 21: Line 25:
The iframe is formed as: <nowiki><iframe src='{SpotwxPredictionURL}' frameborder='0' style='border: 0; width:100%; height: 75vh;'></iframe></nowiki> and written to the output file.
The iframe is formed as: <nowiki><iframe src='{SpotwxPredictionURL}' frameborder='0' style='border: 0; width:100%; height: 75vh;'></iframe></nowiki> and written to the output file.


=== Yourwether ===
=== Yourweather ===
When setting the ''ForecastSystem'' to '''Yourweather''', the user must have:
When setting the ''ForecastSystem'' to '''Yourweather''', the user must have:
#Go to yourweather.co.uk
#Go to yourweather.co.uk
Line 28: Line 32:
#Once on the API page, choose your location;
#Once on the API page, choose your location;
#Choose the XML API, address 1: “Address 1: XML file with the 7-day forecast and general daily information”;
#Choose the XML API, address 1: “Address 1: XML file with the 7-day forecast and general daily information”;
#Fill in that link, in the ''cumlusutils.ini'' for the parameter: ''SevenDayPredictionURL''. In the section [Forecast]. You may have to run ''CumulusUtils'' with the argument Forecast one time to see that parameter.
#Fill in that link, in the ''cumlusutils.ini'' for the parameter: ''SevenDayPredictionURL''. In the section [Forecast]. You may have to run ''CumulusUtils'' with the argument Forecast one time to see that parameter or you can add it manually.


When ''CumulusUtils'' is run with the argument forecast, it fetched the corresponding XML with the ECMWF  model forecast and reworks that into a table and written to the outputfile. The icons the user installed in CUicons are used.
When ''CumulusUtils'' is run with the argument forecast, it fetches the corresponding XML with the ECMWF  model forecast and reworks that into a table that is written to the outputfile. The user installed icons in CUicons are used. These icons are available in the distribution.


=== Norway ===
=== Norway ===
Line 39: Line 43:
When setting the ''ForecastSystem'' to '''WxSim''', the WXsimURL is used to display in an iframe.<br>
When setting the ''ForecastSystem'' to '''WxSim''', the WXsimURL is used to display in an iframe.<br>
The iframe is formed as: <nowiki><iframe src='{WxsimPredictionURL}' frameborder='0' style='border: 0;width:100%; height: 75vh;'></iframe></nowiki> and written to the output file.
The iframe is formed as: <nowiki><iframe src='{WxsimPredictionURL}' frameborder='0' style='border: 0;width:100%; height: 75vh;'></iframe></nowiki> and written to the output file.
[[Category:CumulusUtils]]