<div dir="ltr">Good day to everyone.<div><br></div><div>I use GRASS for most of my work involving solar radiation modelling using r.sun. I usually work on Ubuntu 14.04 or OSGeoLive 9.0. A few days ago, I updated the numpy installations of my system to the latest version which is 1.10. When I ran GRASS, I encountered a warning telling me:</div><div><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px"><span style="color:rgb(43,145,175);background-color:rgb(238,238,238)"><br class=""></span><font color="#000000" style="background-color:rgb(204,204,204)">This</font></span><font color="#000000" style="background-color:rgb(204,204,204)"><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px"> module requires the </span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">Numeric</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">/</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">numarray </span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">or</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px"> </span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">NumPy</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px"> module</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">,</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">
which could </span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">not</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px"> be imported</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">.</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">  </span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">It</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px"> probably </span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">is</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px"> </span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">not</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px"> installed
</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">(</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">it</span><span class="" style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;font-size:13px;white-space:pre;margin:0px;padding:0px;border:0px">'s not part of the standard Python distribution). See the
Numeric Python site (<a href="http://numpy.scipy.org">http://numpy.scipy.org</a>) for information on
downloading source or binaries.</span></font><br></div><div><br></div><div>I looked around in Google and found a solution that required me to downgrade my numpy installation back to 1.8. It said that the subpackage numpy.oldnumeric which is needed by GRASS is only shipped with numpy up to version 1.8 (see: <a href="http://gis.stackexchange.com/questions/138204/trouble-importing-numpy-in-grass-architecture">http://gis.stackexchange.com/questions/138204/trouble-importing-numpy-in-grass-architecture</a>)</div><div><br></div><div>So my questions are:</div><div>(1) Will upgrading my system numpy to 1.10 really affect the computations by GRASS?</div><div>(2) Will GRASS eventually support/need numpy 1.10 or is the dependency on numpy.oldnumeric permanent?</div><div>(3) Are there any other solutions to the problem above aside from keeping the system's numpy at 1.8?</div><div><br></div><div>I know that I can always use virtualenvs in order to install multiple versions of numpy on my system so I can have 1.8 for GRASS as my main version and have virtualenvs with later numpy versions for other purposes.</div><div><br></div><div>Thank you.</div><div><br></div><div><br></div><div>Regards,</div><div><br></div><div>Ben Hur</div></div>