Dsgrid is a package for gridding 3d and 2d randomly-spaced data using an inverse distance weighted average algorithm. single precision and double precision interfaces exist in both fortran and c.
FORTRAN single precision
------------------------
DSGRID2S - primary function for gridding 2D data.
DSGRID3S - primary function for gridding 3D data.
DSSETI - set INTEGER parameter values.
DSGETI - retrieve values for INTEGER parameters.
DSSETR - set REAL parameter values.
DSGETR - retrieve values for REAL parameters.
DSSETC - set CHARACTER valued parameters.
DSGETC - retrieve values for CHARACTER parameters.
DSPNT2S - interpolate 2D data at specified points.
DSPNT3S - interpolate 3D data at specified points.
Fortran double precision (not supported on UNICOS):
--------------------------------------------------
DSGRID2D - primary function for gridding 2D data.
DSGRID3D - primary function for gridding 3D data.
DSSETI - set INTEGER parameter values.
DSGETI - retrieve values for INTEGER parameters.
DSSETRD - set DOUBLE PRECISION parameter values.
DSGETRD - retrieve DOUBLE PRECISION parameters.
DSSETC - set CHARACTER valued parameters.
DSGETC - retrieve values for CHARACTER parameters.
DSPNT2D - interpolate 2D data at specified points.
DSPNT3D - interpolate 3D data at specified points.
C single precision:
------------------
c_dsgrid2s - primary function for gridding 2D data.
c_dsgrid3s - primary function for gridding 3D data.
c_dsseti - set int parameter values.
c_dsgeti - retrieve values for int parameters.
c_dssetr - set float parameter values.
c_dsgetr - retrieve values for float parameters.
c_dssetc - set char valued parameters.
c_dsgetc - retrieve values for char parameters.
c_dspnt2s - interpolate 2D data at specified points.
c_dspnt3s - interpolate 3D data at specified points.
C double precision:
------------------
c_dsgrid2d - primary function for gridding 2D data.
c_dsgrid3d - primary function for gridding 3D data.
c_dsseti - set int parameter values.
c_dsgeti - retrieve values for int parameters.
c_dssetrd - set double parameter values.
c_dsgetrd - retrieve values for double parameters.
c_dssetc - set char valued parameters.
c_dsgetc - retrieve values for char parameters.
c_dspnt2d - interpolate 2D data at specified points.
c_dspnt3d - interpolate 3D data at specified points.
To use Dsgrid entries, load the NCAR Graphics library ngmath.
Individual entries, dsgrid_params, dsgrid_errors.
Complete documentation for Dsgrid is available at URL
http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html
Copyright (C) 2000
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.