com1DFA.com1DFA.prepareInputData

prepareInputData(inputSimFiles)[source]

Fetch input data

Parameters
  • relFiles (str) – path to release file

  • inputSimFiles (dict) –

    demFilestr

    path to dem file

    secondaryReleaseFilestr

    path to secondaryRelease file

    entFilesstr

    path to entrainment file

    resFilestr

    path to resistance file

    entResInfoflag dict

    flag if Yes entrainment and/or resistance areas found and used for simulation flag True if a Secondary Release file found and activated

Returns

  • demOri (dict) – dictionary with original dem

  • inputSimLines (dict) –

    releaseLinedict

    release line dictionary

    secondaryReleaseLinedict

    secondaryRelease line dictionary

    entLinedict

    entrainment line dictionary

    resLinedict

    resistance line dictionary

    entrainmentAreastr

    entrainment file name

    resistanceAreastr

    resistance file name

    entResInfoflag dict

    flag if Yes entrainment and/or resistance areas found and used for simulation flag True if a Secondary Release file found and activated