[GRASS-user] i.group with patterns as name for input

umberto.minora umberto.minora at unimi.it
Tue Apr 7 01:41:42 PDT 2015


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.


More information about the grass-user mailing list