<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<span>Hi all,</span><br /><br /><span>I'm running into problems with r.basin (Grass 7.0 in Ubuntu 14.04 lts). </span><br /><br /><span>I use: </span><br /><em>"</em><em>g.region -p -a raster=<Input_DTM@user>  align=<Input_DTM@user>"</em><em><br /></em><em>"r.basin -a --overwrite map=<Input_DTM@user> prefix=out coordinates=x0,y0 dir=/home/usr/ threshold=200"</em><br /><br /><span>It works fine when I use the GRASS GIS sample data "North Carolina". Using the data I'm working on I receive instead this error message: </span><br /><br /><span>"......</span><br /><em>Updating database...</em><em><br /></em><em> 100%</em><em><br /></em><em>1 categories read from vector map (layer 1)</em><em><br /></em><em>1 records selected from table (layer 1)</em><em><br /></em><em>1 categories read from vector map exist in selection from table</em><em><br /></em><em>1 records updated/inserted (layer 1)</em><em><br /></em><em>Fetching data...</em><em><br /></em><em><br /></em><em>------------------------------</em><em><br /></em><em><br /></em><em>An ERROR occurred running r.basin</em><em><br /></em><em>Please check for error messages above or try with another pairs of outlet</em><em> </em><em>coordinates</em><em><br /></em><em>Removing region definition <original></em><span>"</span><br /><br /><span>I tried different pairs of outlet coordinates</span><em> </em><span>without success. Looking at the results, the problem seems related to the r.stream.extract module which fails in outputting the rasters related to the stream network (e.g. out_stream_e, ut_stream_horton etc). All these raster maps show only a pixel at the outlet snap point position.  </span><br /><br /><span>If i try the r.stream.extract module: </span><br /><em>"r.stream.extract --overwrite elevation=<Input_DTM> accumulation=<out_accumulation"> </em><span>I get this error: </span><br /><em>"ERROR: Accumulation raster map is NULL but elevation map is not NULL".<br /><br /></em><span>The r.watershed and r.water.outlet modules work fine instead.</span><em><br /><br /></em><span></span>
<div>Does anyone know what the problem is ?</div>
<div> </div>
<div>Thank you, </div>
<div>Cheers, Enzo.</div>
</body></html>
<br><br/><br/>Connetti gratis il mondo con la nuova indoona:  hai la chat, le chiamate, le video chiamate e persino le chiamate di gruppo.<br />
E chiami gratis anche i numeri fissi e mobili nel mondo!<br />
Scarica subito l’app Vai su <a href='https://www.indoona.com/' target='_Blank'>https://www.indoona.com/</a><br/><br/>