I am working on converting a shell script to python and ran into a problem I haven't been able to figure out using the r.mapcalc command. Can someone let me know how to write the following command using python. The command creates a GRASS MASK layer:

r.mapcalc "MASK=if(($cloudResampName < 0.01000),1,null())"

I'm trying to run the python script using GRASS 6.40RC6 (2010).

All the best,

Ned

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

Reply via email to