Hello! I am trying to run r.basin for some analysis and it start promising but it end badly:<br>##########<br><a href="http://r.basin.py">r.basin.py</a> map=dem_fill@harta prefix=a easting=491896.20 northing=659955.69 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 identified.<br>Traceback (most recent call last):<br>
  File &quot;/usr/lib/grass64/scripts/<a href="http://r.basin.py">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">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  <a href="https://launchpad.net/~grass/+archive/grass-stable">https://launchpad.net/~grass/+archive/grass-stable</a> on Ubuntu Maverick and all dependencies needed ( I have managed to run separately almost every command but I have in total  22 basins)<br>
Please could someone point me in the right direction ?<br>Bogdan Rosca    <br>