On 10/05/17 23:49, Pierre Roudier wrote:
Thanks Luca, that would be a good idea indeed!
Any pointers to implement this? I'm unfamiliar with parallel processing
in Pygrass.
You can look at i.pansharpen for a simple example:
https://trac.osgeo.org/grass/browser/grass/branches/releasebranch_7_2/scripts/i.pansharpen/i.pansharpen.py#L151
or for a bit more sophisticated handling using PyGRASS:
https://grass.osgeo.org/grass72/manuals/libpython/pygrass.modules.interface.html#pygrass.modules.interface.module.ParallelModuleQueue
Other examples exist (cf i.segment.uspo for example)
Moritz
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev