50 CHARACTER*128 bort_str1,bort_str2
53 CHARACTER*11 refr,refr_orig
55 CHARACTER*4 scal,scal_orig
56 CHARACTER*3 bitw,bitw_orig
82 CALL
nemtab(lun,nemo,idsn,tab,iele)
83 IF(tab.NE.
'B') goto 900
89 IF(iret.NE.0) goto 904
90 tabb(iele,lun)(71:94) = unit
93 CALL
jstnum(scal,sign,iret)
94 IF(iret.NE.0) goto 901
95 tabb(iele,lun)(95:95) = sign
96 tabb(iele,lun)(96:98) = scal
99 CALL
jstnum(refr,sign,iret)
100 IF(iret.NE.0) goto 902
101 tabb(iele,lun)( 99: 99) = sign
102 tabb(iele,lun)(100:109) = refr
105 CALL
jstnum(bitw,sign,iret)
106 IF(iret.NE.0 ) goto 903
107 IF(sign.EQ.
'-') goto 903
108 tabb(iele,lun)(110:112) = bitw
114 900
WRITE(bort_str1,
'("BUFRLIB: ELEMDX - CARD READ IN IS: ",A)') card
115 WRITE(bort_str2,
'(18X,"MNEMONIC ",A," IS NOT A TABLE B ENTRY '//
116 .
'(UNDEFINED, TAB=",A,")")') nemo,tab
117 CALL
bort2(bort_str1,bort_str2)
118 901
WRITE(bort_str1,
'("BUFRLIB: ELEMDX - CARD READ IN IS: ",A)') card
119 WRITE(bort_str2,
'(18X,"PARSED SCALE VALUE (=",A,") IS NOT '//
120 .
'NUMERIC")') scal_orig
121 CALL
bort2(bort_str1,bort_str2)
122 902
WRITE(bort_str1,
'("BUFRLIB: ELEMDX - CARD READ IN IS: ",A)') card
123 WRITE(bort_str2,
'(18X,"PARSED REFERENCE VALUE (=",A,") IS NOT '//
124 .
'NUMERIC")') refr_orig
125 CALL
bort2(bort_str1,bort_str2)
126 903
WRITE(bort_str1,
'("BUFRLIB: ELEMDX - CARD READ IN IS: ",A)') card
127 WRITE(bort_str2,
'(18X,"PARSED BIT WIDTH VALUE (=",A,") IS NOT '//
128 .
'NUMERIC")') bitw_orig
129 CALL
bort2(bort_str1,bort_str2)
130 904
WRITE(bort_str1,
'("BUFRLIB: ELEMDX - CARD READ IN IS: ",A)') card
131 WRITE(bort_str2,
'(18X,"UNITS FIELD IS EMPTY")')
132 CALL
bort2(bort_str1,bort_str2)
subroutine jstnum(STR, SIGN, IRET)
THIS SUBROUTINE REMOVES ALL LEADING BLANKS FROM A CHARACTER STRING CONTAINING AN ENCODED INTEGER VALU...
subroutine bort2(STR1, STR2)
This subroutine calls subroutine errwrt() to log two error messages, then calls subroutine bort_exit(...
This module contains array and variable declarations used to store DX BUFR tables internally for mult...
subroutine jstchr(STR, IRET)
THIS SUBROUTINE LEFT-JUSTIFIES (I.E.
subroutine nemtab(LUN, NEMO, IDN, TAB, IRET)
THIS SUBROUTINE SEARCHES FOR MNEMONIC NEMO WITHIN THE INTERNAL TABLE B AND D ARRAYS HOLDING THE DICTI...
subroutine elemdx(CARD, LUN)
THIS SUBROUTINE DECODES THE SCALE FACTOR, REFERENCE VALUE, BIT WIDTH AND UNITS (I.E., THE "ELEMENTS") FROM A TABLE B MNEMONIC DEFINITION CARD THAT WAS PREVIOUSLY READ FROM A USER-SUPPLIED BUFR DICTIONARY TABLE FILE IN CHARACTER FORMAT BY BUFR ARCHIVE LIBRARY SUBROUTINE RDUSDX.
subroutine capit(STR)
THIS SUBROUTINE CAPITALIZES A STRING OF CHARACTERS.