windkit.binned_wind_climate.bwc_ws_cdf
- windkit.binned_wind_climate.bwc_ws_cdf(bwc, /, bysector=False)[source]
Calculate the cumulative distribution function (CDF) of the wind speed from a bwc
- Parameters:
bwc (xarray.Dataset) – Binned wind climate xr.Dataset object
bysector (bool) – Whether to return the sectorwise wind speed cdf or the all-sector mean cdf. Defaults to False which returns the all-sector mean cdf.
- Returns:
ws_cdf – Array of wind speed cdf.
- Return type: