[GRASS-user] r.hazard.flood: ERROR_G_malloc: r_accumulation

Markus Metz markus.metz.giswork at gmail.com
Fri Jun 14 00:58:16 PDT 2013


On Fri, Jun 14, 2013 at 9:19 AM, RichardC <richtcooper at hotmail.com> wrote:
> Just to confirm (and for reference) the successful running of r.hazard.flood
> on GRASS 7 svn (code revision 56683) (configured with --enable-largefile),
> and with the following 'flags' change to r.hazard.flood.py:
>
> from
>     # Flow accumulation map MFD
>     grass.run_command('r.watershed', elevation = r_elevation , accumulation
> = 'r_accumulation' , convergence = 5, flags = 'a')
>     grass.message("Flow accumulation done. ")
>
> to
>     # Flow accumulation map MFD
>     grass.run_command('r.watershed', elevation = r_elevation , accumulation
> = 'r_accumulation' , convergence = 5, flags = 'am')
>     grass.message("Flow accumulation done. ")
>

Nice, thanks for the feedback!

Markus M


More information about the grass-user mailing list