foxes.output.RosePlotOutput.get_data(wd_sectors, ws_var, ws_bins, wd_var='AMB_WD', turbine=0, point=0, add_inf=False)[source]

Generates the plot data

Parameters

wd_sectors: int

The number of wind rose sectors

ws_var: str

The wind speed variable

ws_bins: list of float

The wind speed bins

wd_var: str

The wind direction variable

turbine: int

The turbine index, for weights and for data if farm_results are given

point: int

The point index, for data if point_results are given

add_inf: bool

Add an upper bin up to infinity

Returns

data: xarray.Dataset

The plot data