Hi,<br><br>fixed in r47364.<br>Thanks for patience.<br><br>madi<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello! I am trying to run r.basin for some analysis and it start promising<br>
but it end badly:<br>
##########<br>
<a href="http://r.basin.py" target="_blank">r.basin.py</a> map=dem_fill@harta prefix=a easting=491896.20 northing=659955.69<br>
threshold=900<br>
Removing raster <MASK><br>
Raster map <MASK> not found<br>
<MASK> nothing removed<br>
SECTION 1a (of 5): Initiating Memory.<br>
SECTION 1b (of 5): Determining Offmap Flow.<br>
SECTION 2: A * Search.<br>
SECTION 3: Accumulating Surface Flow with SFD.<br>
SECTION 4: Watershed determination.<br>
SECTION 5: Closing Maps.<br>
Writing out only positive flow accumulation values.<br>
Cells with a likely underestimate for flow accumulation can no longer be<br>
identified.<br>
Traceback (most recent call last):<br>
File "/usr/lib/grass64/scripts/<a href="http://r.basin.py" target="_blank">r.basin.py</a>", line 427, in<br>
<module><br>
sys.exit(main())<br>
File "/usr/lib/grass64/scripts/<a href="http://r.basin.py" target="_blank">r.basin.py</a>", line 133, in<br>
main<br>
grass.run_command('r.stream.extract', elevation =<br>
r_elevation, accumulation = r_accumulation, threshold = th,<br>
d8cut = 'infinity', mexp = 0, stream_rast = r_stream_e,<br>
stream_vect = v_stream_e, direction = r_drainage_e, flags<br>
='-o')<br>
File "/usr/lib/grass64/etc/python/grass/script/core.py",<br>
line 186, in run_command<br>
ps = start_command(*args, **kwargs)<br>
File "/usr/lib/grass64/etc/python/grass/script/core.py",<br>
line 167, in start_command<br>
args = make_command(prog, flags, overwrite, quiet,<br>
verbose, **options)<br>
File "/usr/lib/grass64/etc/python/grass/script/core.py",<br>
line 124, in make_command<br>
raise ScriptError("'-' is not a valid flag")<br>
grass.script.core.ScriptError: "'-' is not a valid flag"<br>
(Mon Aug 1 21:19:09 2011) Command finished (2 sec)<br>
########<br>
I must mention that I have Grass64 installed from<br>
<a href="https://launchpad.net/%7Egrass/+archive/grass-stable" target="_blank">https://launchpad.net/~grass/+archive/grass-stable</a> on Ubuntu Maverick and<br>
all dependencies needed ( I have managed to run separately almost every<br>
command but I have in total 22 basins)<br>
Please could someone point me in the right direction ?<br>
Bogdan Rosca<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.osgeo.org/pipermail/grass-user/attachments/20110801/f58ffcde/attachment-0001.html" target="_blank">http://lists.osgeo.org/pipermail/grass-user/attachments/20110801/f58ffcde/attachment-0001.html</a><br>
<br></blockquote></div>