<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 4, 2015 at 9:50 AM, Panagiotis Mavrogiorgos <span dir="ltr"><<a href="mailto:pmav99@gmail.com" target="_blank">pmav99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Dec 2, 2015 at 4:46 PM, Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Wed, Dec 2, 2015 at 7:20 AM, Panagiotis Mavrogiorgos <span dir="ltr"><<a href="mailto:pmav99@gmail.com" target="_blank">pmav99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>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. </div><div><br></div><div>I've tried to describe the steps I followed in this gist: <a href="https://gist.github.com/pmav99/d6162e1d82e9f23f769c" target="_blank">https://gist.github.com/pmav99/d6162e1d82e9f23f769c</a></div></div></blockquote><div><br></div></span><div>Nice! Some steps seems too complicated, I suggest using r.null for some of the steps. </div></div></div></div></blockquote><div><br></div></span><div>I agree with you that it could be simplified, but I was trying to replicate r.dam.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>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.</div></div></div></div></blockquote><div><br></div></span><div>I see, thank you :)</div><div>It does make sense now.</div><div><br></div><div>Question: Is it possible to make r.damflood take under consideration downstream water (e.g. a lake or a river)?</div></div></div></div></blockquote><div><br></div><div>I think so, but I haven't tested it. You would just incorporate it into the lake raster.  </div></div><br></div></div>