class foxes.output.ResultsWriter(foxes.output.Output)[source]

Writes results farm data to file.

Attributes

data: pandas.DataFrame

The farm results

Public members

ResultsWriter(farm_results=None, data=None, **kwargs)[source]

Constructor.

write_csv(file_name, variables=None, turbine_names=False, ...)[source]

Writes a csv file

write_nc(file_name, variables=None, turbine_names=False, ...)[source]

Writes a netCDF file

get_fpath(fname)[source]

Gets the total file path

write(file_name, data, format_col2var={}, format_dict={}, **kwargs)[source]

Writes data to file via pandas.

classmethod print_models()[source]

Prints all model names.

classmethod new(output_type, *args, **kwargs)[source]

Run-time output model factory.