[GRASS-user] r.terraflow on massive DEM

Hi list,

I’m trying to run r.terraflow on a very large DEM but I wander if it’s too large.

The region dimensions are:

ncol=141114

nrow=140487

Data type = CELL

The map is actually a reclass map of a raster that I imported using r.external.

When I run r.terraflow I get:

r.terraflow elevation=srtm_brasil@PERMANENT filled=srtm_fill direction=flowdir swatershed=sink accumulation=flowacc tci=srtm_tci directory=E:\terraflow_temp

WARNING: raster srtm_brasil is of type CELL_TYPE --you should use r.terraflow.short
ERROR: [nrows=140487, ncols=141114] dimension_type overflow – change dimension_type and recompile
(Mon Jan 12 09:57:18 2015) Command finished (0 sec)

However, I don’t have an r.terraflow.short command

I’m running Grass 7.0.0beta4 from OsGeo4W

Cheers
Daniel

Hi Daniel,

Try r.watershed with -m option in GRASS 7
(http://grass.osgeo.org/grass70/manuals/r.watershed.html)

For me, on Ubuntu 12.04, that worked well on a DEM of that size. But be
prepared to wait a couple of days for the result if you can not run it "in
memory"...

Cheers
Stefan

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/r-terraflow-on-massive-DEM-tp5181062p5181144.html
Sent from the Grass - Users mailing list archive at Nabble.com.