grid_tools  1.10.0
pmat5::gtoc Interface Reference

Private Member Functions

subroutine dgtoc (dlat, dlon, xe)
 Transform "Geographical" to "Cartesian" 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 dgtocd (dlat, dlon, xe, dxedlat, dxedlon)
 Transform "Geographical" to "Cartesian" 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 dgtocdd (dlat, dlon, xe, dxedlat, dxedlon, ddxedlatdlat, ddxedlatdlon, ddxedlondlon)
 Transform "Geographical" to "Cartesian" 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 sgtoc (dlat, dlon, xe)
 Transform "Geographical" to "Cartesian" 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 sgtocd (dlat, dlon, xe, dxedlat, dxedlon)
 Transform "Geographical" to "Cartesian" 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 sgtocdd (dlat, dlon, xe, dxedlat, dxedlon, ddxedlatdlat, ddxedlatdlon, ddxedlondlon)
 Transform "Geographical" to "Cartesian" 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 41 of file pmat5.f90.

Member Function/Subroutine Documentation

◆ dgtoc()

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

Transform "Geographical" to "Cartesian" 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]dlatdegrees latitude.
[in]dlondegrees longitude.
[out]xecartesian unit 3-vector.
Author
R. J. Purser

Definition at line 445 of file pmat5.f90.

◆ dgtocd()

subroutine pmat5::gtoc::dgtocd ( real(dp), intent(in)  dlat,
real(dp), intent(in)  dlon,
real(dp), dimension(3), intent(out)  xe,
real(dp), dimension(3), intent(out)  dxedlat,
real(dp), dimension(3), intent(out)  dxedlon 
)
private

Transform "Geographical" to "Cartesian" 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.

Also, return the partial derivatives of xe wrt latitude and longitude. Double precision version.

Parameters
[in]dlatdegrees latitude.
[in]dlondegrees longitude.
[out]xecartesian unit 3-vector.
[out]dxedlatderivative, d(xe)/d(dlat).
[out]dxedlonderivative, d(xe)/d(dlon).
Author
R. J. Purser

Definition at line 496 of file pmat5.f90.

◆ dgtocdd()

subroutine pmat5::gtoc::dgtocdd ( real(dp), intent(in)  dlat,
real(dp), intent(in)  dlon,
real(dp), dimension(3), intent(out)  xe,
real(dp), dimension(3), intent(out)  dxedlat,
real(dp), dimension(3), intent(out)  dxedlon,
real(dp), dimension(3), intent(out)  ddxedlatdlat,
real(dp), dimension(3), intent(out)  ddxedlatdlon,
real(dp), dimension(3), intent(out)  ddxedlondlon 
)
private

Transform "Geographical" to "Cartesian" 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.

Also, return the 1st and 2nd partial derivatives of xe wrt latitude and longitude. Double precision version.

Parameters
[in]dlatdegrees latitude.
[in]dlondegrees longitude.
[out]xecartesian unit 3-vector.
[out]dxedlatd(xe)/d(dlat).
[out]dxedlond(xe)/d(dlon).
[out]ddxedlatdlatderivative, d^2(xe)/(d(dlat)d(dlat)).
[out]ddxedlatdlonderivative, d^2(xe)/(d(dlat)d(dlon)).
[out]ddxedlondlonderivative, d^2(xe)/(d(dlon)d(dlon)).
Author
R. J. Purser

Definition at line 565 of file pmat5.f90.

◆ sgtoc()

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

Transform "Geographical" to "Cartesian" 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]dlatdegrees latitude.
[in]dlondegrees longitude.
[out]xeEarth-centered cartesian unit 3-vector.
Author
R. J. Purser
Date
1994

Definition at line 423 of file pmat5.f90.

◆ sgtocd()

subroutine pmat5::gtoc::sgtocd ( real(sp), intent(in)  dlat,
real(sp), intent(in)  dlon,
real(sp), dimension(3), intent(out)  xe,
real(sp), dimension(3), intent(out)  dxedlat,
real(sp), dimension(3), intent(out)  dxedlon 
)
private

Transform "Geographical" to "Cartesian" 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.

Also, return the partial derivatives of xe wrt latitude and longitude. Single precision version.

Parameters
[in]dlatdegrees latitude.
[in]dlondegrees longitude.
[out]xecartesian unit 3-vector.
[out]dxedlatderivative, d(xe)/d(dlat).
[out]dxedlonderivative, d(xe)/d(dlon).
Author
R. J. Purser

Definition at line 470 of file pmat5.f90.

◆ sgtocdd()

subroutine pmat5::gtoc::sgtocdd ( real(sp), intent(in)  dlat,
real(sp), intent(in)  dlon,
real(sp), dimension(3), intent(out)  xe,
real(sp), dimension(3), intent(out)  dxedlat,
real(sp), dimension(3), intent(out)  dxedlon,
real(sp), dimension(3), intent(out)  ddxedlatdlat,
real(sp), dimension(3), intent(out)  ddxedlatdlon,
real(sp), dimension(3), intent(out)  ddxedlondlon 
)
private

Transform "Geographical" to "Cartesian" 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.

Also, return the 1st and 2nd partial derivatives of xe wrt latitude and longitude. Single precision version.

Parameters
[in]dlatdegrees latitude.
[in]dlondegrees longitude.
[out]xecartesian unit 3-vector.
[out]dxedlatderivative, d(xe)/d(dlat).
[out]dxedlonderivative, d(xe)/d(dlon).
[out]ddxedlatdlatderivative, d^2(xe)/(d(dlat)d(dlat)).
[out]ddxedlatdlonderivative, d^2(xe)/(d(dlat)d(dlon)).
[out]ddxedlondlonderivative, d^2(xe)/(d(dlon)d(dlon)).
Author
R. J. Purser

Definition at line 528 of file pmat5.f90.


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