grid_tools  1.8.0
pmat5::gtoframe Interface Reference

Private Member Functions

subroutine gtoframem (plat, plon, orth)
 From the degree lat and lon (plat and plon) return the standard orthogonal 3D frame at this location as an orthonormal matrix, orth. More...
 
subroutine gtoframev (plat, plon, xp, yp, zp)
 Given a geographical point by its degrees lat and lon, plat and plon, return its standard orthogonal cartesian frame, {xp,yp,zp} in earth-centered coordinates. More...
 
subroutine sgtoframem (splat, splon, sorth)
 From the degree lat and lon (plat and plon) return the standard orthogonal 3D frame at this location as an orthonormal matrix, orth. More...
 
subroutine sgtoframev (splat, splon, sxp, syp, szp)
 Given a geographical point by its degrees lat and lon, plat and plon, return its standard orthogonal cartesian frame, {xp,yp,zp} in earth-centered coordinates. More...
 

Detailed Description

Definition at line 43 of file pmat5.f90.

Member Function/Subroutine Documentation

◆ gtoframem()

subroutine pmat5::gtoframe::gtoframem ( real(dp), intent(in)  plat,
real(dp), intent(in)  plon,
real(dp), dimension(3,3), intent(out)  orth 
)
private

From the degree lat and lon (plat and plon) return the standard orthogonal 3D frame at this location as an orthonormal matrix, orth.

Double precision version.

Parameters
[in]platlatitude (degrees) of point.
[in]plonlongitude (degrees) of point.
[out]orthorthonormal matrix.
Author
R. J. Purser

Definition at line 617 of file pmat5.f90.

◆ gtoframev()

subroutine pmat5::gtoframe::gtoframev ( real(dp), intent(in)  plat,
real(dp), intent(in)  plon,
real(dp), dimension(3), intent(out)  xp,
real(dp), dimension(3), intent(out)  yp,
real(dp), dimension(3), intent(out)  zp 
)
private

Given a geographical point by its degrees lat and lon, plat and plon, return its standard orthogonal cartesian frame, {xp,yp,zp} in earth-centered coordinates.

Double precision version.

Parameters
[in]platlatitude (degrees) of point.
[in]plonlongitude (degrees) of point.
[out]xpunit X-basis vector of cartesian frame.
[out]ypunit Y-basis vector of cartesian frame.
[out]zpunit Z-basis vector of cartesian frame.
Author
R. J. Purser

Definition at line 662 of file pmat5.f90.

◆ sgtoframem()

subroutine pmat5::gtoframe::sgtoframem ( real(sp), intent(in)  splat,
real(sp), intent(in)  splon,
real(sp), dimension(3,3), intent(out)  sorth 
)
private

From the degree lat and lon (plat and plon) return the standard orthogonal 3D frame at this location as an orthonormal matrix, orth.

Single precision version.

Parameters
[in]splatlatitude (degrees) of point.
[in]splonlongitude (degrees) of point.
[out]sorthorthonormal matrix.
Author
R. J. Purser

Definition at line 600 of file pmat5.f90.

◆ sgtoframev()

subroutine pmat5::gtoframe::sgtoframev ( real(sp), intent(in)  splat,
real(sp), intent(in)  splon,
real(sp), dimension(3), intent(out)  sxp,
real(sp), dimension(3), intent(out)  syp,
real(sp), dimension(3), intent(out)  szp 
)
private

Given a geographical point by its degrees lat and lon, plat and plon, return its standard orthogonal cartesian frame, {xp,yp,zp} in earth-centered coordinates.

Single precision version.

Parameters
[in]splatlatitude (degrees) of point.
[in]splonlongitude (degrees) of point.
[out]sxpxp unit X-basis vector of cartesian frame.
[out]sypyp unit Y-basis vector of cartesian frame.
[out]szpzp unit Z-basis vector of cartesian frame.
Author
R. J. Purser

Definition at line 637 of file pmat5.f90.


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