Re: [GRASS-user] using mapcalc in a python script

2010-07-01 Thread Glynn Clements
Ned Horning wrote: > 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 "

Re: [GRASS-user] using mapcalc in a python script

2010-06-30 Thread Nikos Alexandris
Ned Horning wrote: > 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=

[GRASS-user] using mapcalc in a python script

2010-06-30 Thread Ned Horning
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.01