Scott Sinclair wrote:

> Have you tried adding flags = '-o' as an argument to
> grass.run_command? That will overwrite the output raster if it already
> exists.

Actually, it will raise a ScriptError if you're running anything later
than 6.4.1. If you want to pass the --overwrite flag to the module,
you should pass overwrite=True to run_command() etc.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to