On Mon, Aug 1, 2011 at 10:41 PM, Martin Landa <[email protected]> wrote: > Hi, > > 2011/8/1 Rosca Bogdan <[email protected]>: >> grass.run_command('r.stream.extract', elevation = >> r_elevation, accumulation = r_accumulation, threshold = th, >> d8cut = 'infinity', mexp = 0, stream_rast = r_stream_e, >> stream_vect = v_stream_e, direction = r_drainage_e, flags >> ='-o') > > replace `flags = '-o'` with `overwrite = True`
There are probably more problems further down with e.g. flags = '-v' in lines 249 and 254. Also, some of the printed messages should use grass.message() to avoid spoiling the output written to stdout. Markus M _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
