<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 5/2/17 9:02 PM, Vaclav Petras wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CABo5uVuF-vXkucV5mjNkCVVGFEq3grK-Z7Hx6qc7ixtccgmm6g@mail.gmail.com">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Mar 31, 2017 at 8:56 AM, <span
dir="ltr"><<a href="mailto:svn_grass@osgeo.org"
target="_blank" moz-do-not-send="true">svn_grass@osgeo.org</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">
<div>Author: pvanbosgeo<br>
Date: 2017-03-31 05:56:38 -0700 (Fri, 31 Mar 2017)<br>
New Revision: 70814<br>
<br>
Modified:<br>
grass-addons/grass7/raster/<span
class="m_6455556237085487814gmail-il">r</span>.<span
class="m_6455556237085487814gmail-il"><wbr>vif</span>/<span
class="m_6455556237085487814gmail-il">r</span>.<span
class="m_6455556237085487814gmail-il">vif</span>.html<br>
grass-addons/grass7/raster/<span
class="m_6455556237085487814gmail-il">r</span>.<span
class="m_6455556237085487814gmail-il"><wbr>vif</span>/<a
href="http://r.vif.py" rel="noreferrer"
target="_blank" moz-do-not-send="true"><span
class="m_6455556237085487814gmail-il">r</span>.<span
class="m_6455556237085487814gmail-il">vif</span>.py</a><br>
Log:<br>
<span class="m_6455556237085487814gmail-il">r</span>.<span
class="m_6455556237085487814gmail-il">vif</span>
addon: computation of <span
class="m_6455556237085487814gmail-il">vif</span> is
now in Python, resulting in strongly reduced computing
times. There is an option to use a random subsample of
raster cells as input to further speed up the
computations. There is furthermore a 'low-memory' option
(this is the old implementation which uses <span
class="m_6455556237085487814gmail-il">r</span>.regression.multi).<br>
<br>
... <br>
</div>
</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div id="m_6455556237085487814gmail-:23v"
class="m_6455556237085487814gmail-a3s
m_6455556237085487814gmail-aXjCH
m_6455556237085487814gmail-m15b247075c13c7ab">
# import libraries<br>
import os<br>
import sys<br>
import math<br>
import numpy as np<br>
-import grass.script as grass<br>
+from scipy import stats</div>
</blockquote>
</div>
<br>
</div>
<div class="gmail_extra">Hi Paulo,<br>
<br>
it seems that the scipy is not used. I would just remove the
line to make the module work on computers without scipy, but
you may be still planning some changes, so I don't want to
interfere. Please let me know.<br>
<br>
</div>
</div>
</blockquote>
<br>
Hi Vaclac, yes, you are right, a left-over from an earlier test
version. I removed it, thanks! <br>
<br>
<br>
<blockquote type="cite"
cite="mid:CABo5uVuF-vXkucV5mjNkCVVGFEq3grK-Z7Hx6qc7ixtccgmm6g@mail.gmail.com">
<div dir="ltr">
<div class="gmail_extra">Vaclav<br>
</div>
</div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<table style="background: none; border-width: 0px; border: 0px;
margin: 0; padding: 0;" cellspacing="0" cellpadding="0"
border="0">
<tbody>
<tr>
<td colspan="2" style="padding-bottom: 5px; color:
#19811fff; font-size: 13px; font-family: Trebuchet, Arial,
Helvetica, sans-serif;"> Paulo van Breugel, PhD </td>
</tr>
<tr>
<td style="padding-top: 3px; vertical-align: top; color:
#19811fff; font-size: 12px; font-family: Trebuchet, Arial,
Helvetica, sans-serif;" width="20" valign="top"> t: </td>
<td style="padding-top: 3px; color: #333333; font-size:
12px; font-family: Trebuchet, Arial, Helvetica,
sans-serif;"> +31 6 12189147 </td>
</tr>
<tr>
<td style="padding-top: 3px; vertical-align: top; color:
#19811fff; font-size: 12px; font-family: Trebuchet, Arial,
Helvetica, sans-serif;" width="20" valign="top"> s: </td>
<td style="padding-top: 3px; color: #333333; font-size:
12px; font-family: Trebuchet, Arial, Helvetica,
sans-serif;"> paulovb </td>
</tr>
<tr>
<td style="padding-top: 3px; vertical-align: top; color:
#19811fff; font-size: 12px; font-family: Trebuchet, Arial,
Helvetica, sans-serif;" width="20" valign="top"> w: </td>
<td style="padding-top: 3px; color: #333333; font-size:
12px; font-family: Trebuchet, Arial, Helvetica,
sans-serif;"> <a class="moz-txt-link-freetext" href="https://ecodiv.earth">https://ecodiv.earth</a> </td>
</tr>
</tbody>
</table>
</div>
</body>
</html>