logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CSC2SD - convert from Cartesian to lat/lon coordinates

Access

       To use CSC2SD, load the NCAR Graphics library ngmath.

Description

       N           (integer, input) The number of coordinates to convert.

       X,Y,Z       (double precision, input) The Cartesian coordinates of the input points.

       RLAT        (double precision, output) The latitudes of the output coordinates, in degrees.

       RLON        (double precision, output) The longitudes of the output coordinates, in degrees.

Name

       CSC2SD - convert from  Cartesian to  lat/lon coordinates

See Also

       css_overview, cssgrid, css2cd, csc2s.

       Complete documentation for Cssgrid is available at URL
       http://ngwww.ucar.edu/ngdoc/ng/ngmath/cssgrid/csshome.html

Synopsis

       CALL CSC2SD (N, X, Y, Z, RLAT, RLON)

Usage

       CSC2SD is called to find equivalent latitude and longitude coordinates to specified Cartesian coordinates
       on  the  unit  sphere.  The coordinate (1.,0.,0.) is mapped to the latitude/longitude coordinate (0.,0.).
       The latitude/longitude coordinates are returned in degrees.  CSC2SD is  a  double  precision  version  of
       CSC2S.

See Also