[GRASS-dev] r.stream.extract - grass7-addon

hi,

I've tried following command:

r.stream.extract elevation=srtemgea accumulation=srtemgea threshold=100
stream_rast=r stream_vect=v direction=f

and following warning/error arises:

ERROR: Missing value for parameter <d8cut>

the manual says:

d8cut=float
    Use SFD above this threshold
    If accumulation is larger than d8cut, SFD is used instead of MFD.
Applies only if no accumulation map is given.
    Default: infinity

but accumulation map is given in the command.

any idea?

System Info
GRASS version: 7.0.svn
GRASS SVN Revision: 53972
GIS Library Revision: 52468 (2012-07-27)
GDAL/OGR: 1.9.2
PROJ.4: 4.8.0
GEOS: 3.3.5
SQLite: 3.7.10
Python: 2.7.2
wxPython: 2.8.12.1
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/r-stream-extract-grass7-addon-tp5018389.html
Sent from the Grass - Dev mailing list archive at Nabble.com.

On Fri, Nov 23, 2012 at 3:13 PM, Helmut Kudrnovsky <hellik@web.de> wrote:

hi,

I've tried following command:

r.stream.extract elevation=srtemgea accumulation=srtemgea threshold=100
stream_rast=r stream_vect=v direction=f

and following warning/error arises:

ERROR: Missing value for parameter <d8cut>

the manual says:

d8cut=float
    Use SFD above this threshold
    If accumulation is larger than d8cut, SFD is used instead of MFD.
Applies only if no accumulation map is given.
    Default: infinity

but accumulation map is given in the command.

any idea?

I could not reproduce this, but I guess that the parser changed
somehow. The d8cut option of r.stream.extract is adjusted in r53993,
please test.

Markus M

System Info
GRASS version: 7.0.svn
GRASS SVN Revision: 53972
GIS Library Revision: 52468 (2012-07-27)
GDAL/OGR: 1.9.2
PROJ.4: 4.8.0
GEOS: 3.3.5
SQLite: 3.7.10
Python: 2.7.2
wxPython: 2.8.12.1
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/r-stream-extract-grass7-addon-tp5018389.html
Sent from the Grass - Dev mailing list archive at Nabble.com.
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

I could not reproduce this, but I guess that the parser changed
somehow. The d8cut option of r.stream.extract is adjusted in r53993,
please test.

tested with the nightly build of osgeo4w-wingrass7 and -addons:

r.stream.extract --verbose elevation=srtemgeahydrodem@rstream
accumulation=srtemgeahydrodemaccum@rstream threshold=500 stream_rast=rui
stream_vect=vui direction=rfld
18.21% of data are kept in memory
Will need up to 1.91 GB (1954 MB) of disk space
Creating temporary files...
Loading input maps...
Initializing A* Search...
A* Search...
Extracting streams...
Thinning stream segments...
5925 of 45839 stream segments were thinned
Writing raster maps
Writing vector map <vui>...
Writing vector attribute table
[...]
(Sat Nov 24 13:32:18 2012) Command finished (8 min 15 sec)

thanks for the fix, it works now.

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/r-stream-extract-grass7-addon-tp5018389p5018528.html
Sent from the Grass - Dev mailing list archive at Nabble.com.