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

NAME

6       c_csc2sd - convert from Cartesian coordinates to lat/lon coordinates.
7

FUNCTION PROTOTYPE

9           void   c_csc2sd(int, double *, double *, double *, double *, double *);
10
11

SYNOPSIS

13           c_csc2sd(n, x, y, z, rlat, rlon);
14
15

DESCRIPTION

17       n           The number of input Cartesian coordinates.
18
19       x           An  array containing the X component of the Cartesian coor‐
20                   dinates of the input data. (rlat[i],rlon[i]) is the lat/lon
21                   coordinate   corresponding   to  the  Cartesian  coordinate
22                   (x[i],y[i],z[i]) for i=0 to n-1.
23
24       y           An array containing the Y component of the Cartesian  coor‐
25                   dinates of the input data. (rlat[i],rlon[i]) is the lat/lon
26                   coordinate  corresponding  to  the   Cartesian   coordinate
27                   (x[i],y[i],z[i]) for i=0 to n-1.
28
29       z           An  array containing the Z component of the Cartesian coor‐
30                   dinates of the input data. (rlat[i],rlon[i]) is the lat/lon
31                   coordinate   corresponding   to  the  Cartesian  coordinate
32                   (x[i],y[i],z[i]) for i=0 to n-1.
33
34       rlat        An array containing the latitudes  of  the  output  coordi‐
35                   nates, in degrees.
36
37       rlon        An  array  containing  the longitudes of the output coordi‐
38                   nates, in degrees.
39

USAGE

41       c_csc2sd is called to find the equivalent lat/lon coordinates to speci‐
42       fied  Cartesian coordinates on a unit sphere.  The Cartesian coordinate
43       (1.,0.,0.) is converted to lat/lon coordinate  (0.,0.).  Latitudes  and
44       longitudes  are  assumed to be in degrees.  c_csc2sd is a double preci‐
45       sion version of c_csc2s.
46

RETURN VALUE

48       c_csc2sd does not return a value.
49

ACCESS

51       To use c_csc2sd, load the NCAR Graphics library ngmath.
52

SEE ALSO

54       css_overview, c_cssgrid, c_csc2s.
55
56       Complete documentation for Cssgrid is available at URL
57       http://ngwww.ucar.edu/ngdoc/ng/ngmath/cssgrid/csshome.html
58
60       Copyright (C) 2000
61       University Corporation for Atmospheric Research
62
63       The use of this Software is governed by a License Agreement.
64
65
66
67UNIX                               MAY 2000                   c_csc2sd(3NCARG)
Impressum