ncl_natgrid man page

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.

Synopsis

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.

Access

To use Natgrid entries, load the NCAR Graphics library ngmath.

See Also

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.

Info

March 1997-1998 UNIX NCAR GRAPHICS