3.1. copro.selection.select

copro.selection.select(config, out_dir, root_dir)[source]

Main function performing the selection procedure. Also stores the selected conflicts and polygons to output directory.

Parameters
  • config (ConfigParser-object) – object containing the parsed configuration-settings of the model.

  • out_dir (str) – path to output folder.

  • root_dir (str) – path to location of cfg-file.

Returns

remaining conflict data after selection process. geo-dataframe: all polygons of the study area. geo-dataframe: remaining polygons after selection process. dataframe: global look-up dataframe linking polygon ID with geometry information.

Return type

geo-dataframe