com1DFA.com1DFA.initializeSecRelease

initializeSecRelease(inputSimLines, dem, relRaster, reportAreaInfo)[source]

Initialize secondary release area

Parameters
  • inputSimLines (dict) – dict with

    • entResInfo : dict, with the flagSecondaryRelease

    • secondaryReleaseLine : dict, secondary release line dictionary

  • dem (dict) – dem dictionary

  • relRaster (2D numpy array) – release Raster (to check overlap)

  • reportAreaInfo (dict) – simulation area information dictionary

Returns

  • secondaryReleaseInfo (dict) – inputSimLines[‘secondaryReleaseLine’] dictionary completed with

    • header: the dem original header

    • rasterData: list of secondary release rasters (without the overlapping part with the release)

    • flagSecondaryRelease: ‘Yes’ if a secondary release is there

  • reportAreaInfo (dict) – updated simulation area information dictionary