foxes.output.ResultsWriter.write_nc(file_path, variables=None, turbine_names=False, verbosity=1, **kwargs)[source]

Writes a netCDF file

ParametersΒΆ

file_path: str

Path the 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

verbosity: int

The verbosity level, 0 = silent

kwargs: dict, optional

Additional parameters for write_nc()