37 SUBROUTINE upftbv(LUNIT,NEMO,VAL,MXIB,IBIT,NIB)
46 CHARACTER*128 BORT_STR
54 CALL status(lunit,lun,il,im)
57 CALL nemtab(lun,nemo,idn,tab,n)
59 IF(
tabb(n,lun)(71:74).NE.
'FLAG')
GOTO 902
68 IF(abs(r8val-r82i).LT.(0.005))
THEN
70 IF(nib.GT.mxib)
GOTO 903
73 ELSEIF(r82i.LT.r8val)
THEN
75 IF(nib.GT.mxib)
GOTO 903
82900
CALL bort(
'BUFRLIB: UPFTBV - INPUT BUFR FILE IS CLOSED, IT '//
83 .
'MUST BE OPEN FOR INPUT')
84901
WRITE(bort_str,
'("BUFRLIB: UPFTBV - MNEMONIC ",A,'//
85 .
'" NOT FOUND IN TABLE B")') nemo
87902
WRITE(bort_str,
'("BUFRLIB: UPFTBV - MNEMONIC ",A,'//
88 .
'" IS NOT A FLAG TABLE")') nemo
90903
CALL bort(
'BUFRLIB: UPFTBV - IBIT ARRAY OVERFLOW')
subroutine bort(STR)
This subroutine calls subroutine errwrt() to log an error message, then calls subroutine bort_exit() ...
This module contains array and variable declarations used to store DX BUFR tables internally for mult...
character *128, dimension(:,:), allocatable tabb
Table B entries for each internal I/O stream.
subroutine nemtab(LUN, NEMO, IDN, TAB, IRET)
This subroutine returns information about a descriptor from the internal DX BUFR tables,...
subroutine status(LUNIT, LUN, IL, IM)
This subroutine checks whether a specified Fortran logical unit number is currently connected to the ...
subroutine upftbv(LUNIT, NEMO, VAL, MXIB, IBIT, NIB)
Given a Table B mnemonic with flag table units and a corresponding numerical data value,...
function valx(STR)
This function decodes a real number from a character string.