in1Data.getInput.initializeRelTh
- initializeRelTh(cfg, dOHeader)[source]
check for relThFile and load to dict (if relTh is read from file)
- Parameters
cfg (configparser) – used are avalanchDir and relThFile
demHeader – header of dem to check for matching rows and numbers
- Returns
relThFieldData (ndarray or str) – with release thickness field data if not relThFromFile an empty string is returned
relThFile (path) – updated path to relThFile (needed in case of remeshing)