grid_tools  1.13.0
 All Data Structures Files Functions Variables Pages
pmat5::ctog Interface Reference

Private Member Functions

subroutine dctog (xe, dlat, dlon)
 Transform "Cartesian" to "Geographical" coordinates, where the geographical coordinates refer to latitude and longitude (degrees) and cartesian coordinates are standard earth-centered cartesian coordinates: xe(3) pointing north, xe(1) pointing to the 0-meridian. More...
 
subroutine sctog (xe, dlat, dlon)
 Transform "Cartesian" to "Geographical" coordinates, where the geographical coordinates refer to latitude and longitude (degrees) and cartesian coordinates are standard earth-centered cartesian coordinates: xe(3) pointing north, xe(1) pointing to the 0-meridian. More...
 

Detailed Description

Definition at line 40 of file pmat5.f90.

Member Function/Subroutine Documentation

subroutine pmat5::ctog::dctog ( real(dp), dimension(3), intent(in)  xe,
real(dp), intent(out)  dlat,
real(dp), intent(out)  dlon 
)
private

Transform "Cartesian" to "Geographical" coordinates, where the geographical coordinates refer to latitude and longitude (degrees) and cartesian coordinates are standard earth-centered cartesian coordinates: xe(3) pointing north, xe(1) pointing to the 0-meridian.

Double precision version.

Parameters
[in]xeEarth-centered cartesian unit 3-vector.
[out]dlatdegrees latitude.
[out]dlondegrees longitude.
Author
R. J. Purser

Definition at line 397 of file pmat5.f90.

subroutine pmat5::ctog::sctog ( real(sp), dimension(3), intent(in)  xe,
real(sp), intent(out)  dlat,
real(sp), intent(out)  dlon 
)
private

Transform "Cartesian" to "Geographical" coordinates, where the geographical coordinates refer to latitude and longitude (degrees) and cartesian coordinates are standard earth-centered cartesian coordinates: xe(3) pointing north, xe(1) pointing to the 0-meridian.

Single precision version.

Parameters
[in]xeEarth-centered cartesian unit 3-vector.
[out]dlatdegrees latitude.
[out]dlondegrees longitude.
Author
R. J. Purser
Date
1994

Definition at line 372 of file pmat5.f90.


The documentation for this interface was generated from the following file: