ana4Stats.probAna.createCfgFiles

createCfgFiles(paramValuesDList, comMod, cfg, cfgPath='', fileOverride='')[source]

create all config files required to run com Module from parameter variations using paramValues

Parameters
  • paramValuesDList (list) – list of dictionaries with parameter names and values (array of all sets of parameter values, one row per value set) multiple dictionaries if multiple release area scenarios and thFromShp

  • comMod (com module) – computational module

  • cfg (configparser object) – configuration settings

  • cfgPath (str) – path where cfg files should be saved to

  • fileOverride (pathlib path) – if config of comMod should be overwritten provide file path

Returns

cfgFiles – list of cfg file paths for comMod including the updated values of the parameters to vary

Return type

list