windkit.binned_wind_climate.bwc_from_counts

windkit.binned_wind_climate.bwc_from_counts(wind_hist)[source]

Convert wind vector count histogram to binned wind climate dataset.

Parameters:

wind_hist (xarray.DataArray) – A valid pywasp wind-vector-count histogram DataArray

Returns:

relfreq – Dataset with wind speed frequencies normalized in each sector and the rel. frequency of occurance of wind direction.

Return type:

xarray.Dataset