windkit.binned_wind_climate.weibull_fit

windkit.binned_wind_climate.weibull_fit(bwc, include_met_fields=None, atol=1e-08)[source]

Returns sectorwise Weibull parameters using WAsP’s fitting algorithm.

Parameters:
  • bwc (xarray.Dataset) – Binned wind climate xr.Dataset object

  • include_met_fields (bool) – Whether to include met fields in the output. Defaults to False.

  • atol (float) – Absolute tolerance for the weibull-fitting algorithm. Defaults to 1e-6.

Returns:

Weibull Wind Climate of same spatial extent as the input bwc

Return type:

xarray.Dataset