in3Utils.MoTUtils.setVariableEntrainmentParameters

setVariableEntrainmentParameters(cfg, inputSimFiles, workInputDir, inputsDir)[source]

set file path in cfg object for entrainment parameters (required if option variable is set) if _b0 , _tauc files found in Inputs/RASTERS and Inputs/ENT

Parameters
  • cfg (configparser object) – configuration info for simulation

  • inputSimFiles (dict) – dictionary with info on all input data found; here b0, tauc file and if remeshed

  • workInputDir (pathlib path) – pathlib path to work Inputs folder for current simulation

  • inputsDir (pathlib path) – path to avalancheDir/Inputs where original input data and remeshed rasters are stored

Returns

cfg – updated configuration info for simulation with file paths to friction parameters

Return type

configparser object