Hi, 2010/6/22 Luisa Peña <[email protected]>: > Greetings > I'm doing a processing that requires setting rules such as : IF band1> 1 > output=5 if band<=1 ouput= 3 and if band2>5 output=7. How can I do this in a > Python script in order to be "almost automatic"?
if band1 > 1: output = 5 else: output = 3 if band2 > 5: output = 7 Martin -- Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
