I tried Pietro's suggestion:
{{{
from grass.pygrass.gis import Mapset
mset = Mapset()
run_command("i.group", input=mset.glist("raster", pattern="prova_*"))
}}}
Only, I had to add the "group" argument and it worked perfectly, thanks for
the help.
{{{
run_command("i.group", group="prova", input=mset.glist("raster",
pattern="prova_*"))
}}}
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/i-group-with-patterns-as-name-for-input-tp5196465p5200183.html
Sent from the Grass - Users mailing list archive at Nabble.com.
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user