foxes.output.StateTurbineTable.get_dataset(variables, name_map={}, to_file=None, isel=None, sel=None, **kwargs)[source]

Creates a dataset object

Parameters

variables: list of str

The output variables

name_map: dict

Map from foxes to output names

to_file: str, optional

Name of the output file, if writing is desired

isel: dict, optional

Parameters for xarray.Dataset.isel

sel: dict, optional

Parameters for xarray.Dataset.sel

kwargs: dict, optional

Additional parameters for write_nc

Returns

table: xarray.Dataset

The state-turbine data table