grid_tools  1.13.0
pesg::hgrid_ak Interface Reference

Private Member Functions

subroutine hgrid_ak (lx, ly, nx, ny, a, k, plat, plon, pazi, re, delxre, delyre, glat, glon, garea, ff)
 Like hgrid_ak_rr_c except the argument list includes the earth radius, re, and this is used to express the map-space grid increments in the dimensional units, delxre, delyre on entry, and to express the grid cell areas, garea, in dimensional units upon return. More...
 
subroutine hgrid_ak_c (lx, ly, nx, ny, a, k, plat, plon, pazi, re, delxre, delyre, glat, glon, garea, dx, dy, dangle_dx, dangle_dy, ff)
 Like hgrid_ak_rr_c except the argument list includes the earth radius, re, and this is used to express the map-space grid increments in the dimensional units, delxre, delyre on entry, and to express the grid cell areas, garea, and the x- and y- grid steps, dx and dy, in dimensional units upon return. More...
 

Detailed Description

Definition at line 48 of file pesg.f90.

Constructor & Destructor Documentation

◆ hgrid_ak()

subroutine pesg::hgrid_ak::hgrid_ak ( 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)  plat,
real(dp), intent(in)  plon,
real(dp), intent(in)  pazi,
real(dp), intent(in)  re,
real(dp), intent(in)  delxre,
real(dp), intent(in)  delyre,
real(dp), dimension(lx:lx+nx ,ly:ly+ny ), intent(out)  glat,
real(dp), dimension(lx:lx+nx ,ly:ly+ny ), intent(out)  glon,
real(dp), dimension(lx:lx+nx-1,ly:ly+ny-1), intent(out)  garea,
logical, intent(out)  ff 
)
private

Like hgrid_ak_rr_c except the argument list includes the earth radius, re, and this is used to express the map-space grid increments in the dimensional units, delxre, delyre on entry, and to express the grid cell areas, garea, in dimensional units upon return.

The gridded lats and lons, glat and glon, remain in 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]platradians latitude of the projection center of the mapping
[in]plonradians longitude of the projection center of the mapping
[in]paziAzimuth of map orientation at its center
[in]reearth radius
[in]delxremap-space grid increments in the dimensional units
[in]delyremap-space grid increments in the dimensional units
[out]glatgrid points for latitude
[out]glongrid points for longitude
[out]gareaarray of grid-cell areas in dimensional units
[out]fffailure flag
Author
R. J. Purser

Definition at line 1766 of file pesg.f90.

Member Function/Subroutine Documentation

◆ hgrid_ak_c()

subroutine pesg::hgrid_ak::hgrid_ak_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)  plat,
real(dp), intent(in)  plon,
real(dp), intent(in)  pazi,
real(dp), intent(in)  re,
real(dp), intent(in)  delxre,
real(dp), intent(in)  delyre,
real(dp), dimension(lx:lx+nx ,ly:ly+ny ), intent(out)  glat,
real(dp), dimension(lx:lx+nx ,ly:ly+ny ), intent(out)  glon,
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 the argument list includes the earth radius, re, and this is used to express the map-space grid increments in the dimensional units, delxre, delyre on entry, and to express the grid cell areas, garea, and the x- and y- grid steps, dx and dy, in dimensional units upon return.

The gridded lats and lons, glat and glon, remain in radians. Also, in order for the argument list to remain compatible with an earlier version of this routine, the relative rotations of the steps, dangle_dx and dangle_dy, are returned as degrees instead of radians (all other angles in the argument list, i.e., plat,plon,pazi,glat,glon, remain 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]nxnumber of grid spaces in x
[in]nynumber of grid spaces in y
[in]aExtended Schmidt Gnomonic parameter
[in]kExtended Schmidt Gnomonic parameter
[in]platlatitude of projection center of the mapping (radians)
[in]plonlongitude of projection center of the mapping (radians)
[in]paziAzimuth of map orientation at its center (radians)
[in]reearth radius in dimensional length units
[in]delxremap-space grid increments in the dimensional units
[in]delyremap-space grid increments in the dimensional units
[out]glatgridded lats (radians)
[out]glongridded lons (radians)
[out]gareagrid cell areas in dimensional units
[out]dxx- grid steps in dimensional units
[out]dyy- grid steps in dimensional units
[out]dangle_dxazimuth rotations of the steps dx (in degrees)
[out]dangle_dyazimuth rotations of the steps dy (in degrees)
[out]fffailure flag
Author
R. J. Purser

Definition at line 1818 of file pesg.f90.


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