73 SUBROUTINE readmg(LUNXX,SUBSET,JDATE,IRET)
93 CALL
status(lunit,lun,il,im)
96 CALL
wtstat(lunit,lun,il,1)
101 1 CALL
rdmsgw(lunit,mbay(1,lun),ier)
102 IF(ier.EQ.-1) goto 200
107 IF(isc3(lun).NE.0) CALL
reads3(lun)
108 CALL
cktaba(lun,subset,jdate,iret)
113 IF(
idxmsg(mbay(1,lun)).NE.1)
RETURN
118 IF(isc3(lun).NE.0)
RETURN
129 CALL
errwrt(
'++++++++++++++BUFR ARCHIVE LIBRARY+++++++++++++++++')
130 errstr =
'BUFRLIB: READMG - INTERNAL DICTIONARY MESSAGE READ;'//
131 .
' ACCOUNT FOR IT THEN READ IN NEXT MESSAGE WITHOUT RETURNING'
133 CALL
errwrt(
'++++++++++++++BUFR ARCHIVE LIBRARY+++++++++++++++++')
144 200 CALL
wtstat(lunit,lun,il,0)
155 900 CALL
bort(
'BUFRLIB: READMG - INPUT BUFR FILE IS CLOSED, IT MUST'//
156 .
' BE OPEN FOR INPUT')
157 901 CALL
bort(
'BUFRLIB: READMG - INPUT BUFR FILE IS OPEN FOR OUTPUT'//
158 .
', IT MUST BE OPEN FOR INPUT')
subroutine cktaba(LUN, SUBSET, JDATE, IRET)
THIS SUBROUTINE PARSES THE TABLE A MNEMONIC AND THE DATE OUT OF SECTION 1 OF A BUFR MESSAGE PREVIOUSL...
void backbufr(f77int *nfile)
This subroutine backspaces a BUFR file by one BUFR message.
subroutine reads3(LUN)
THIS SUBROUTINE READS THE SECTION 3 DESCRIPTORS FROM THE BUFR MESSAGE IN MBAY(1,LUN).
subroutine rdmsgw(LUNIT, MESG, IRET)
THIS SUBROUTINE READS THE NEXT BUFR MESSAGE FROM LOGICAL UNIT LUNIT AS AN ARRAY OF INTEGER WORDS...
function idxmsg(MESG)
This function determines whether a given BUFR message contains DX BUFR tables information that was ge...
subroutine wtstat(LUNIT, LUN, IL, IM)
This subroutine can be used to connect or disconnect a specified Fortran logical unit number to/from ...
subroutine status(LUNIT, LUN, IL, IM)
This subroutine checks whether a specified Fortran logical unit number is currently connected to the ...
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
subroutine rdbfdx(LUNIT, LUN)
BEGINNING AT THE CURRENT FILE POINTER LOCATION WITHIN LUNIT, THIS SUBROUTINE READS A COMPLETE DICTION...
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 BUFR messages internally for multi...
subroutine readmg(LUNXX, SUBSET, JDATE, IRET)
This subroutine reads the next BUFR message from logical unit ABS(LUNXX) into internal arrays...