[GRASS-user] Getting an error using r.mask in a GRASS shell script

Thomas Adams tea3rd at gmail.com
Mon Jan 26 14:57:15 PST 2015


All:

I have a GRASS bash shell script where all my GRASS commands (7.0.0beta3)
execute just fine except for my call to set a MASK:

r.mask --overwrite input=$basin_mask@$MAPSET

I get this error...

Traceback (most recent call last):
  File "/usr/local/grass-7.0.0beta3/scripts/r.mask", line 71, in <module>
    import grass.script as grass
ImportError: No module named grass.script


I have never previously encountered this kind of thing calling r.mask in
any of my GRASS scripts.

Any thoughts??

Thank you,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150126/db01d98c/attachment.html>


More information about the grass-user mailing list