grid_tools  1.4.0
 All Data Structures Files Functions Variables
pesg::hgrid_ak_dd Interface Reference

Private Member Functions

subroutine hgrid_ak_dd (lx, ly, nx, ny, a, k, pdlat, pdlon, pdazi, delx, dely, gdlat, gdlon, garea, ff)
 Use a and k as the parameters of an Extended Schmidt-transformed Gnomonic (ESG) mapping centered at (pdlat,pdlon) and twisted about this center by an azimuth angle of pdazi counterclockwise (these angles in degrees). More...
 
subroutine hgrid_ak_dd_c (lx, ly, nx, ny, a, k, pdlat, pdlon, pdazi, delx, dely, gdlat, gdlon, garea, dx, dy, dangle_dx, dangle_dy, ff)
 Like hgrid_ak_rr_c, except all the angle arguments (but not delx,dely) are in degrees instead of radians. More...
 

Detailed Description

Definition at line 46 of file pesg.f90.

Constructor & Destructor Documentation

subroutine pesg::hgrid_ak_dd::hgrid_ak_dd ( integer(spi), intent(in)  lx,
integer(spi), intent(in)  ly,
integer(spi), intent(in)  nx,
integer(spi), intent(in)  ny,
real(dp), intent(in)  a,
real(dp), intent(in)  k,
real(dp), intent(in)  pdlat,
real(dp), intent(in)  pdlon,
real(dp), intent(in)  pdazi,
real(dp), intent(in)  delx,
real(dp), intent(in)  dely,
real(dp), dimension(lx:lx+nx ,ly:ly+ny ), intent(out)  gdlat,
real(dp), dimension(lx:lx+nx ,ly:ly+ny ), intent(out)  gdlon,
real(dp), dimension(lx:lx+nx-1,ly:ly+ny-1), intent(out)  garea,
logical, intent(out)  ff 
)
private

Use a and k as the parameters of an Extended Schmidt-transformed Gnomonic (ESG) mapping centered at (pdlat,pdlon) and twisted about this center by an azimuth angle of pdazi counterclockwise (these angles in degrees).

Like hgrid_ak_rr, return the grid points' lats and lons, except that here the angles are returned in degrees. Garea, the area of each grid cell, is returned as in hgrid_ak_rr, and a failure flag, ff, raised when a failure occurs anywhere in these calculations.

Parameters
[in]lxcenter-relative x grid index for left edge of the domain
[in]lycenter-relative y grid index for lower edge of the domain
[in]nxnumber of the grid spaces in x
[in]nynumber of the grid spaces in y
[in]aparameter of an ESG mapping
[in]kparameter of an ESG mapping
[in]pdlatdegrees latitude of the projection center of mapping
[in]pdlondegrees longitude of the projection center of mapping
[in]pdazidegrees azimuth of orientation of mapping at its center
[in]delxcentral x-spacing of the grid (in radians)
[in]delycentral y-spacing of the grid (in radians)
[out]gdlatarray of grid point latitudes (in degrees)
[out]gdlonarray of grid point longitudes (in dgrees)
[out]gareaarray of grid cell areas (in steradians)
[out]fffailure flag
Author
R. J. Purser

Definition at line 1627 of file pesg.f90.

Member Function/Subroutine Documentation

subroutine pesg::hgrid_ak_dd::hgrid_ak_dd_c ( integer(spi), intent(in)  lx,
integer(spi), intent(in)  ly,
integer(spi), intent(in)  nx,
integer(spi), intent(in)  ny,
real(dp), intent(in)  a,
real(dp), intent(in)  k,
real(dp), intent(in)  pdlat,
real(dp), intent(in)  pdlon,
real(dp), intent(in)  pdazi,
real(dp), intent(in)  delx,
real(dp), intent(in)  dely,
real(dp), dimension(lx:lx+nx ,ly:ly+ny ), intent(out)  gdlat,
real(dp), dimension(lx:lx+nx ,ly:ly+ny ), intent(out)  gdlon,
real(dp), dimension(lx:lx+nx-1,ly:ly+ny-1), intent(out)  garea,
real(dp), dimension(lx:lx+nx-1,ly:ly+ny ), intent(out)  dx,
real(dp), dimension(lx:lx+nx ,ly:ly+ny-1), intent(out)  dy,
real(dp), dimension(lx:lx+nx ,ly:ly+ny ), intent(out)  dangle_dx,
real(dp), dimension(lx:lx+nx ,ly:ly+ny ), intent(out)  dangle_dy,
logical, intent(out)  ff 
)
private

Like hgrid_ak_rr_c, except all the angle arguments (but not delx,dely) are in degrees instead of radians.

Parameters
[in]lxcenter-relative x grid index for left edge of the domain
[in]lycenter-relative y grid index for lower edge of the domain
[in]nxnumbers of the grid spaces in x
[in]nynumbers of the grid spaces in y
[in]aparameters of an ESG mapping
[in]kparameters of an ESG mapping
[in]pdlatlatitude defining projection center of the mapping
[in]pdlonlongitude defining projection center of the mapping
[in]pdaziazimuth of the orientation of the mapping at its center
[in]delxcentral x-spacing of the grid (in radians)
[in]delycentral y-spacing of the grid (in radians)
[out]gdlatarray of grid point degree-latitudes
[out]gdlonarray of grid point degree-longitudes
[out]gareaarray of grid-cell areas (steradians)
[out]dxstep sizes of the grid-cell edges in x (earth radius=1 unit)
[out]dystep sizes of the grid-cell edges in y (earth radius=1 unit)
[out]dangle_dxazimuth rotation of the x grid steps, dx (degrees)
[out]dangle_dyazimuth rotation of the y grid steps, dy (degrees)
[out]fffailure flag
Author
R. J. Purser

Definition at line 1670 of file pesg.f90.


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