grid_tools
1.10.0
|
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... | |
|
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.
[in] | lx | center-relative x grid index for left edge of the domain |
[in] | ly | center-relative y grid index for lower edge of the domain |
[in] | nx | numbers of the grid spaces in x |
[in] | ny | numbers of the grid spaces in y |
[in] | a | parameters of an ESG mapping |
[in] | k | parameters of an ESG mapping |
[in] | plat | radians latitude of the projection center of the mapping |
[in] | plon | radians longitude of the projection center of the mapping |
[in] | pazi | Azimuth of map orientation at its center |
[in] | re | earth radius |
[in] | delxre | map-space grid increments in the dimensional units |
[in] | delyre | map-space grid increments in the dimensional units |
[out] | glat | grid points for latitude |
[out] | glon | grid points for longitude |
[out] | garea | array of grid-cell areas in dimensional units |
[out] | ff | failure flag |
|
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).
[in] | lx | center-relative x grid index for left edge of the domain |
[in] | ly | center-relative y grid index for lower edge of the domain |
[in] | nx | number of grid spaces in x |
[in] | ny | number of grid spaces in y |
[in] | a | Extended Schmidt Gnomonic parameter |
[in] | k | Extended Schmidt Gnomonic parameter |
[in] | plat | latitude of projection center of the mapping (radians) |
[in] | plon | longitude of projection center of the mapping (radians) |
[in] | pazi | Azimuth of map orientation at its center (radians) |
[in] | re | earth radius in dimensional length units |
[in] | delxre | map-space grid increments in the dimensional units |
[in] | delyre | map-space grid increments in the dimensional units |
[out] | glat | gridded lats (radians) |
[out] | glon | gridded lons (radians) |
[out] | garea | grid cell areas in dimensional units |
[out] | dx | x- grid steps in dimensional units |
[out] | dy | y- grid steps in dimensional units |
[out] | dangle_dx | azimuth rotations of the steps dx (in degrees) |
[out] | dangle_dy | azimuth rotations of the steps dy (in degrees) |
[out] | ff | failure flag |