grid_tools  1.13.0
pmat5::ctogr Interface Reference

Private Member Functions

subroutine dctogr (xe, rlat, rlon)
 Transform "Cartesian" to "Geographical" coordinates, where the geographical coordinates refer to latitude and longitude (radians) and cartesian coordinates are standard earth-centered cartesian coordinates: xe(3) pointing north, xe(1) pointing to the 0-meridian. More...
 
subroutine sctogr (xe, rlat, rlon)
 Transform "Cartesian" to "Geographical" coordinates, where the geographical coordinates refer to latitude and longitude (radians) 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 36 of file pmat5.f90.

Member Function/Subroutine Documentation

◆ dctogr()

subroutine pmat5::ctogr::dctogr ( real(dp), dimension(3), intent(in)  xe,
real(dp), intent(out)  rlat,
real(dp), intent(out)  rlon 
)
private

Transform "Cartesian" to "Geographical" coordinates, where the geographical coordinates refer to latitude and longitude (radians) 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]rlatradians latitude.
[out]rlonradians longitude.
Author
R. J. Purser

Definition at line 198 of file pmat5.f90.

◆ sctogr()

subroutine pmat5::ctogr::sctogr ( real(sp), dimension(3), intent(in)  xe,
real(sp), intent(out)  rlat,
real(sp), intent(out)  rlon 
)
private

Transform "Cartesian" to "Geographical" coordinates, where the geographical coordinates refer to latitude and longitude (radians) 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]rlatradians latitude.
[out]rlonradians longitude.
Author
R. J. Purser

Definition at line 173 of file pmat5.f90.


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