On Tue, Nov 25, 2014 at 11:25 AM, Martin Landa <[email protected]> wrote:
> Hi, > > 2014-11-25 17:06 GMT+01:00 Erick Opiyo <[email protected]>: > > > If I set overwrite=True, then it would make my script overwrite an > already > > processed images, I'm executing the script a numbers of times to match my > > machine CPU load average and the overwrite check, makes sure that a > > subsequent process skips an already processes image from a previously > > executed process. > > well, but it's related to the error > > ERROR: output map <MOD13Q1.h16v05.2000081.EVI. > Filtered.tiff> exists > if you want to ignore it, you can catch the exception: from grass.exceptions import CalledModuleError ... try: # call mapcalc except CalledModuleError: pass Anna > ... > > Martin > > -- > Martin Landa > http://geo.fsv.cvut.cz/gwiki/Landa > http://gismentors.eu/mentors/landa > _______________________________________________ > grass-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-dev >
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
