com1DFA.com1DFA.fetchRelVolume
- fetchRelVolume(releaseFile, cfg, pathToDem, secondaryReleaseFile, radius=0.01)[source]
compute release area volume using release line and thickness info and dem if in config settings secRelArea is True - also include secondary release area in release volume estimate
- Parameters
releaseFile (pathlib path) – path to release area shp file
cfg (dict) – config settings of current sim
pathToDem (pathlib path) – path to dem file used for current sim
releaseFile (pathlib path, None) – path to secondary release area shp file or None if not available
radius (float) – include all cells which center is in the release line or close enough
- Returns
relVolume – volume of release area in m3
- Return type
float