in3Utils.MoTUtils

Functions

copyMoTDirs

Copy timestep directory from work directory to output directory.

copyMoTFiles

Copy and rename MoT result files from work directory to output directory.

rewriteDEMtoZeroValues

Set all NaN values in a DEM raster to zero and update the nodata value.

runAndCheckMoT

Execute MoT command and monitor its output.

setVariableEntrainmentParameters

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

setVariableForestParameters

set file paths in cfg object for forest parameters.

setVariableFrictionParameters

set file paths in cfg object for friction parameters (required if option variable is set) if _mu, _k files found in Inputs/RASTERS have to be remeshed, copy remeshed files to workInputDir with new file name ending _mu, _k