bsrn.utils.clear_sky_detection.reno_csd#
- bsrn.utils.clear_sky_detection.reno_csd(ghi, ghi_clear, times=None, return_diagnostics=False)[source]#
Reno2016 clear-sky detection [1].
MATLAB mapping: Reno2016CSD(ghi, ghics, plot_figure) with ghics -> ghi_clear.
- Parameters:
ghi (array-like) – Global horizontal irradiance (ghi). [W/m^2]
ghi_clear (array-like) – Clear-sky global horizontal irradiance (ghics -> ghi_clear). [W/m^2]
times (array-like or pd.DatetimeIndex, optional) – Time index for outputs.
return_diagnostics (bool, default False) – If True, include method diagnostics.
- Returns:
out – Standardized output with is_clearsky, cloud_flag, and optional diagnostics.
- Return type:
pd.DataFrame
- Raises:
ValueError – When input lengths do not match.
References