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