com1DFA.com1DFA.fetchRelVolume

fetchRelVolume(releaseFile, cfg, pathToDem, radius=0.01)[source]

compute release area volume using release line and thickness info and dem

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

  • 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