grid_tools 1.14.0
Loading...
Searching...
No Matches
pmat5::ctogr Interface Reference

Public 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.
 
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.
 

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 )

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 197 of file pmat5.f90.

References pietc::u0.

◆ sctogr()

subroutine pmat5::ctogr::sctogr ( real(sp), dimension(3), intent(in) xe,
real(sp), intent(out) rlat,
real(sp), intent(out) 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.

Single precision version.

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

Definition at line 172 of file pmat5.f90.


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