non-interactive r.mask (v. 4.2.1)

Stephan Eickschen eicksch
Thu Jul 15 16:42:40 EDT 1999

Hi GRASSers,

I have to do some stupid work - so I would rather enjoy to write a skript,
fire it and have a decent cup of tea :) But, unfortunatly, I don´t know the
right, best, or "state-of-the-art" way.
My problem:
I have many raster data sets which have to be processed in the same way.
That would not be too complicated if I do not have to change between
different MASKs. A possibility would be to write the skript without
automating the MASK setting. Then I would have to
- set MASK no. 1
- fire the skript
- set MASK no. 2
- fire the skript
and so on.
The problem is that r.mask in _always_ interactive. Just to make it short:

Is there a way to set the MASK non-interactivly?

I tried to look at the different MASK file in the $LOCATION directory, and
it looked somehow promising - but it looked aswell to be a lousy hack...

Any suggestions...

With kind regards,



Stephan Eickschen                     Tel. : +49 (0)251 83-34704
Westfaelische Wilhelms-Universitaet   Fax. : +49 (0)251 83-36100
Institute for Geophysics
Research Unit of Physical Glaciology  email: eicksch at
Corrensstrasse 24
48149 Muenster

More information about the grass-user mailing list