How to get the latest forecast
Get the most recently updated forecast for a site
How the site forecasts are constructed
There are usually multiple forecasting models running for every site. These can use different weather models, they can be ML or physical models, they can use lagged measured values as input, etc. A site’s forecast is constructed by using the individual model outputs (forecasts) for different time horizons based on some priority scheme we apply. For example, in the dashboard screenshot below, there are four physical models running with different weather models as input. The forecast we deliver for the specific site is made of the green model forecasts for the first leading period, the blue model forecasts for the period after that, and the red model forecasts for the rest of the forecasting horizon. If a model fails to generate any forecasts, the next model(s) in the priority list will be used to deliver the missing forecasts.
See how to get a specific model output.
How to query the latest forecast
To query the most recently updated forecast you need to provide the ID of the site.
The response is a serialized table with the following columns:
valid_time
: It contains the target times, i.e. the periods which are forecasted.
forecast
: It contains the forecast values.
model_name
: It contains the names of the models which create the forecasts.
model_version
: It contains the versions of the models which create the forecasts.
update_time
: It contains the issue/update time, i.e. the time when the forecasts were updated.
Change time zone
The default time zone is UTC
. You can specify a different time zone in the requests parameters.