com1DFA.com1DFA.adaptDEM

adaptDEM(dem, fields, cfg)[source]

adapt topography in respect to erosion and deposition

Parameters
  • dem (dict) – dictionary with info on DEM data

  • fields (dict) –

    fields dictionary containing:

    FTDet (flow thickness change due to detrainment >= 0) FTStop (flow thickness change due to stopping >= 0) FTEnt (flow thickness change due to entrainment <= 0) mStop (stopped mass <=0) sfcChangeTotal (so far changed surface) entrDepth (entrainable depth that is on top of the not erodable topography) entrMassRaster (entrainable mass) demNotErodableRaster (topography that is not erodable)

  • cfg (dict) – configuration settings

Returns

  • dem (dict) – dictionary with info on DEM data containing adapted topography

  • fields (dict) – fields dictionary containing adapted DEM, adapted entrainable mass and depth raster