foxes.output.WindRoseBinPlot.get_data(variable, ws_bins, wd_sectors=12, wd_var='AMB_WD', ws_var='AMB_REWS', turbine=0, contraction='weights')[source]

Generates the plot data

Parameters

variable: str

The variable name

ws_bins: list of float

The wind speed bins

wd_var: str

The wind direction variable

ws_var: str

The wind speed variable

turbine: int

The turbine index

contraction: str

The contraction method for states: weights, mean_no_weights, sum_no_weights

Returns

data: xarray.Dataset

The plot data