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*
grass-user mailing list

Reply via email to