<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Hi,</p>
<p dir="auto">I am running GRASS GIS 7.3.svn (r68671M) on MacOSX 10.10.5</p>
<p dir="auto">I have used g.extension to install r.surf.nnbathy and v.surf.nnbathy, and the following command indicates that it is in the right place (accessible from GRASS command line):</p>
<p dir="auto">r.surf.nnbathy --help</p>
<p dir="auto">Description:<br>
Interpolates a raster map using the nnbathy natural neighbor interpolation program.</p>
<p dir="auto">Keywords:<br>
vector, surface, interpolation, natural, neighbor</p>
<p dir="auto">Usage:<br>
r.surf.nnbathy input=name output=name [algorithm=string] [--overwrite]<br>
[--help] [--verbose] [--quiet] [--ui]</p>
<p dir="auto">Flags:<br>
--o Allow output files to overwrite existing files<br>
--h Print usage summary<br>
--v Verbose module output<br>
--q Quiet module output<br>
--qq Super quiet module output<br>
--ui Force launching GUI dialog</p>
<p dir="auto">Parameters:<br>
input Name of input raster map<br>
output Name of output raster map<br>
algorithm Settings<br>
options: l,nn,ns<br>
default: nn<br>
l: Linear<br>
nn: Sibson natural neighbor<br>
ns: Non-Sibsonian natural neighbor</p>
<p dir="auto">However, issuing e.g. [r.surf.nnbathy input=dem_ct output=dem_nn]</p>
<p dir="auto">GRASS 7.3.svn (skeifa_river_02):~ > r.surf.nnbathy input=dem output=dem_nn<br>
"nnbathy" is performing the interpolation now. This may take some time...<br>
Traceback (most recent call last):<br>
File "/Users/jon/Library/GRASS/7.3/Modules/scripts/r.surf.nnbathy", line 80, in <module><br>
main()<br>
File "/Users/jon/Library/GRASS/7.3/Modules/scripts/r.surf.nnbathy", line 75, in main<br>
obj.compute()<br>
File "/Users/jon/Library/GRASS/7.3/Modules/etc/v.surf.nnbathy/nnbathy.py", line 57, in compute<br>
stdout=fsock)<br>
File "/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/grass/script/core.py", line 84, in call<br>
return Popen(*args, **kwargs).wait()<br>
File "/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/grass/script/core.py", line 74, in <strong>init</strong><br>
subprocess.Popen.<strong>init</strong>(self, args, **kwargs)<br>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in <strong>init</strong><br>
errread, errwrite)<br>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child<br>
raise child_exception<br>
OSError: [Errno 2] No such file or directory</p>
<p dir="auto">I suspect I need to install the nn-c library.</p>
<p dir="auto">Does anyone have step-by-step cookbook type instructions or any guidelines on how to do this on MacOSX?</p>
<p dir="auto">Cheers,</p>
<p dir="auto">Jon Eiriksson</p>
</div>
</div>
</body>
</html>