NCEPLIBS-w3emc 2.12.0
|
Unpack grib field to grib grid. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | ai081 (msga, kptr, kpds, kret) |
Find 'grib; characters and set pointers to the next byte following 'grib'. | |
subroutine | ai082 (msga, kptr, kpds, kret) |
Extract information from the product description sec, and generate label information to permit storage in office note 84 format. | |
subroutine | ai082a (msga, kptr, kpds, kret) |
Extract information from the product description section (version 1). | |
subroutine | ai083 (msga, kptr, kpds, kgds, kret) |
Extract information on unlisted grid to allow conversion to office note 84 format. | |
subroutine | ai084 (msga, kptr, kpds, kgds, kbms, kret) |
If bit map sec is available in grib message,extract for program use, otherwise generate an appropriate bit map. | |
subroutine | ai085 (msga, kptr, kpds, kbms, data, kret) |
Extract grib data and place into output arry in proper position. | |
subroutine | ai085a (msga, kptr, kpds, kbms, data, kret) |
Extract grib data (version 1) and place into proper position in output array. | |
subroutine | ai087 (, j, kpds, kgds, kret) |
To test when gds is available to see if size mismatch on existing grids (by center) is indicated. | |
subroutine | w3ai08 (msga, kpds, kgds, kbms, data, kptr, kret) |
Unpack a grib field to the exact grid specified in the message, isolate the bit map and make the values of the product description sec (pds) and the grid description sec (gds) available in return arrays. | |
subroutine ai081 | ( | character*1, dimension(*) | msga, |
integer, dimension(*) | kptr, | ||
integer, dimension(*) | kpds, | ||
integer | kret | ||
) |
Find 'grib; characters and set pointers to the next byte following 'grib'.
If they exist extract counts from gds and bms. Extract count from bds. determine if sum of counts actually places terminator '7777' at the correct location.
Program history log:
[in] | msga | grib field - "grib" thru "7777".`` |
[in,out] | kptr | array containing storage for following parameters.
|
[out] | kpds | - array containing pds elements..
|
[out] | kret | Error return. |
subroutine ai082 | ( | character*1, dimension(*) | msga, |
integer, dimension(*) | kptr, | ||
integer, dimension(*) | kpds, | ||
integer | kret | ||
) |
Extract information from the product description sec, and generate label information to permit storage in office note 84 format.
Program history log:
[in] | msga | Array containing grib message. |
[in,out] | kptr | Array containing storage for following parameters.
|
[out] | kpds | Array containing pds elements.
|
[out] | kret | error return. |
subroutine ai082a | ( | character*1, dimension(*) | msga, |
integer, dimension(*) | kptr, | ||
integer, dimension(*) | kpds, | ||
integer | kret | ||
) |
Extract information from the product description section (version 1).
Program history log:
[in] | MSGA | Array containing grib message. |
[in,out] | KPTR | Array containing storage for following parameters.
|
[out] | KPDS | Array containing pds elements.
|
[out] | KRET | Error return. |
subroutine ai083 | ( | character*1, dimension(*) | msga, |
integer, dimension(*) | kptr, | ||
integer, dimension(*) | kpds, | ||
integer, dimension(*) | kgds, | ||
integer | kret | ||
) |
Extract information on unlisted grid to allow conversion to office note 84 format.
Program history log:
[in] | MSGA | Array containing grib message. |
[in,out] | KPTR | Array containing storage for following parameters.
|
[in] | KPDS | Array containing pds elements.
|
[out] | KGDS | Array containing gds elements..
|
[out] | KRET | Error return. |
subroutine ai084 | ( | character*1, dimension(*) | msga, |
integer, dimension(10) | kptr, | ||
integer, dimension(20) | kpds, | ||
integer, dimension(13) | kgds, | ||
logical, dimension(*) | kbms, | ||
integer | kret | ||
) |
If bit map sec is available in grib message,extract for program use, otherwise generate an appropriate bit map.
Program history log:
[in] | MSGA | BUFR message. |
[in,out] | KPTR | Array containing storage for following parameters.
|
[in] | KPDS | ARRAY CONTAINING PDS ELEMENTS.
|
[out] | kgds | array containing gds elements.
|
[out] | KBMS | Bitmap describing location of output elements.. |
[out] | KRET | Error return. |
subroutine ai085 | ( | character*1, dimension(*) | msga, |
integer, dimension(*) | kptr, | ||
integer, dimension(*) | kpds, | ||
logical, dimension(*) | kbms, | ||
real, dimension(*) | data, | ||
kret | |||
) |
Extract grib data and place into output arry in proper position.
Program history log:
[in] | MSGA | Array containing grib message. |
[in,out] | KPTR | Array containing storage for following parameters.
|
[in] | KPDS | Array containing pds elements.
|
[in] | KBMS | Bitmap describing location of output elements. |
[out] | DATA | Real array of gridded elements in grib message. |
[out] | KRET | Error return. |
subroutine ai085a | ( | character*1, dimension(*) | msga, |
integer, dimension(*) | kptr, | ||
integer, dimension(*) | kpds, | ||
logical, dimension(*) | kbms, | ||
real, dimension(*) | data, | ||
kret | |||
) |
Extract grib data (version 1) and place into proper position in output array.
Program history log:
[in] | MSGA | Array containing grib message. |
[in,out] | KPTR | Array containing storage for following parameters.
|
[in] | KPDS | Array containing pds elements. (version 1)
|
[in] | KBMS | Bitmap describing location of output elements. |
[out] | DATA | Real array of gridded elements in grib message. |
[out] | KRET | Error return. |
subroutine ai087 | ( | integer | j, |
integer, dimension(20) | kpds, | ||
integer, dimension(13) | kgds, | ||
kret | |||
) |
To test when gds is available to see if size mismatch on existing grids (by center) is indicated.
Program history log:
[in] | J | Size for indicated grid. |
[in] | KPDS | |
[in] | KGDS | |
[out] | KRET | Error return. |
subroutine w3ai08 | ( | character*1, dimension(*) | msga, |
integer, dimension(*) | kpds, | ||
integer, dimension(*) | kgds, | ||
logical, dimension(*) | kbms, | ||
real, dimension(*) | data, | ||
integer, dimension(*) | kptr, | ||
kret | |||
) |
Unpack a grib field to the exact grid specified in the message, isolate the bit map and make the values of the product description sec (pds) and the grid description sec (gds) available in return arrays.
Program history log:
[in] | msga | grib field - "grib" thru "7777" char*1 |
[out] | data | array containing data elements |
[out] | kpds | array containing pds elements. (version 1)
|
[out] | kgds | array containing gds elements.
|
[out] | kbms | - bitmap describing location of output elements. |
[out] | kptr | - array containing storage for following parameters
|
[out] | kret | flag indicating quality of completion |