Hi,

I am experimenting with the GRASS graphical modeller in GRASS 7.0 (on Ubuntu 12.04). I would like to create a mask in a loop, whereby the input 'maskcats' is dynamic. I.e., I would like to do something similar to the script below:

for i in { 1 .. 5 }
do
  r.mask input=inputmap maskcats=$i
  other commands...
done

From the tutorials, I can see how to create dynamic loops with raster or vector layers as input, but I cannot find how to do this with integer values as input.

Cheers,

Paulo
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to