solarforecastarbiter.io.api.APISession.get_probabilistic_forecast_constant_value¶
-
APISession.
get_probabilistic_forecast_constant_value
(forecast_id, site=None, aggregate=None)[source]¶ Get ProbabilisticForecastConstantValue metadata from the API for the given forecast_id.
Parameters: - forecast_id (string) – UUID of the forecast to get metadata for
- site (datamodel.Site or None) – If provided, the object will be attached to the returned value (faster). If None, object will be created from site metadata obtained from the database (slower).
- aggregate (datamodel.Aggregate or None) – If provided and the forecast is of an aggregate, the object will be attached to the return value.
Returns: datamodel.ProbabilisticForecastConstantValue
Raises: ValueError
– If provided site.site_id does not match database record of forecast object’s linked site_id.