grid_tools 1.14.0
|
Public 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. | |
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. | |
subroutine pmat5::ctog::dctog | ( | real(dp), dimension(3), intent(in) | xe, |
real(dp), intent(out) | dlat, | ||
real(dp), intent(out) | 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.
Double precision version.
[in] | xe | Earth-centered cartesian unit 3-vector. |
[out] | dlat | degrees latitude. |
[out] | dlon | degrees longitude. |
Definition at line 397 of file pmat5.f90.
References pietc::rtod, and pietc::u0.
subroutine pmat5::ctog::sctog | ( | real(sp), dimension(3), intent(in) | xe, |
real(sp), intent(out) | dlat, | ||
real(sp), intent(out) | 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.
Single precision version.
[in] | xe | Earth-centered cartesian unit 3-vector. |
[out] | dlat | degrees latitude. |
[out] | dlon | degrees longitude. |