32 character*160 stline, ltline
33 character*128 bort_str
34 character*6 cmatch,
adn30
51 CALL
gettbh( lunstf, lunltf,
'F', imt, imtv, iogce, iltv )
56 CALL
getntbe( lunstf, isfxyn, stline, iers )
57 CALL
getntbe( lunltf, ilfxyn, ltline, ierl )
58 DO WHILE ( ( iers .EQ. 0 ) .OR. ( ierl .EQ. 0 ) )
59 IF ( ( iers .EQ. 0 ) .AND. ( ierl .EQ. 0 ) )
THEN
60 IF ( isfxyn .EQ. ilfxyn )
THEN
61 cmatch =
adn30( isfxyn, 6 )
63 ELSE IF ( isfxyn .LT. ilfxyn )
THEN
64 CALL
sntbfe( lunstf, isfxyn, stline )
65 CALL
getntbe( lunstf, isfxyn, stline, iers )
67 CALL
sntbfe( lunltf, ilfxyn, ltline )
68 CALL
getntbe( lunltf, ilfxyn, ltline, ierl )
70 ELSE IF ( iers .EQ. 0 )
THEN
71 CALL
sntbfe( lunstf, isfxyn, stline )
72 CALL
getntbe( lunstf, isfxyn, stline, iers )
73 ELSE IF ( ierl .EQ. 0 )
THEN
74 CALL
sntbfe( lunltf, ilfxyn, ltline )
75 CALL
getntbe( lunltf, ilfxyn, ltline, ierl )
84 900
WRITE(bort_str,
'("BUFRLIB: RDMTBF - STANDARD AND LOCAL'//
85 .
' CODE/FLAG TABLE FILES BOTH CONTAIN SAME FXY NUMBER: ",5A)')
86 . cmatch(1:1),
'-', cmatch(2:3),
'-', cmatch(4:6)
void sorttbf(void)
This subroutine sorts the entries within the internal memory structure for storage of master Code/Fla...
void inittbf(void)
This subroutine initializes the internal memory structure for storage of master Code/Flag table entri...
subroutine rdmtbf(LUNSTF, LUNLTF)
THIS SUBROUTINE READS MASTER CODE/FLAG TABLE INFORMATION FROM TWO SEPARATE (I.E.
subroutine gettbh(LUNS, LUNL, TAB, IMT, IMTV, IOGCE, ILTV)
THIS SUBROUTINE READS AND PARSES THE HEADER LINES FROM TWO SEPARATE (I.E.
character *(*) function adn30(IDN, L30)
This function converts a descriptor from its bit-wise (integer) representation to its 5 or 6 characte...
subroutine wrdlen
This subroutine figures out some important information about the local machine on which the BUFRLIB s...
subroutine sntbfe(LUNT, IFXYN, LINE)
THIS SUBROUTINE READS A COMPLETE ENTRY (CORRESPONDING TO THE INPUT FXY NUMBER) FROM AN ASCII MASTER C...
subroutine bort(STR)
This subroutine calls subroutine errwrt() to log an error message, then calls subroutine bort_exit() ...
subroutine getntbe(LUNT, IFXYN, LINE, IRET)
This subroutine gets the first line of the next entry in the specified ASCII master table B...