grid_tools
1.7.0
|
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... | |
|
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.
[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 the grid spaces in x |
[in] | ny | number of the grid spaces in y |
[in] | a | parameter of an ESG mapping |
[in] | k | parameter of an ESG mapping |
[in] | pdlat | degrees latitude of the projection center of mapping |
[in] | pdlon | degrees longitude of the projection center of mapping |
[in] | pdazi | degrees azimuth of orientation of mapping at its center |
[in] | delx | central x-spacing of the grid (in radians) |
[in] | dely | central y-spacing of the grid (in radians) |
[out] | gdlat | array of grid point latitudes (in degrees) |
[out] | gdlon | array of grid point longitudes (in dgrees) |
[out] | garea | array of grid cell areas (in steradians) |
[out] | ff | failure flag |
|
private |
Like hgrid_ak_rr_c, except all the angle arguments (but not delx,dely) are in degrees instead of 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] | pdlat | latitude defining projection center of the mapping |
[in] | pdlon | longitude defining projection center of the mapping |
[in] | pdazi | azimuth of the orientation of the mapping at its center |
[in] | delx | central x-spacing of the grid (in radians) |
[in] | dely | central y-spacing of the grid (in radians) |
[out] | gdlat | array of grid point degree-latitudes |
[out] | gdlon | array of grid point degree-longitudes |
[out] | garea | array of grid-cell areas (steradians) |
[out] | dx | step sizes of the grid-cell edges in x (earth radius=1 unit) |
[out] | dy | step sizes of the grid-cell edges in y (earth radius=1 unit) |
[out] | dangle_dx | azimuth rotation of the x grid steps, dx (degrees) |
[out] | dangle_dy | azimuth rotation of the y grid steps, dy (degrees) |
[out] | ff | failure flag |