You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It could be made into a list of Forecasts but this might require a bit of manipulating, so there is only one Forecast for each gsp_id. We could do this in the datamodel, so that the api deosnt need to worry about it
Allow forecast/all route to get 4 hour view.
Add two new variables to v0/solar/GB/gsp/forecast/all/
/forecast/all
uses/src/database.py
-get_forecasts_from_database
functionif
only_forecast_values
then we can usesThis should be in
historic==False
section.TODO
Need to think how this object should be returned. It cant just be a list of
ForecastValues
as that doesnt include the location (gsp_id).openclimatefix/nowcasting_datamodel#144
It could be made into a list of
Forecasts
but this might require a bit of manipulating, so there is only oneForecast
for each gsp_id. We could do this in the datamodel, so that the api deosnt need to worry about itData model:
datamodel has been adapted here - openclimatefix/nowcasting_datamodel#143
The text was updated successfully, but these errors were encountered: