NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
ixgb.f File Reference

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.
 

Detailed Description

This subprogram makes one index record.

Author
Mark iredell
Date
1995-10-31

Definition in file ixgb.f.

Function/Subroutine Documentation

◆ ixgb()

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:

  • Mark iredell 1995-10-31
  • Mark iredell 1996-10-31 Augmented optional definitions to byte 320.
  • Mark iredell 2001-06-05 Apply linux port by ebisuzaki.
Parameters
[in]LUGBInteger logical unit of input grib file.
[in]LSKIPInteger number of bytes to skip before grib message.
[in]LGRIBInteger number of bytes in grib message.
[in]NLENInteger length of each index record in bytes.
[in]NNUMInteger index record number to make.
[out]MLENInteger actual valid length of index record.
[out]CBUFCharacter*1 (mbuf) buffer to receive index data.
Author
Mark iredell
Date
1995-10-31

Definition at line 35 of file ixgb.f.