NCEPLIBS-bufr  12.0.0
gettbh.f File Reference

Read the header lines from a master table B, table D or Code/Flag table. More...

Go to the source code of this file.

Functions/Subroutines

subroutine gettbh (LUNS, LUNL, TAB, IMT, IMTV, IOGCE, ILTV)
 This subroutine reads the header lines from two separate ASCII files (one standard and one local) containing master table B, table D or Code/Flag table information. More...
 

Detailed Description

Read the header lines from a master table B, table D or Code/Flag table.

Author
J. Ator
Date
2007-01-19

Definition in file gettbh.f.

Function/Subroutine Documentation

◆ gettbh()

subroutine gettbh (   LUNS,
  LUNL,
character*1  TAB,
  IMT,
  IMTV,
  IOGCE,
  ILTV 
)

This subroutine reads the header lines from two separate ASCII files (one standard and one local) containing master table B, table D or Code/Flag table information.

Parameters
[in]LUNS– integer: Fortran logical unit number for ASCII file containing standard table information
[in]LUNL– integer: Fortran logical unit number for ASCII file containing local table information
[out]TAB– character: Type of table
  • 'B' = Table B
  • 'D' = Table D
  • 'F' = Code/Flag table
[out]IMT– integer: Master table
  • This value is read from both ASCII files and must be identical between them.
[out]IMTV– integer: Version number of master table
  • This value is read from the standard ASCII file.
[out]IOGCE– integer: Originating center
  • This value is read from the local ASCII file.
[out]ILTV– integer: Version number of local table
  • This value is read from the local ASCII file.
Author
J. Ator
Date
2007-01-19

Definition at line 35 of file gettbh.f.

References bort(), igetntbl(), parstr(), and strnum().

Referenced by rdmtbb(), rdmtbd(), and rdmtbf().