<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 14, 2015 at 11:47 AM, Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div class="gmail_quote"><div>For a quick solution, what about using r.tile to split the input data in tiles and compute the mahalanobis distance per tile.<span class=""><font color="#888888"><br></font></span></div><span class=""></span></div></blockquote><div><br></div><div>See PyGRASS GridModule class which will do tiling (and a lot of other things) for you.<br><br><a href="http://grass.osgeo.org/grass70/manuals/libpython/pygrass.modules.grid.html">http://grass.osgeo.org/grass70/manuals/libpython/pygrass.modules.grid.html</a> <br></div></div></div></div>