10.7. copro.utils.make_output_dir

copro.utils.make_output_dir(config, root_dir, config_dict)[source]

Creates the output folder at location specfied in cfg-file, and returns dictionary with config-objects and out-dir per run.

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

  • root_dir (str) – absolute path to location of configurations-file

  • config_dict (dict) – dictionary containing config-objects per projection.

Returns

dictionary containing config-objects and output directories for reference run and all projection runs.

Return type

dict