Hi Martin,

On Thu, Oct 17, 2013 at 11:34 AM, Martin Landa <[email protected]> wrote:
> Is it a bug in pyGRASS or I am wrong?

Thank you for using and testing... :-)
It is working, at least on my pc. The pygrass Module interface require
tu give a python list if you have a multiple parameter, so your code
should work writing:

{{{
from grass.pygrass.modules.shortcuts import raster as r

r.report(map='r_ndvi', units=['c', 'p', 'h'])
}}}

Please, let me know...

Have a nice day.

Pietro
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to