Natgrid is a package for gridding 2d randomly-spaced data using a natural neighbor algorithm. single precison and double precision interfaces exist in both fortran and c.
FORTRAN single precision
------------------------
NATGRIDS - primary function for gridding.
NNSETI - set INTEGER parameter values.
NNGETI - retrieve values for INTEGER parameters.
NNSETR - set REAL parameter values.
NNGETR - retrieve values for REAL parameters.
NNSETC - set CHARACTER valued parameters.
NNGETC - retrieve values for CHARACTER parameters.
NNGETSLOPES - get slope values, if calculated.
NNGETASPECTS - get aspect values, if calculated.
NNPNTINITS - initiate single point mode.
NNPNTS - interpolate at a single point.
NNPNTEND - terminate single point mode.
Fortran double precision (not supported on UNICOS):
--------------------------------------------------
NATGRIDD - primary function for gridding.
NNSETI - set INTEGER parameter values.
NNGETI - retrieve values for INTEGER parameters.
NNSETRD - set DOUBLE PRECISION parameter values.
NNGETRD - retrieve DOUBLE PRECISION parameters.
NNSETC - set CHARACTER valued parameters.
NNGETC - retrieve values for CHARACTER parameters.
NNGETSLOPED - get slope values, if calculated.
NNGETASPECTD - get aspect values, if calculated.
NNPNTINITD - initiate single point mode.
NNPNTD - interpolate at a single point.
NNPNTENDD - terminate single point mode.
C single precision:
------------------
c_natgrids - primary function for gridding.
c_nnseti - set int parameter values.
c_nngeti - retrieve values for int parameters.
c_nnsetr - set float parameter values.
c_nngetr - retrieve values for float parameters.
c_nnsetc - set char valued parameters.
c_nngetc - retrieve values for char parameters.
c_nngetslopes - get slope values, if calculated.
c_nngetaspects - get aspect values, if calculated.
c_nnpntinits - initiate single point mode.
c_nnpnts - interpolate at a single point.
c_nnpntend - terminate single point mode.
C double precision:
------------------
c_natgridd - primary function for gridding.
c_nnseti - set int parameter values.
c_nngeti - retrieve values for int parameters.
c_nnsetrd - set double parameter values.
c_nngetrd - retrieve values for double parameters.
c_nnsetc - set char valued parameters.
c_nngetc - retrieve values for char parameters.
c_nngetsloped - get slope values, if calculated.
c_nngetaspectd - get aspect values, if calculated.
c_nnpntinitd - initiate single point mode.
c_nnpntd - interpolate at a single point.
c_nnpntendd - terminate single point mode.
To use Natgrid entries, load the NCAR Graphics library ngmath.
Individual entries, natgrid_params, natgrid_errors.
Complete documentation for Natgrid is available at URL
http://ngwww.ucar.edu/ngdoc/ng/ngmath/natgrid/nnhome.html
An NCL (NCAR Command Language) interface also exists for Natgrid procedures.
Copyright (C) 2000
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.