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