33 RECURSIVE SUBROUTINE datebf(LUNIT,MEAR,MMON,MDAY,MOUR,IDATE)
51 CALL x84(lunit,my_lunit,1)
52 CALL datebf(my_lunit,mear,mmon,mday,mour,idate)
57 CALL x48(idate,idate,1)
66 IF ( .NOT.
ALLOCATED(
mgwa) )
THEN
67 CALL openbf(lunit,
'FIRST',lunit)
75 CALL status(lunit,lun,jl,jm)
77 CALL openbf(lunit,
'INX',lunit)
88 100
IF(iprt.GE.1 .AND. idate.EQ.-1)
THEN
89 CALL errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
90 errstr =
'BUFRLIB: DATEBF - SECTION 1 DATE COULD NOT BE '//
91 .
'LOCATED - RETURN WITH IDATE = -1'
93 CALL errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
103 . (
'BUFRLIB: DATEBF - 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 datebf(LUNIT, MEAR, MMON, MDAY, MOUR, IDATE)
This subroutine reads and returns the Section 1 date-time from the first data message of a BUFR 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.
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 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.