[GRASS-user] mapcalc/mapcalculator in python script
Johannes Radinger
JRadinger at gmx.at
Tue Feb 1 09:28:18 EST 2011
Hello,
I am running GRASS GIS 6.5 and want to run a python script
including a mapcaluculator-expression of a simple formula:
A=if(B,C)
grass.mapcalc("$upstream_shreve = if(${upstream_part},${shreve})",
upstream_shreve = options['upstream_shreve'],
upstream_part = options['upstream_part'],
shreve = options['shreve'])
but that isn't working... I don't know whats excaclty the problem....
hopefully you can help me
thanks
Johannes
--
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
More information about the grass-user
mailing list