44 RECURSIVE SUBROUTINE dumpbf(LUNIT,JDATE,JDUMP)
51 dimension jdate(*),jdump(*)
64 CALL x84(lunit,my_lunit,1)
65 CALL dumpbf(my_lunit,jdate,jdump)
66 CALL x48(jdate,jdate,5)
67 CALL x48(jdump,jdump,5)
87 CALL status(lunit,lun,jl,jm)
89 call openbf(lunit,
'INX',lunit)
104 igd =
igetdate(
mgwa,jdate(1),jdate(2),jdate(3),jdate(4))
112 IF(ier.LT.0)
GOTO 200
116 igd =
igetdate(
mgwa,jdump(1),jdump(2),jdump(3),jdump(4))
122 200
IF(iprt.GE.1 .AND. (jdate(1).EQ.-1.OR.jdump(1).EQ.-1))
THEN
123 CALL errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
124 IF(jdate(1).EQ.-1)
THEN
125 errstr =
'BUFRLIB: DUMPBF - FIRST EMPTY BUFR MESSAGE '//
126 .
'SECTION 1 DATE COULD NOT BE LOCATED - RETURN WITH '//
130 IF(jdump(1).EQ.-1)
THEN
131 errstr =
'BUFRLIB: DUMPBF - SECOND EMPTY BUFR MESSAGE '//
132 .
'SECTION 1 DATE COULD NOT BE LOCATED - RETURN WITH '//
136 CALL errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
145 . (
'BUFRLIB: DUMPBF - INPUT BUFR FILE IS OPEN, IT MUST BE CLOSED')
subroutine bort(STR)
Log one error message and abort application program.
recursive subroutine closbf(LUNIT)
Close the connection between logical unit LUNIT and the NCEPLIBS-bufr software.
recursive subroutine dumpbf(LUNIT, JDATE, JDUMP)
Read the Section 1 date-time from the first two "dummy" messages of an NCEP dump file.
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
recursive function idxmsg(MESG)
Check whether a BUFR message contains DX BUFR tables information.
recursive function igetdate(MBAY, IYR, IMO, IDY, IHR)
This function returns the date-time from within Section 1 of a BUFR message.
recursive function iupbs01(MBAY, S01MNEM)
Read a data value from Section 0 or Section 1 of a BUFR message.
recursive function iupbs3(MBAY, S3MNEM)
This function returns a specified value from within Section 3 of a BUFR message.
This module contains a declaration for an array used by various subroutines and functions to hold a t...
integer, dimension(:), allocatable mgwa
Temporary working copy of BUFR message.
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 openbf(LUNIT, IO, LUNDX)
Connects a new file to the NCEPLIBS-bufr software for input or output operations, or initializes the ...
subroutine rdmsgw(lunit, mesg, iret)
Read the next BUFR message from logical unit lunit as an array of integer words.
recursive subroutine status(LUNIT, LUN, IL, IM)
Check whether a specified Fortran logical unit number is currently connected to the NCEPLIBS-bufr sof...
subroutine wrdlen
Determine important information about the local machine.
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.