bsrn.utils.clear_sky_detection.detect_clearsky#
- bsrn.utils.clear_sky_detection.detect_clearsky(method, **kwargs)[source]#
Wrapper for clear-sky detection methods. 晴空检测方法封装函数。
- Parameters:
method ({"reno", "ineichen", "lefevre", "brightsun"}) – Method name. 方法名称。
**kwargs (dict) – Arguments forwarded to method function. 传递给具体方法函数的参数。
- Returns:
out – Standardized CSD output. 标准化 CSD 输出。
- Return type:
pd.DataFrame
- Raises:
ValueError – When method is not one of reno, ineichen, lefevre, brightsun. 方法名不在支持列表中时。