foxes.output.ResultsWriter.write_csv(file_name, variables=None, turbine_names=False, state_turbine_table=False, verbosity=1, **kwargs)[source]

Writes a csv file

ParametersΒΆ

file_name: str

Name of the csv file

variables: dict or list of str, optional

The variables to be written. If a dict, then the keys are the foxes variables and the values the column names. If None, then all data will be written.

turbine_names: bool

Use turbine names instead of turbine indices

state_turbine_table: bool

Flag for writing a single variable into turbine columns for state rows

verbosity: int

The verbosity level, 0 = silent

kwargs: dict, optional

Additional parameters for Output.write()