73 SUBROUTINE readmg(LUNXX,SUBSET,JDATE,IRET)
93 CALL status(lunit,lun,il,im)
96 CALL wtstat(lunit,lun,il,1)
102 IF(ier.EQ.-1)
GOTO 200
107 IF(isc3(lun).NE.0)
CALL reads3(lun)
108 CALL cktaba(lun,subset,jdate,iret)
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+++++++++++++++++')
144200
CALL wtstat(lunit,lun,il,0)
155900
CALL bort(
'BUFRLIB: READMG - INPUT BUFR FILE IS CLOSED, IT MUST'//
156 .
' BE OPEN FOR INPUT')
157901
CALL bort(
'BUFRLIB: READMG - INPUT BUFR FILE IS OPEN FOR OUTPUT'//
158 .
', IT MUST BE OPEN FOR INPUT')
subroutine bort(STR)
This subroutine calls subroutine errwrt() to log an error message, then calls subroutine bort_exit() ...
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 errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
function idxmsg(MESG)
This function determines whether a given BUFR message contains DX BUFR tables information that was ge...
This module contains array and variable declarations used to store BUFR messages internally for multi...
integer, dimension(:,:), allocatable mbay
Current BUFR message for each internal I/O stream.
subroutine rdbfdx(LUNIT, LUN)
BEGINNING AT THE CURRENT FILE POINTER LOCATION WITHIN LUNIT, THIS SUBROUTINE READS A COMPLETE DICTION...
subroutine rdmsgw(LUNIT, MESG, IRET)
THIS SUBROUTINE READS THE NEXT BUFR MESSAGE FROM LOGICAL UNIT LUNIT AS AN ARRAY OF INTEGER WORDS.
subroutine readmg(LUNXX, SUBSET, JDATE, IRET)
This subroutine reads the next BUFR message from logical unit ABS(LUNXX) into internal arrays.
subroutine reads3(LUN)
THIS SUBROUTINE READS THE SECTION 3 DESCRIPTORS FROM THE BUFR MESSAGE IN MBAY(1,LUN).
subroutine status(LUNIT, LUN, IL, IM)
This subroutine checks whether a specified Fortran logical unit number is currently connected to the ...
subroutine wtstat(LUNIT, LUN, IL, IM)
This subroutine can be used to connect or disconnect a specified Fortran logical unit number to/from ...