On Sat, Feb 14, 2015 at 7:29 PM, Vaclav Petras <[email protected]> wrote:
> > On Sat, Feb 14, 2015 at 11:47 AM, Paulo van Breugel < > [email protected]> wrote: > >> >> For a quick solution, what about using r.tile to split the input data in >> tiles and compute the mahalanobis distance per tile. >> > > See PyGRASS GridModule class which will do tiling (and a lot of other > things) for you. > > http://grass.osgeo.org/grass70/manuals/libpython/pygrass.modules.grid.html > The Grid Module does indeed what I want, except that I want to run a python function (the mahalanobis distance computation) on the tiles, while the GridModule requires a raster GRASS r.* command. Any way around that? Writing an intermediate addon/function that I can then call with the GridModule?
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
