I found the bash command for adding up rasters as
$str="r.mapcalc map=ts.1"
$for i in `seq ts.2 ts.120`; do
str=$str+" + map$i", done

I need this exact command, but in csh I have been playing with the syntax and cannot seem to get it to work. I know I will switch out "for i in" for like foreach, but the "str" command is not interchangable, and neither is the "seq" command.

Any suggestions are greatly appreciated.
Aaron

_______________________________________________
grassuser mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassuser

Reply via email to