com1DFA.com1DFA.initializeSecRelease

initializeSecRelease(inputSimLines, dem, relRaster)[source]

Initialize secondary release area

Parameters
  • inputSimLines (dict) –

    dict with:
    entResInfodict

    with the flagSecondaryRelease

    secondaryReleaseLinedict

    secondary release line dictionary

  • dem (dict) – dem dictionary

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

Returns

secondaryReleaseInfo

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

Return type

dict