On 10 February 2012 03:22, <[email protected]> wrote: > > 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.
Thanks - I haven't used anything later than 6.4.1. Good to know. Cheers, Scott _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
