1DSGRID2D(3NCARG) NCAR GRAPHICS DSGRID2D(3NCARG)
2
3
4
6 DSGRID2D - double precision Fortran entry for iterpolation from 2D ran‐
7 dom data to an output grid.
8
10 CALL DSGRID2D (NPNTS, X, Y, Z, NUMXOUT, NUMYOUT, XO, YO, ZO, IER)
11
13 NPNTS (Integer, Input) - The number of input data points.
14
15 X (Double precision, Input) - An array containing the X coor‐
16 dinates of the input data points.
17
18 Y (Double precision, Input) - An array containing the Y coor‐
19 dinates of the input data points.
20
21 Z (Double precision, Input) - An array containing the func‐
22 tional values of the input data points. That is, Z(L) is
23 the value of the input function at coordinate (X(L),Y(L)),
24 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 XO (Double precision, Input) - An array of dimension NUMXOUT
33 containing the X coordinates of the output data grid. The
34 values in XO must be increasing, but need not be equally
35 spaced.
36
37 YO (Double precision, Input) - An array of dimension NUMYOUT
38 containing the Y coordinates of the output data grid. The
39 values in YO must be increasing, but need not be equally
40 spaced.
41
42 ZO (Double precision, Output) - A two-dimensional array of
43 dimension NUMXOUT x NUMYOUT containing the interpolated
44 functional values. ZO(I,J) is the interpolated value at
45 grid point (XO(I),YO(J)).
46
47 IER (Integer, Output) - An error return value. If IER is
48 returned as 0, then no errors were detected. If IER is non-
49 zero, then refer to the man page for dsgrid_errors for
50 details.
51
53 DSGRID2D is the double precision gridding function for 2D data in the
54 Dsgrid package. The behavior of DSGRID2D is controlled by values set
55 for the various parameters described in dsgrid_params. Values for
56 these parameters can be set using the subroutines DSSETI, DSSETRD, and
57 DSSETC.
58
59 In almost all cases the ngmath function NATGRIDD is superior to
60 DSGRID2D for 2D interpolation. See the man page for NATGRIDD for
61 details.
62
64 To use DSGRID2D, load the NCAR Graphics library ngmath.
65
67 dsgrid, dsgrid_params, dsseti, dsgeti, dssetrd, dsgetrd, dssetc,
68 dsgetc.
69
70 Complete documentation for Dsgrid is available at URL
71 http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html
72
74 Copyright (C) 2000
75 University Corporation for Atmospheric Research
76
77 The use of this Software is governed by a License Agreement.
78
79
80
81UNIX September 1997-1998 DSGRID2D(3NCARG)