com1DFA.com1DFA.initializeRelVol

initializeRelVol(cfg, demVol, releaseFile, radius, releaseType='primary')[source]

initialize release line and apply thickness to compute release volume

Parameters cfg: dict

configuration settings

demVol: dct

dictionary with info on DEM data, area

releaseFile: pathlib path

path to release area shp file

radius: float

include all cells which center is in the release line or close enough

releaseType: str

name of release area type, e.g. primary, secondary

Returns

relVolume – volume of the release area

Return type

float