[GRASS-user] Problem in running r.basin

Margherita Di Leo diregola at gmail.com
Wed Oct 19 05:31:14 PDT 2016


On Wed, Oct 19, 2016 at 12:15 PM, Priscilla_I <isacco.silvia at gmail.com>
wrote:

> Hi Micha,
> thanks for you answer, as Margherita wrote "Silvia" is the directory in
> which I'd like to save my results, and use r.stream only to check that
> coordinates belongs to virtual stream network.
> I followed Margherita advices but I already removed all old files and
> grass kept in giving me error.
>

Yes, but it's a different error..


> So I thought it could be a problem related to the fact that I was using
> GRASS downloaded with Qgis and there were some warnings when I launched it.
>

> I dowloaded GRASS 7.0.5 and tried to run r.basin with the NC sample
> dataset as suggested in an old thread:
>
> I follow the following procedure
> - I create a new mapset in order to not have problems about old files and
> overwriting
> - I set the region
>  * g.region -a raster=elevation at PERMANENT align=elevation at PERMANENT*
> - I launch the command
>  * r.basin map=elevation at PERMANENT prefix=b coordinates=637304,218585
> dir=\tmp\test threshold=40*
>
> it breaks with the error
> *An ERROR occurred running r.basin*
> *Please check for error messages above or try with another pairs of outlet
> coordinates*
> *Removing region definition <original>*
>

Can you try with the example in the manual?

https://grass.osgeo.org/grass70/manuals/addons/r.basin.html

g.region raster=elevation -p
r.basin map=elevation prefix=my_basin coord=637304.924954,218617.100523 \
 dir=/tmp/test threshold=1000


Regards,

-- 
Margherita Di Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20161019/bad82d7f/attachment.html>


More information about the grass-user mailing list