1NATGRIDS(3NCARG) NCAR GRAPHICS NATGRIDS(3NCARG)
2
3
4
6 NATGRIDS - primary single precision Fortran entry for natural neighbor
7 gridding
8
10 CALL NATGRIDS (NPNTS, X, Y, Z, NUMXOUT, NUMYOUT, XI, YI, ZI, IER)
11
13 NPNTS (Integer, Input) - The number of input data points. (NPNTS
14 > 3).
15
16 X (Real, Input) - An array containing the X coordinates of
17 the input data points.
18
19 Y (Real, Input) - An array containing the Y coordinates of
20 the input data points.
21
22 Z (Real, Input) - An array containing the functional values
23 of the input data points. That is, Z(L) is the value of the
24 input function at coordinate (X(L),Y(L)), for L=1,NPNTS.
25
26 NUMXOUT (Integer, Input) - The number of X values in the output
27 grid.
28
29 NUMYOUT (Integer, Input) - The number of Y values in the output
30 grid.
31
32 XI (Real, Input) - An array of dimension NUMXOUT containing
33 the X coordinates of the output data grid. The values in XI
34 must be increasing, but need not be equally spaced.
35
36 YI (Real, Input) - An array of dimension NUMYOUT containing
37 the Y coordinates of the output data grid. The values in YI
38 must be increasing, but need not be equally spaced.
39
40 ZI (Real, Output) - A two-dimensional array of dimension
41 NUMXOUT x NUMYOUT containing the interpolated functional
42 values. ZI(I,J) is the interpolated value at grid point
43 (XI(I),YI(J)).
44
45 IER (Integer, Output) - An error return value. If IER is
46 returned as 0, then no errors were detected. If IER is non-
47 zero, then refer to the man page for natgrid_errors for
48 details.
49
51 NATGRIDS is the single precision gridding function in the Natgrid pack‐
52 age. The behavior of NATGRIDS is controlled by values set for the var‐
53 ious parameters described in natgrid_params. Values for these parame‐
54 ters can be set using the subroutines NNSETI, NNSETR, and NNSETC.
55
57 To use NATGRIDS, load the NCAR Graphics library ngmath.
58
60 natgrid, natgrid_params, nnseti, nngeti, nnsetr, nngetr, nnsetc,
61 nngetc.
62
63 Complete documentation for Natgrid is available at URL
64 http://ngwww.ucar.edu/ngdoc/ng/ngmath/natgrid/nnhome.html
65
67 Copyright (C) 2000
68 University Corporation for Atmospheric Research
69
70 This documentation is free software; you can redistribute it and/or
71 modify it under the terms of the GNU General Public License as pub‐
72 lished by the Free Software Foundation; either version 2 of the
73 License, or (at your option) any later version.
74
75 This software is distributed in the hope that it will be useful, but
76 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
77 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
78 Public License for more details.
79
80 You should have received a copy of the GNU General Public License along
81 with this software; if not, write to the Free Software Foundation,
82 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
83
84
85
86
87UNIX March 1997-1998 NATGRIDS(3NCARG)