NCEPLIBS-bufr 11.7.1
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.

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.

Author
J. Ator
Date
2007-01-19
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.

Program history log:

Date Programmer Comments
2007-01-19 J. Ator Original author

Definition at line 40 of file gettbh.f.

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

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