54 SUBROUTINE rdmtbb ( LUNSTB, LUNLTB, MXMTBB,
55 . IMT, IMTV, IOGCE, ILTV,
56 . NMTBB, IMFXYN, CMSCL, CMSREF, CMBW,
57 . CMUNIT, CMMNEM, CMDSC, CMELEM )
59 CHARACTER*200 STLINE, LTLINE
60 CHARACTER*128 BORT_STR
61 CHARACTER*6 CMATCH, ADN30
63 CHARACTER CMELEM(120,*)
64 CHARACTER CMUNIT(24,*)
65 CHARACTER CMSREF(12,*)
67 CHARACTER CMSCL(4,*), CMBW(4,*)
81 CALL gettbh ( lunstb, lunltb,
'B', imt, imtv, iogce, iltv )
87 CALL getntbe ( lunstb, isfxyn, stline, iers )
88 CALL getntbe ( lunltb, ilfxyn, ltline, ierl )
89 DO WHILE ( ( iers .EQ. 0 ) .OR. ( ierl .EQ. 0 ) )
90 IF ( ( iers .EQ. 0 ) .AND. ( ierl .EQ. 0 ) )
THEN
91 IF ( isfxyn .EQ. ilfxyn )
THEN
92 cmatch = adn30( isfxyn, 6 )
94 ELSE IF ( isfxyn .LT. ilfxyn )
THEN
95 CALL sntbbe ( isfxyn, stline, mxmtbb,
96 . nmtbb, imfxyn, cmscl, cmsref, cmbw,
97 . cmunit, cmmnem, cmdsc, cmelem )
98 CALL getntbe ( lunstb, isfxyn, stline, iers )
100 CALL sntbbe ( ilfxyn, ltline, mxmtbb,
101 . nmtbb, imfxyn, cmscl, cmsref, cmbw,
102 . cmunit, cmmnem, cmdsc, cmelem )
103 CALL getntbe ( lunltb, ilfxyn, ltline, ierl )
105 ELSE IF ( iers .EQ. 0 )
THEN
106 CALL sntbbe ( isfxyn, stline, mxmtbb,
107 . nmtbb, imfxyn, cmscl, cmsref, cmbw,
108 . cmunit, cmmnem, cmdsc, cmelem )
109 CALL getntbe ( lunstb, isfxyn, stline, iers )
110 ELSE IF ( ierl .EQ. 0 )
THEN
111 CALL sntbbe ( ilfxyn, ltline, mxmtbb,
112 . nmtbb, imfxyn, cmscl, cmsref, cmbw,
113 . cmunit, cmmnem, cmdsc, cmelem )
114 CALL getntbe ( lunltb, ilfxyn, ltline, ierl )
119 900
WRITE(bort_str,
'("BUFRLIB: RDMTBB - STANDARD AND LOCAL'//
120 .
' TABLE B FILES BOTH CONTAIN SAME FXY NUMBER: ",5A)')
121 . cmatch(1:1),
'-', cmatch(2:3),
'-', cmatch(4:6)
subroutine bort(STR)
Log one error message and abort application program.
subroutine getntbe(LUNT, IFXYN, LINE, IRET)
This subroutine reads the first line of the next entry from the specified ASCII master table B,...
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) con...
subroutine rdmtbb(LUNSTB, LUNLTB, MXMTBB, IMT, IMTV, IOGCE, ILTV, NMTBB, IMFXYN, CMSCL, CMSREF, CMBW, CMUNIT, CMMNEM, CMDSC, CMELEM)
This subroutine reads master Table B information from two separate ASCII files (one standard and one ...
subroutine sntbbe(IFXYN, LINE, MXMTBB, NMTBB, IMFXYN, CMSCL, CMSREF, CMBW, CMUNIT, CMMNEM, CMDSC, CMELEM)
This subroutine stores an entry that was previously read from an ASCII master Table B file into a set...
subroutine wrdlen
Determine important information about the local machine.