windkit.binned_wind_climate.bwc_from_weibull

windkit.binned_wind_climate.bwc_from_weibull(A, k, wd_freq, ws_bins, crs=4326, **kwargs)[source]

Creates object from directional A’s and k’s.

Parameters:
  • A (numpy.ndarray or array_like) – 1D array with Weibull A by sector.

  • k (numpy.ndarray or array_like) – 1D array with Weibull k by sector.

  • wd_freq (numpy.ndarray or array_like) – 1D array with wind direction frequency by sector.

  • ws_bins (numpy.ndarray or array_like) – 1D array with edges of the wind speed bins (# of wind speeds + 0.0 as the lower bound)

  • crs (int, dict, str or pyproj.crs.CRS) – Value to initialize pyproj.crs.CRS Defaults to 4326 (Lat-Lon/WGS84 geodetic datum).

  • **kwargs (dict) – Additional arguments header, height, south_north, west_east.

Returns:

bwc – binned wind climate from a Weibull distribution.

Return type:

xarray.Dataset