load_solar

load_solar(return_array=True)[source]

Get national solar estimates for GB from Sheffield Solar PV_Live API.

This function calls the Sheffield Solar PV_Live API to extract national solar data for the GB eletricity network. Note that these are estimates of the true solar generation, since the true values are “behind the meter” and essentially unknown.

The returned time series is half hourly. For more information please refer to [1].

Parameters:
return_arraybool, default=True

return series as an np.ndarray if True, else as a pd.Series.

Returns:
np.ndarray or pd.Series

Example Sheffield solar time series

References

Examples

>>> from aeon.datasets import load_solar  
>>> y = load_solar()