NCEPLIBS-ip 5.2.0
|
Expand or contract eta grids using linear interpolation. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | ipxetas (idir, igdtnumi, igdtlen, igdtmpli, npts_input, bitmap_input, data_input, igdtnumo, igdtmplo, npts_output, bitmap_output, data_output, iret) |
Expand or contract eta grids using linear interpolation. | |
Expand or contract eta grids using linear interpolation.
Definition in file ipxetas.F90.
subroutine ipxetas | ( | integer, intent(in) | idir, |
integer, intent(in) | igdtnumi, | ||
integer, intent(in) | igdtlen, | ||
integer, dimension(igdtlen), intent(in) | igdtmpli, | ||
integer, intent(in) | npts_input, | ||
logical(kind=1), dimension(npts_input), intent(in) | bitmap_input, | ||
real, dimension(npts_input), intent(in) | data_input, | ||
integer, intent(out) | igdtnumo, | ||
integer, dimension(igdtlen), intent(out) | igdtmplo, | ||
integer, intent(in) | npts_output, | ||
logical(kind=1), dimension(npts_output), intent(out) | bitmap_output, | ||
real, dimension(npts_output), intent(out) | data_output, | ||
integer, intent(out) | iret | ||
) |
Expand or contract eta grids using linear interpolation.
This subprogram transforms between the staggered eta grids as used in the eta model and for native grid transmission and their full expansion as used for general interpolation and graphics. The eta grids are rotated latitude-longitude grids staggered as defined by the arakawa e-grid, that is with mass data points alternating with wind data points.
This is similar to:
Date | Programmer | Comments |
---|---|---|
96-04-10 | Iredell | Initial |
2015-07-14 | Gayno | Make grib 2 compliant. Replace 4-pt interpolation with call to ipolates. |
2022-11-09 | Engle | Made ibi and ibo scalars. |
[in] | idir | integer transform option.
|
[in] | igdtnumi | integer grid definition template number - input grid. Corresponds to the gfldigdtnum component of the ncep g2 library gridmod data structure. Must be = 1 (for a rotated lat/lon grid.) |
[in] | igdtlen | integer number of elements of the grid definition template array - same for input and output grids (=22) which are both rotated lat/lon grids. corresponds to the gfldigdtlen component of the ncep g2 library gridmod data structure. |
[in] | igdtmpli | integer (igdtlen) grid definition template array - input grid. Corresponds to the gfldigdtmpl component of the ncep g2 library gridmod data structure (section 3 info):
|
[in] | npts_input | integer number points input grid |
[in] | bitmap_input | logical (npts_input) input grid bitmap |
[in] | data_input | real (npts_input) input grid data |
[out] | igdtnumo | integer grid definition template number - output grid. Corresponds to the gfldigdtnum component of the ncep g2 library gridmod data structure. Same as igdtnumi (=1 for a rotated lat/lon grid). |
[out] | igdtmplo | integer (igdtlen) grid definition template array - output grid. Corresponds to the gfldigdtmpl component of the ncep g2 library gridmod data structure. Array definitions same as "igdtmpli". |
[out] | npts_output | integer number points output grid. the j-dimension of the input and output grids are the same. When going from a staggered to a full grid the i-dimension increases to idim*2-1. When going from full to staggered the i-dimension decreases to (idim+1)/2. |
[out] | bitmap_output | logical (npts_outut) output grid bitmap |
[out] | data_output | real (npts_output) output grid data |
[out] | iret | integer return code
|
Definition at line 90 of file ipxetas.F90.