[GRASS-user] Multiple arguments in a grass.command- Python

Luis Lisboa luislisboa1975 at gmail.com
Wed Sep 29 13:46:00 EDT 2010


Greetings

I have a script where I need to define a region based on 2 rasters output[0]
and output[1].

I'm using thwe following expression:
grass.run_command("g.region", rast = output[2] output[3], res= t_srx)

But This is not correct. my question is how can I have both rasters without
getting an error?
(I have tried also with
grass.run_command("g.region", rast = output[2],output[3], res= t_srx) and it
didn't workl

Thanks

Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100929/eb2a0ee7/attachment-0001.html


More information about the grass-user mailing list