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
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to