com1DFA.com1DFA.initializeMassEnt

initializeMassEnt(dem, simTypeActual, entLine, reportAreaInfo, thresholdPointInPoly, cfgGen)[source]

Initialize mass for entrainment

Parameters
  • dem (dict) – dem dictionary

  • simTypeActual (str) – simulation type

  • entLine (dict) – entrainment line dictionary

  • reportAreaInfo (dict) – simulation area information dictionary

  • thresholdPointInPoly (float) – threshold val that decides if a point is in the polygon, on the line or very close but outside

  • cfgGen (config parser) – General configuration

Returns

  • entrMassRaster (2D numpy array) – raster of available mass for entrainment

  • reportAreaInfo (dict) – simulation area information dictionary completed with entrainment area info