[GRASS-dev] r.hydrodem addon fails on very big rasters (150, 000 x 120, 000 pixels)

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Thu Feb 6 04:14:38 PST 2014


Dear all,

I am testing, trying, learning GRASS 7`s hydrology moduls at the moment. And I am very, very satisfied with the available tools. r.watershed managed to process a really big elevation model (150,000 x 120,000 pixels), which is amazing.

However, when I use r.hydrodem addon on the same big grid with 150,000 x 120,000 pixels (with the memory option) I get the following warning (and finally error) message:

r.hydrodem input=dem_10m memory=10000 output=dem_10m _hydro
Load elevation map
100%
WARNING: segment_format(fd,1,-221837149,1,262144,16): illegal value(s)
WARNING: seg_open(): illegal configuration parameter(s)
Remove one cell extremas
100%
Set edge points
Segmentation fault (core dumped)

Exactly the same command on a 45,000 x 20,000 pixel region works fine (and very fast btw.):
Load elevation map
100%
Remove one cell extremas
100%
Set edge points
100%
A* Search...
100%
Processing 2641798 sinks
100%
Write conditioned DEM
100%

Any ideas?

I can process the DEM in tiles (i.e. subdivided into major water regions), so there is a work around...

Almost forgot to mention: I am using GRASS 7 Revision: 58048 on Ubuntu 12.04.2 LTS server and r.hydrodem installed through g.extension today.

BTW. I tried to install all addons (through g.extension) and there were several moduls which did not compile successfully, should I try to collect a list of Addons with compilation problems (and error messages)?

Cheers
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140206/3462f210/attachment.html>


More information about the grass-dev mailing list