99 SUBROUTINE readmg(LUNXX,SUBSET,JDATE,IRET)
119 CALL
status(lunit,lun,il,im)
122 CALL
wtstat(lunit,lun,il,1)
127 1 CALL
rdmsgw(lunit,mbay(1,lun),ier)
128 IF(ier.EQ.-1) goto 200
133 IF(isc3(lun).NE.0) CALL
reads3(lun)
134 CALL
cktaba(lun,subset,jdate,iret)
139 IF(
idxmsg(mbay(1,lun)).NE.1)
RETURN
144 IF(isc3(lun).NE.0)
RETURN
155 CALL
errwrt(
'++++++++++++++BUFR ARCHIVE LIBRARY+++++++++++++++++')
156 errstr =
'BUFRLIB: READMG - INTERNAL DICTIONARY MESSAGE READ;'//
157 .
' ACCOUNT FOR IT THEN READ IN NEXT MESSAGE WITHOUT RETURNING'
159 CALL
errwrt(
'++++++++++++++BUFR ARCHIVE LIBRARY+++++++++++++++++')
170 200 CALL
wtstat(lunit,lun,il,0)
181 900 CALL
bort(
'BUFRLIB: READMG - INPUT BUFR FILE IS CLOSED, IT MUST'//
182 .
' BE OPEN FOR INPUT')
183 901 CALL
bort(
'BUFRLIB: READMG - INPUT BUFR FILE IS OPEN FOR OUTPUT'//
184 .
', 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 THE GIVEN BUFR MESSAGE IS A DX DICTIONARY MESSAGE THAT WAS CREATED B...
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...