41 CALL x84(lunit,my_lunit,1)
48 IF ( .NOT.
ALLOCATED(
null) )
THEN
49 CALL errwrt(
'++++++++++++++++++++WARNING++++++++++++++++++++++')
50 errstr =
'BUFRLIB: CLOSBF WAS CALLED WITHOUT HAVING ' //
51 .
'PREVIOUSLY CALLED OPENBF'
53 CALL errwrt(
'++++++++++++++++++++WARNING++++++++++++++++++++++')
57 CALL status(lunit,lun,il,im)
58 IF(il.GT.0 .AND. im.NE.0)
CALL closmg(lunit)
65 IF(
null(lun).EQ.0)
CLOSE(lunit)
recursive subroutine closbf(LUNIT)
Close the connection between logical unit LUNIT and the NCEPLIBS-bufr software.
recursive subroutine closmg(LUNIN)
This subroutine closes the BUFR message that is currently open for writing within internal arrays ass...
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
Wrap C NCEPLIBS-bufr functions so they can be called from within the Fortran part of the library.
This module contains an array declaration used to store a switch for each internal I/O stream index,...
integer, dimension(:), allocatable null
Output switch for each internal 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 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.