[GRASS-user] bug? r.watershed strange outputs

Ken Mankoff mankoff at gmail.com
Sun Nov 18 23:26:43 PST 2018


Hi List,

I'm running r.watershed like this:

r.watershed -s elevation=e drainage=dir

Attached is a graphic showing the elevation input and direction output.

If you look near the burgundy square in the elevation at the 4.0 value to the NW, *everything* near that cell should flow into it (all neighbors are >4.0). However, if you look at the direction output, the 4.8 value (south of 4.0 and west of the burgundy 4.4) flows to the NE out of the domain (direction = -1). This seems like a bug.

Viewing the output direction raster, the burgundy "3" flows into the "-2" to the NW. That means that is ONE catchment. But it is bisected by a different catchment (the -1 flowing out of the domain).

  -k.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: elevation.png
Type: image/png
Size: 117925 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20181119/34845d19/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: direction.png
Type: image/png
Size: 80813 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20181119/34845d19/attachment-0003.png>


More information about the grass-user mailing list