1CSSGRIDD(3NCARG) NCAR GRAPHICS CSSGRIDD(3NCARG)
2
3
4
6 CSSGRIDD - tension spline interpolation on a sphere.
7
9 CALL CSSGRIDD (N, RLAT, RLON, F, NI, NJ, PLAT, PLON, FF, IWK, RWK, IER)
10
12 N (integer,input) The number of input data points (N > 2).
13
14 RLAT (double precision, input) An array containing the latitudes
15 of the input data, expressed in degrees. The first three
16 points must not be collinear (lie on a common great cir‐
17 cle).
18
19 RLON (double precision, input) An array containing the longi‐
20 tudes of the input data, expressed in degrees.
21
22 F (double precision, input) An array containing data values.
23 F(I) is a functional value at (RLAT(I),RLON(I)) for I = 1
24 to N.
25
26 NI (integer, input) The number of rows in the uniform output
27 grid. NI can be 1.
28
29 NJ (integer, input) The number of columns in the uniform out‐
30 put grid. NJ can be 1.
31
32 PLAT (double precision, intput) An array of length NI containing
33 the latitudes the output grid lines. The values in PLAT
34 should be in degrees.
35
36 PLON (double precision, intput) An array of length NJ containing
37 the longitudes the output grid lines. The value in PLON
38 should be in degrees.
39
40 FF (double precision, output) An NI by NJ array containing the
41 desired interpolated values. FF(I,J) is the interpolated
42 value at the coordinate specified by PLAT(I) and PLON(J)
43 for I = 1 to NI and J = 1 to NJ.
44
45 IWK (integer, input) An integer workspace of length 27*N.
46
47 RWK (double precision, input) A work array dimensioned for
48 13*N. Note that RWK must be typed DOUBLE PRECISION.
49
50 IER (integer, output) An error return value. If IER is
51 returned as 0, then no errors were detected. If IER is non-
52 zero, then refer to the man page for cssgrid_errors for
53 details.
54
56 CSSGRIDD is called to find an interpolating tension spline for data
57 randomly positioned on a sphere. CSSGRIDD is a double precision ver‐
58 sion of CSSGRID.
59
61 To use CSSGRIDD, load the NCAR Graphics library ngmath.
62
64 css_overview, csstri, cssgrid, cssgrid_errors
65
66 Complete documentation for Cssgrid is available at URL
67 http://ngwww.ucar.edu/ngdoc/ng/ngmath/cssgrid/csshome.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 MAY 2000 CSSGRIDD(3NCARG)