1DSGRID2S(3NCARG)                 NCAR GRAPHICS                DSGRID2S(3NCARG)
2
3
4

NAME

6       DSGRID2S - primary single precision Fortran entry for 2D gridding
7

SYNOPSIS

9       CALL DSGRID2S (NPNTS, X, Y, Z, NUMXOUT, NUMYOUT, XO, YO, ZO, IER)
10

DESCRIPTION

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

USAGE

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

ACCESS

60       To use DSGRID2S, load the NCAR Graphics library ngmath.
61

SEE ALSO

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       This  documentation  is  free  software; you can redistribute it and/or
73       modify it under the terms of the GNU General  Public  License  as  pub‐
74       lished  by  the  Free  Software  Foundation;  either  version  2 of the
75       License, or (at your option) any later version.
76
77       This software is distributed in the hope that it will  be  useful,  but
78       WITHOUT  ANY  WARRANTY;  without  even  the  implied  warranty  of MER‐
79       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  General
80       Public License for more details.
81
82       You should have received a copy of the GNU General Public License along
83       with this software; if not, write  to  the  Free  Software  Foundation,
84       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
85
86
87
88
89UNIX                          September 1997-1998             DSGRID2S(3NCARG)
Impressum