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. Reno2016 晴空检测 [1]。
MATLAB mapping: Reno2016CSD(ghi, ghics, plot_figure). MATLAB 变量映射:ghics -> ghi_clear。
- Parameters:
ghi (array-like) – Global horizontal irradiance (ghi). [W/m^2] 水平总辐照度 (ghi)。[瓦/平方米]
ghi_clear (array-like) – Clear-sky global horizontal irradiance (ghics -> ghi_clear). [W/m^2] 晴空水平总辐照度 (ghics -> ghi_clear)。[瓦/平方米]
times (array-like or pd.DatetimeIndex, optional) – Time index for outputs. 输出时间索引。
return_diagnostics (bool, default False) – If True, include method diagnostics. 若为 True,返回方法诊断量。
- Returns:
out – Standardized output with is_clearsky, cloud_flag, and optional diagnostics. 标准化输出,含 is_clearsky、cloud_flag 及可选诊断量。
- Return type:
pd.DataFrame
- Raises:
ValueError – When input lengths do not match. 输入长度不一致时。
References