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

Writes a netCDF file

ParametersΒΆ

file_name: str

The nc file name

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()