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 <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 identified.<br>Traceback (most recent call last):<br>
File "/usr/lib/grass64/scripts/<a href="http://r.basin.py">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">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 <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>