1DSGRID2S(3NCARG) NCAR GRAPHICS DSGRID2S(3NCARG)
2
3
4
6 DSGRID2S - primary single precision Fortran entry for 2D gridding
7
9 CALL DSGRID2S (NPNTS, X, Y, Z, NUMXOUT, NUMYOUT, XO, YO, ZO, IER)
10
12 NPNTS (Integer, Input) - The number of input data points.
13
14 X (Real, Input) - An array containing the X coordinates of
15 the input data points.
16
17 Y (Real, Input) - An array containing the Y coordinates of
18 the input data points.
19
20 Z (Real, Input) - An array containing the functional values
21 of the input data points. That is, Z(L) is the value of the
22 input function at coordinate (X(L),Y(L)), for L=1,NPNTS.
23
24 NUMXOUT (Integer, Input) - The number of X values in the output
25 grid.
26
27 NUMYOUT (Integer, Input) - The number of Y values in the output
28 grid.
29
30 XO (Real, Input) - An array of dimension NUMXOUT containing
31 the X coordinates of the output data grid. The values in XO
32 must be increasing, but need not be equally spaced.
33
34 YO (Real, Input) - An array of dimension NUMYOUT containing
35 the Y coordinates of the output data grid. The values in YO
36 must be increasing, but need not be equally spaced.
37
38 ZO (Real, Output) - A two-dimensional array of dimension
39 NUMXOUT x NUMYOUT containing the interpolated functional
40 values. ZO(I,J) is the interpolated value at grid point
41 (XO(I),YO(J)).
42
43 IER (Integer, Output) - An error return value. If IER is
44 returned as 0, then no errors were detected. If IER is non-
45 zero, then refer to the man page for dsgrid_errors for
46 details.
47
49 DSGRID2S is the single precision gridding function for 2D data in the
50 Dsgrid package. The behavior of DSGRID2S is controlled by values set
51 for the various parameters described in dsgrid_params. Values for
52 these parameters can be set using the subroutines DSSETI, DSSETR, and
53 DSSETC.
54
55 In almost all cases the ngmath function NATGRIDS is superior to
56 DSGRID2S for 2D interpolation. See the man page for NATGRIDS for
57 details.
58
60 To use DSGRID2S, load the NCAR Graphics library ngmath.
61
63 dsgrid, dsgrid_params, dsseti, dsgeti, dssetr, dsgetr, dssetc, dsgetc.
64
65 Complete documentation for Dsgrid is available at URL
66 http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html
67
69 Copyright (C) 2000
70 University Corporation for Atmospheric Research
71
72 The use of this Software is governed by a License Agreement.
73
74
75
76UNIX September 1997-1998 DSGRID2S(3NCARG)