1CSS2C(3NCARG) NCAR GRAPHICS CSS2C(3NCARG)
2
3
4
6 CSS2C - convert from Cartesian to lat/lon coordinates
7
9 CALL CSS2C (N, RLAT, RLON, X, Y, Z)
10
12 N (integer, input) The number of coordinates to convert.
13
14 RLAT (real, input) The latitudes of the input coordinates, in
15 degrees.
16
17 RLON (real, input) The longitudes of the input coordinates, in
18 degrees.
19
20 X,Y,Z (real, output) The Cartesian coordinates of the output
21 points.
22
24 CSS2C is called to find equivalent Cartesian coordinates on the unit
25 sphere to latitude and longitude coordinates. The coordinate 0.
26 degrees latitude and 0. degrees longitude is mapped to the Cartesian
27 coordinate (1., 0.,0.).
28
30 To use CSS2C, load the NCAR Graphics library ngmath.
31
33 css_overview, cssgrid, csc2s.
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 CSS2C(3NCARG)