GRASS modeling

Shen Lu slu at
Tue Oct 5 12:08:10 EDT 1993

I want to do modeling in GRASS but I do not yet have all
documentation. I am intereested in knowing how to run models that test
for various conditions in data sets, all within the GRASS environment.
I know how to write scripts, but not how to construct tests within a
given program, i.e. "if...then".  

The on-line manual entry for r.mapcalc does make reference to if
statements, but it does not elaborate.  Presumably, I can write a
script that invokes a series of GRASS commands, any one of which may
be in a loop.  Any help on how to do this, on the extent of
programming functions available in GRASS, and on how to get real time
displays of model results would be appreciated.  

  Please reply to :   slu at

More information about the grass-dev mailing list