<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi, </div>
<div> </div>
<div>I just resumed my work with GRASS after some weeks of inactivity.</div>
<div>I downloaded the newest GRASS version and also updated my addons.</div>
<div>I am using the NC test data and get an error at the end when running r.basin. </div>
<div> </div>
<div><span style="line-height: 1.6em;">When I run:</span></div>
<div>
<div>"r.basin map=elev_ned_30m@PERMANENT prefix=sss coordinates=636654.791181,218824.126649 threshold=40 dir="C:\\Users\\Andrea\\Basins2222" --overwrite"</div>
<div> </div>
<div>I get: </div>
<div>"....</div>
<div>....</div>
<div>
<div>Reading raster map <sss_elev_ned_30m_strahler>...<br/>
Reading raster map <sss_elev_ned_30m_drainage_e>...<br/>
Reading raster map <r_elevation_crop>...<br/>
ERROR: Error while executing: 'DROP TABLE summary'<br/>
Traceback (most recent call last):<br/>
File "C:\Program Files (x86)\GRASS GIS<br/>
7.1.svn/scripts/db.in.ogr.py", line 123, in <module><br/>
main()<br/>
File "C:\Program Files (x86)\GRASS GIS<br/>
7.1.svn/scripts/db.in.ogr.py", line 77, in main<br/>
grass.write_command('db.execute', input = '-', stdin =<br/>
"DROP TABLE %s" % output)<br/>
File "C:\Program Files (x86)\GRASS GIS<br/>
7.1.svn\etc\python\grass\script\core.py", line 483, in<br/>
write_command<br/>
return handle_errors(returncode, returncode, args,<br/>
kwargs)<br/>
File "C:\Program Files (x86)\GRASS GIS<br/>
7.1.svn\etc\python\grass\script\core.py", line 308, in<br/>
handle_errors<br/>
returncode=returncode)<br/>
grass.exceptions.CalledModuleError: Module run None<br/>
['db.execute', 'input=-', 'stdin=DROP TABLE summary'] ended<br/>
with error<br/>
Process ended with non-zero return code 1. See errors in the<br/>
(error) output.</div>
<div> </div>
<div>------------------------------</div>
<div>An ERROR occurred running r.basin<br/>
Please check for error messages above or try with another pairs of outlet coordinates</div>
<div> </div>
<div> ------------------------------ <br/>
Output of r.stream.stats: <br/>
Summary:<br/>
Max order | Tot.N.str. | Tot.str.len. | Tot.area. | Dr.dens. | Str.freq. <br/>
(num) | (num) | (km) | (km2) | (km/km2) | (num/km2) <br/>
4 | 47 | 26.4605 | 7.9101 | 3.3452 | 5.9418 <br/>
Stream ratios based on regresion coefficient:<br/>
Bif.rt. | Len.rt. | Area.rt. | Slo.rt. | Grd.rt. <br/>
3.2413 | 1.2265 | 3.5856 | 1.6621 | 1.7310<br/>
Avaraged stream ratios with standard deviations:<br/>
Bif.rt. | Len.rt. | Area.rt. | Slo.rt. | Grd.rt. <br/>
4.6667 | 1.7001 | 4.1945 | 1.9270 | 2.0256<br/>
4.6188 | 1.2717 | 5.4587 | 0.8586 | 0.9290<br/>
Order | Avg.len | Avg.ar | Avg.sl | Avg.grad. | Avg.el.dif<br/>
num | (km) | (km2) | (m/m) | (m/m) | (m) <br/>
1 | 0.4573 | 0.1462 | 0.0328 | 0.0254 | 9.7057<br/>
2 | 1.3953 | 1.5154 | 0.0128 | 0.0106 | 13.4085<br/>
3 | 0.7346 | 3.3597 | 0.0134 | 0.0109 | 9.4618<br/>
4 | 1.1185 | 7.9101 | 0.0059 | 0.0040 | 4.5139<br/>
Order | Std.len | Std.ar | Std.sl | Std.grad. | Std.el.dif<br/>
num | (km) | (km2) | (m/m) | (m/m) | (m) <br/>
1 | 0.3874 | 0.1177 | 0.0207 | 0.0138 | 6.2704<br/>
2 | 2.1832 | 2.3181 | 0.0099 | 0.0091 | 16.5566<br/>
3 | 0.8267 | 3.0598 | 0.0009 | 0.0034 | 11.5751<br/>
4 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000<br/>
Order | N.streams | Tot.len (km) | Tot.area (km2)<br/>
1 | 40 | 18.2917 | 5.8473<br/>
2 | 4 | 5.5811 | 6.0615<br/>
3 | 2 | 1.4691 | 6.7194<br/>
4 | 1 | 1.1185 | 7.9101<br/>
Order | Bif.rt. | Len.rt. | Area.rt. | Slo.rt. | Grd.rt. | d.dens. | str.freq.<br/>
1 | 10.0000 | 3.0512 | 0.0000 | 2.5727 | 2.3961 | 3.1282 | 6.8408<br/>
2 | 2.0000 | 0.5265 | 10.3663 | 0.9526 | 0.9685 | 0.9207 | 0.6599<br/>
3 | 2.0000 | 1.5227 | 2.2171 | 2.2558 | 2.7122 | 0.2186 | 0.2976<br/>
4 | 0.0000 | 0.0000 | 2.3544 | 0.0000 | 0.0000 | 0.1414 | 0.1264</div>
<div>(Sun Dec 14 17:12:49 2014) Command finished (40 sec) </div>
<div> </div>
<div>Thanks, </div>
<div>Andrea. </div>
<div> </div>
</div>
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Donnerstag, 20. November 2014 um 12:10 Uhr<br/>
<b>Von:</b> "Markus Neteler" <neteler@osgeo.org><br/>
<b>An:</b> "Margherita Di Leo" <diregola@gmail.com><br/>
<b>Cc:</b> "Andrea Timmermann" <timmermann@gmx.at>, "GRASS user list" <grass-user@lists.osgeo.org>, "Helmut Kudrnovsky" <hellik@web.de><br/>
<b>Betreff:</b> Re: [GRASS-user] Problem with r.basin in grass7</div>
<div>On Thu, Nov 20, 2014 at 9:22 AM, Margherita Di Leo <diregola@gmail.com> wrote:<br/>
> [...], that<br/>
> r.basin only is able to work on projected locations.<br/>
<br/>
In r62834, I have added to r.basin a check for unsupported locations.<br/>
<br/>
Markus</div>
</div>
</div></div></body></html>