foxes.output.WindFarmsEval.write_area_mapping_plot(plot_file, areas=None, mapping=None, geojson_name_key='name', title=None, verbosity=1)[source]

Writes a plot visualizing turbine-to-area mapping.

ParametersΒΆ

plot_file: str or pathlib.Path

The output plot path.

areas: list or str or pathlib.Path or dict, optional

The areas to visualize. If None, farm.cluster_areas is used.

mapping: dict, optional

Mapping from area names to turbine indices. If None, mapping is chosen from self._LEVEL.

geojson_name_key: str or list of str

Preferred GeoJSON feature property key(s) used to read area names from GeoJSON inputs

title: str, optional

The plot title. If None, a default title based on self._LEVEL is used.

verbosity: int

The verbosity level. 0 = silent