[GRASS-user] r.damflood example

Anna Petrášová kratochanna at gmail.com
Fri Dec 4 06:58:13 PST 2015


On Fri, Dec 4, 2015 at 9:50 AM, Panagiotis Mavrogiorgos <pmav99 at gmail.com>
wrote:

>
>
> On Wed, Dec 2, 2015 at 4:46 PM, Anna Petrášová <kratochanna at gmail.com>
> wrote:
>
>>
>>
>> On Wed, Dec 2, 2015 at 7:20 AM, Panagiotis Mavrogiorgos <pmav99 at gmail.com
>> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20151204/9433bc55/attachment-0001.html>


More information about the grass-user mailing list