41 RECURSIVE SUBROUTINE openmb(LUNIT,SUBSET,JDATE)
58 CALL x84(lunit,my_lunit,1)
59 CALL x84(jdate,my_jdate,1)
60 CALL openmb(my_lunit,subset,my_jdate)
69 CALL status(lunit,lun,il,im)
77 CALL nemtba(lun,subset,mtyp,mstb,inod)
85 CALL wtstat(lunit,lun,il, 1)
102 900
CALL bort(
'BUFRLIB: OPENMB - OUTPUT BUFR FILE IS CLOSED, IT '//
103 .
'MUST BE OPEN FOR OUTPUT')
104 901
CALL bort(
'BUFRLIB: OPENMB - OUTPUT BUFR FILE IS OPEN FOR '//
105 .
'INPUT, IT MUST BE OPEN FOR OUTPUT')
subroutine bort(STR)
Log one error message and abort application program.
recursive subroutine closmg(LUNIN)
This subroutine closes the BUFR message that is currently open for writing within internal arrays ass...
recursive function i4dy(IDATE)
This function converts a date-time with a 2-digit year (YYMMDDHH) to a date-time with a 4-digit year ...
subroutine msgini(LUN)
This subroutine initializes, within the internal arrays, a new uncompressed BUFR message for output.
This module contains declarations for arrays used to store information about the current BUFR message...
integer, dimension(:), allocatable inode
Table A mnemonic for type of BUFR message.
integer, dimension(:), allocatable idate
Section 1 date-time of 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 ...
subroutine nemtba(LUN, NEMO, MTYP, MSBT, INOD)
This subroutine searches for a descriptor within Table A of the internal DX BUFR tables.
recursive subroutine openmb(LUNIT, SUBSET, JDATE)
Open a new message for output in a BUFR file that was previously opened for writing.
recursive subroutine status(LUNIT, LUN, IL, IM)
Check whether a specified Fortran logical unit number is currently connected to the NCEPLIBS-bufr sof...
subroutine usrtpl(LUN, INVN, NBMP)
Store the subset template into internal arrays.
subroutine wtstat(LUNIT, LUN, IL, IM)
Update file status in library internals.
subroutine x84(IIN8, IOUT4, NVAL)
Encode one or more 8-byte integer values as 4-byte integer values.