[GRASS-user] GRASS Scripting questions

Achim Kisseler ak7 at jupiter.uni-freiburg.de
Thu Dec 17 07:53:40 EST 2009


Hi Antonio,


> itinialization of counter1
> r.mapcalc $GIS_OPT_COUNTER1= "float (0)"

shouldn't be counter1=
GIS_OPT_SOMA

>
> The cycle:
> IFS=,
> for opt in $GIS_OPT_INPUT; do
>    r.mapcalc $GIS_OPT_SOMA= "$opt+$GIS_OPT_SOMA)"
> done                                           |
                                                  |
is there a ')' too much? ------------------------|

?

Achim


More information about the grass-user mailing list