com1DFA.deriveParameterSet.checkDEM
- checkDEM(cfgSim, demFile, onlySearch=False)[source]
check if cell size of DEM in Inputs/ is same as desired meshCellSize if not - check for remeshed DEM or remesh the DEM
- Parameters
cfgSim (configparser object) – configuration settings of com module
demFile (str or pathlib path) – path to dem in Inputs/
onlySearch (bool) – if True - only searching for remeshed DEM but not remeshing if not found
- Returns
pathToDem – path to DEM with correct cellSize relative to Inputs/
- Return type
str