[GRASS-user] i.group error

Joseph Kariuki joehene at gmail.com
Wed Apr 19 23:20:39 PDT 2017


I am trying to group raster layers using thre following

from grass.pygrass.gis import Mapset
m = Mapset('hempire')
grass.run_command("i.group", group="lamu", subgroup="lamusubgrp",
input=m.glist("raster", pattern="LE07_*"))

However, this error is being raised

ImportError: No module named mapset

Am I supposed to import something else besides mapset??

Kind Regards,

*Joseph Kariuki*

*Geospatial Engineer** | **GIS / Web Developer*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170420/4873f269/attachment.html>


More information about the grass-user mailing list