Hi,

I am running  GRASS GIS 7.3.svn (r68671M) on MacOSX 10.10.5

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):

r.surf.nnbathy --help

Description:
Interpolates a raster map using the nnbathy natural neighbor interpolation program.

Keywords:
 vector, surface, interpolation, natural, neighbor

Usage:
 r.surf.nnbathy input=name output=name [algorithm=string] [--overwrite]
   [--help] [--verbose] [--quiet] [--ui]

Flags:
 --o   Allow output files to overwrite existing files
 --h   Print usage summary
 --v   Verbose module output
 --q   Quiet module output
 --qq  Super quiet module output
 --ui  Force launching GUI dialog

Parameters:
      input   Name of input raster map
     output   Name of output raster map
  algorithm   Settings
              options: l,nn,ns
              default: nn
               l: Linear
               nn: Sibson natural neighbor
               ns: Non-Sibsonian natural neighbor


However, issuing e.g.  [r.surf.nnbathy input=dem_ct output=dem_nn]

GRASS 7.3.svn (skeifa_river_02):~ > r.surf.nnbathy input=dem output=dem_nn "nnbathy" is performing the interpolation now. This may take some time...
Traceback (most recent call last):
File "/Users/jon/Library/GRASS/7.3/Modules/scripts/r.surf.nnbathy", line 80, in <module>
    main()
File "/Users/jon/Library/GRASS/7.3/Modules/scripts/r.surf.nnbathy", line 75, in main
    obj.compute()
File "/Users/jon/Library/GRASS/7.3/Modules/etc/v.surf.nnbathy/nnbathy.py", line 57, in compute
    stdout=fsock)
File "/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/grass/script/core.py", line 84, in call
    return Popen(*args, **kwargs).wait()
File "/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/grass/script/core.py", line 74, in __init__
    subprocess.Popen.__init__(self, args, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I suspect I need to install the nn-c library.

Does anyone have step-by-step cookbook type instructions or any guidelines on how to do this on MacOSX?

Cheers,

Jon Eiriksson

_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to