in3Utils.MoTUtils.setVariableForestParameters

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

set file paths in cfg object for forest parameters. if _nd, _bhd files found in Inputs/RASTERS have to be remeshed, copy remeshed files to workInputDir with new file name ending _nd, _bhd

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

  • inputSimFiles (dict) – dictionary with info on all input data found; here nd, bhd 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 forest parameters

Return type

configparser object