On Fri, Dec 4, 2015 at 9:50 AM, Panagiotis Mavrogiorgos <[email protected]> wrote:
> > > On Wed, Dec 2, 2015 at 4:46 PM, Anna Petrášová <[email protected]> > wrote: > >> >> >> On Wed, Dec 2, 2015 at 7:20 AM, Panagiotis Mavrogiorgos <[email protected] >> > wrote: >> >>> Hi all, >>> >>> I am trying to run r.damflood but I am running into trouble. >>> Unfortunately the documentation has no examples. I manage to make the >>> script run but I can't quite figure out what I need to use as input in >>> order to get meaningful results. >>> >>> I've tried to describe the steps I followed in this gist: >>> https://gist.github.com/pmav99/d6162e1d82e9f23f769c >>> >> >> Nice! Some steps seems too complicated, I suggest using r.null for some >> of the steps. >> > > I agree with you that it could be simplified, but I was trying to > replicate r.dam. > > >> I think the problem is the break raster. It should have 0 everywhere >> except for the part of dam which breaks, that part should have the height >> of the dam break, for example tens of meters. r.damflood computes >> internally the new DEM as DEM with the dam minus the break raster. I hope >> it's clearer now. >> > > I see, thank you :) > It does make sense now. > > Question: Is it possible to make r.damflood take under consideration > downstream water (e.g. a lake or a river)? > I think so, but I haven't tested it. You would just incorporate it into the lake raster.
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
