31 RECURSIVE SUBROUTINE ufbmms(IMSG,ISUB,SUBSET,JDATE)
38 CHARACTER*128 bort_str
50 CALL x84(imsg,my_imsg,1)
51 CALL x84(isub,my_isub,1)
52 CALL ufbmms(my_imsg,my_isub,subset,jdate)
53 CALL x48(jdate,jdate,1)
62 CALL rdmemm(imsg,subset,jdate,iret)
63 IF(iret.LT.0)
GOTO 900
65 IF(iret.NE.0)
GOTO 901
71 900
IF(imsg.GT.0)
THEN
72 WRITE(bort_str,
'("BUFRLIB: UFBMMS - REQUESTED MEMORY MESSAGE '//
73 .
'NUMBER TO READ IN (",I5,") EXCEEDS THE NUMBER OF MESSAGES IN '//
74 .
'MEMORY (",I5,")")') imsg,
msgp(0)
76 WRITE(bort_str,
'("BUFRLIB: UFBMMS - REQUESTED MEMORY MESSAGE '//
77 .
'NUMBER TO READ IN IS ZERO - THIS IS NOT VALID")')
81 WRITE(bort_str,
'("BUFRLIB: UFBMMS - REQ. SUBSET NUMBER TO READ '//
82 .
'IN (",I3,") EXCEEDS THE NUMBER OF SUBSETS (",I3,") IN THE '//
83 .
'REG. MEMORY MESSAGE (",I5,")")') isub,
msub(lun),imsg
subroutine bort(STR)
Log one error message and abort application program.
This module contains declarations for arrays used to store information about the current BUFR message...
integer, dimension(:), allocatable msub
Total number of data subsets in message.
This module contains array and variable declarations used to store the contents of one or more BUFR f...
integer, dimension(:), allocatable msgp
Pointers to the beginning of each message within msgs (up to a maximum of MAXMSG, and where array ele...
integer munit
Fortran logical unit number for use in accessing contents of BUFR files within internal memory.
This module declares and initializes the IM8B variable.
logical, public im8b
Status indicator to keep track of whether all future calls to BUFRLIB subroutines and functions from ...
recursive subroutine rdmemm(IMSG, SUBSET, JDATE, IRET)
This subroutine reads a specified BUFR message from internal arrays in memory, so that it is now in s...
recursive subroutine rdmems(ISUB, IRET)
This subroutine reads a specified data subset from the BUFR message that was most recently read via a...
recursive subroutine status(LUNIT, LUN, IL, IM)
Check whether a specified Fortran logical unit number is currently connected to the NCEPLIBS-bufr sof...
recursive subroutine ufbmms(IMSG, ISUB, SUBSET, JDATE)
Read a specified data subset from internal arrays.
subroutine x48(IIN4, IOUT8, NVAL)
Encode one or more 4-byte integer values as 8-byte integer values.
subroutine x84(IIN8, IOUT4, NVAL)
Encode one or more 8-byte integer values as 4-byte integer values.