NCEPLIBS-w3emc 2.12.0
|
This subprogram makes one index record. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | ixgb (lugb, lskip, lgrib, nlen, nnum, mlen, cbuf) |
Byte 001-004: Bytes to skip in data file before grib message. | |
subroutine ixgb | ( | lugb, | |
lskip, | |||
lgrib, | |||
nlen, | |||
nnum, | |||
mlen, | |||
character, dimension(*) | cbuf | ||
) |
Byte 001-004: Bytes to skip in data file before grib message.
Byte 005-008: Bytes to skip in message before pds. Byte 009-012: Bytes to skip in message before gds (0 if no gds). Byte 013-016: Bytes to skip in message before bms (0 if no bms). Byte 017-020: Bytes to skip in message before bds. Byte 021-024: Bytes total in the message. Byte 025-025: Grib version number. Byte 026-053: Product definition section (pds). Byte 054-095: Grid definition section (gds) (or nulls). Byte 096-101: First part of the bit map section (bms) (or nulls). Byte 102-112: First part of the binary data section (bds). Byte 113-172: (optional) bytes 41-100 of the pds. Byte 173-184: (optional) bytes 29-40 of the pds. Byte 185-320: (optional) bytes 43-178 of the gds.
Program history log:
[in] | LUGB | Integer logical unit of input grib file. |
[in] | LSKIP | Integer number of bytes to skip before grib message. |
[in] | LGRIB | Integer number of bytes in grib message. |
[in] | NLEN | Integer length of each index record in bytes. |
[in] | NNUM | Integer index record number to make. |
[out] | MLEN | Integer actual valid length of index record. |
[out] | CBUF | Character*1 (mbuf) buffer to receive index data. |