41 CALL x84(lunin,my_lunin,1)
52 CALL status(lunit,lun,il,im)
53 IF(lunit.NE.lunin)
msglim(lun) = 0
57 IF(
nsub(lun).GT.0)
THEN
61 ELSE IF(
nsub(lun).LT.0)
THEN
65 CALL wtstat(lunit,lun,il,0)
71 900
CALL bort(
'BUFRLIB: CLOSMG - OUTPUT BUFR FILE IS CLOSED, IT '//
72 .
'MUST BE OPEN FOR OUTPUT')
73 901
CALL bort(
'BUFRLIB: CLOSMG - OUTPUT BUFR FILE IS OPEN FOR '//
74 .
'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...
subroutine msgwrt(LUNIT, MESG, MGBYT)
Perform final checks and updates on a BUFR message before writing it to a specified Fortran logical u...
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.
integer, dimension(:), allocatable mbyt
Length (in bytes) of current BUFR message for each internal I/O stream.
This module contains declarations for arrays used to store information about the current BUFR message...
integer, dimension(:), allocatable nmsg
Current message pointer within logical unit.
integer, dimension(:), allocatable nsub
Current subset pointer within message.
This module contains a declaration for an array used to keep track of which logical units should not ...
integer, dimension(:), allocatable msglim
Tracking index for each I/O stream index.
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 status(LUNIT, LUN, IL, IM)
Check whether a specified Fortran logical unit number is currently connected to the NCEPLIBS-bufr sof...
subroutine wrcmps(LUNIX)
This subroutine packs up the current subset within memory (array ibay in module moda_bitbuf),...
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.