1CSC2SD(3NCARG) NCAR GRAPHICS CSC2SD(3NCARG)
2
3
4
6 CSC2SD - convert from Cartesian to lat/lon coordinates
7
9 CALL CSC2SD (N, X, Y, Z, RLAT, RLON)
10
12 N (integer, input) The number of coordinates to convert.
13
14 X,Y,Z (double precision, input) The Cartesian coordinates of the
15 input points.
16
17 RLAT (double precision, output) The latitudes of the output
18 coordinates, in degrees.
19
20 RLON (double precision, output) The longitudes of the output
21 coordinates, in degrees.
22
24 CSC2SD is called to find equivalent latitude and longitude coordinates
25 to specified Cartesian coordinates on the unit sphere. The coordinate
26 (1.,0.,0.) is mapped to the latitude/longitude coordinate (0.,0.). The
27 latitude/longitude coordinates are returned in degrees. CSC2SD is a
28 double precision version of CSC2S.
29
31 To use CSC2SD, load the NCAR Graphics library ngmath.
32
34 css_overview, cssgrid, css2cd, csc2s.
35
36 Complete documentation for Cssgrid is available at URL
37 http://ngwww.ucar.edu/ngdoc/ng/ngmath/cssgrid/csshome.html
38
40 Copyright (C) 2000
41 University Corporation for Atmospheric Research
42
43 This documentation is free software; you can redistribute it and/or
44 modify it under the terms of the GNU General Public License as pub‐
45 lished by the Free Software Foundation; either version 2 of the
46 License, or (at your option) any later version.
47
48 This software is distributed in the hope that it will be useful, but
49 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
50 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
51 Public License for more details.
52
53 You should have received a copy of the GNU General Public License along
54 with this software; if not, write to the Free Software Foundation,
55 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
56
57
58
59
60UNIX May 2000 CSC2SD(3NCARG)