[GRASS-user] Problem with r.basin in grass7

Helmut Kudrnovsky hellik at web.de
Sun Nov 16 04:22:24 PST 2014


Andrea Timmermann wrote
> Hi !! 
> 
>   
> 
> Thanks for the update.  
> 
> I reinstalled the latest grass  (version 13.11) and could also
> install all the r.stream addons without problems. 
> 
>   
> 
> There is still a problem with r.basin, however. 
> 
> When I run: 
> 
> "r.basin map=map at Elevation prefix=o
> coordinates=-71.10394196,43.9865230801 threshold=19005
> dir=C:\\Users\\Andrea\\Basins" 
> 
>   
> 
> I get: 
> 
> "... 
> 
> ... 
> 
> Width Function | quantiles 
> 
> 
> =========================== 
> 9291 | 0.05 
> 15726 | 0.15 
> 27145 | 0.3 
> 31933 | 0.4 
> 35026 | 0.5 
> 38212 | 0.6 
> 41192 | 0.7 
> 49125 | 0.85 
> 56807 | 0.95 
> Done! 
> ------------------------------ 
> All in RAM calculation - method <DOWNSTREAM>... 
> Reading raster map <o_map_stream_e>... 
> Reading raster map <o_map_drainage>... 
> Finding nodes... 
> Reading raster map <r_elevation_crop>... 
> Calculate downstream parameters... 
> Writing raster map <o_map_hillslope_distance>... 
> First pass 
> Writing output map 
> r.stats.zonal done 
> r.info done 
> r.mapcalc done 
> ERROR: Reading raster map <o_map_basin@> request for row -130 is
> outside region 
> 
> ------------------------------ 
> 
> An ERROR occurred running r.basin 
> Please check for error messages above or try with another pairs of outlet
> coordinates" 

tested r.basin here on my side:

r.basin --verbose map=dem_linked at PERMANENT prefix=a
coordinates=-51121.42352,193901.704819 dir=C:\tmp\rstreamtest
threshold=12000
[...]
(Sun Nov 16 13:12:48 2014) Befehl ausgeführt (40 Min 25 Sek)   

r.basin finishes here.

please try to reset and align your region to the DEM before a r.basin-run.



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-with-r-basin-in-grass7-tp5169155p5173189.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list