Forecast: Difference between revisions

m
 
 
== Inner working ==
=== YourweatherCUtils ===
It uses the Open Meteo forecast for the ''ECMWF IFS HRES 9km'' model and charts the resulting data, there is no table display.
 
=== SpotWx ===
When setting the ''ForecastSystem'' to '''SpotWx''', the prediction for the latitude and longitude of the station is fetched and displayed in an iframe.<br>
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.
 
=== Yourweather ===
The ''YourWeather'' has been replaced by '''Open Meteo''' in pwsFWI.
This forecast will be removed, not yet sure it will be preplaced by Open Meteo.
If it is : no licensing is involved.
 
<s>When setting the ''ForecastSystem'' to '''Yourweather''', the user must have:
#Go to yourweather.co.uk
#Scroll down until you see (in a bordered block): “API - Access to xml”;
#Click on it, register, and follow the instructions;
#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”;
#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 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.</s>
 
=== Norway ===