[GRASS-user] r.damflood example

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

Does anyone have any idea what I am doing wrong?
Has anyone succesfully used this addon in the past? If you do, can you share an example?

with kind regards,
Panos

On Wed, Dec 2, 2015 at 7:20 AM, Panagiotis Mavrogiorgos <pmav99@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 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.

Anna

Does anyone have any idea what I am doing wrong?
Has anyone succesfully used this addon in the past? If you do, can you
share an example?

with kind regards,
Panos

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Wed, Dec 2, 2015 at 4:46 PM, Anna Petrášová <kratochanna@gmail.com>
wrote:

On Wed, Dec 2, 2015 at 7:20 AM, Panagiotis Mavrogiorgos <pmav99@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 :slight_smile:
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)?

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

On Wed, Dec 2, 2015 at 4:46 PM, Anna Petrášová <kratochanna@gmail.com>
wrote:

On Wed, Dec 2, 2015 at 7:20 AM, Panagiotis Mavrogiorgos <pmav99@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 :slight_smile:
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.