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 &lt;MASK&gt;<br>
Raster map &lt;MASK&gt; not found<br>
&lt;MASK&gt; 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 &quot;/usr/lib/grass64/scripts/<a href="http://r.basin.py" target="_blank">r.basin.py</a>&quot;, line 427, in<br>
&lt;module&gt;<br>
    sys.exit(main())<br>
  File &quot;/usr/lib/grass64/scripts/<a href="http://r.basin.py" target="_blank">r.basin.py</a>&quot;, line 133, in<br>
main<br>
    grass.run_command(&#39;r.stream.extract&#39;, elevation =<br>
r_elevation, accumulation = r_accumulation, threshold = th,<br>
d8cut = &#39;infinity&#39;, mexp = 0, stream_rast = r_stream_e,<br>
stream_vect = v_stream_e, direction = r_drainage_e, flags<br>
=&#39;-o&#39;)<br>
  File &quot;/usr/lib/grass64/etc/python/grass/script/core.py&quot;,<br>
line 186, in run_command<br>
    ps = start_command(*args, **kwargs)<br>
  File &quot;/usr/lib/grass64/etc/python/grass/script/core.py&quot;,<br>
line 167, in start_command<br>
    args = make_command(prog, flags, overwrite, quiet,<br>
verbose, **options)<br>
  File &quot;/usr/lib/grass64/etc/python/grass/script/core.py&quot;,<br>
line 124, in make_command<br>
    raise ScriptError(&quot;&#39;-&#39; is not a valid flag&quot;)<br>
grass.script.core.ScriptError: &quot;&#39;-&#39; is not a valid flag&quot;<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>