com4FlowPy.com4FlowPy.com4FlowPyMain

com4FlowPyMain(cfgPath, cfgSetup)[source]
com4FlowPy main function performs the model run and writes results to disk:
  • reading of input data and model Parameters

  • calculation

  • writing of result files

the function assumes that all necessary directories inside cfgPath have already been created (workDir, tempDir)

Parameters
  • cfgPath (configparser.SectionProxy Object) – contains paths to input data (from .ini file)

  • cfgSetup (configparser.SectionProxy Object) – “GENERAL” model configs (from .ini file)