40 RECURSIVE SUBROUTINE ufbcnt(LUNIT,KMSG,KSUB)
54 CALL x84(lunit,my_lunit,1)
55 CALL ufbcnt(my_lunit,kmsg,ksub)
66 CALL status(lunit,lun,il,im)
75 900
CALL bort(
'BUFRLIB: UFBCNT - BUFR FILE IS CLOSED, IT MUST BE '//
76 .
'OPEN FOR EITHER INPUT OR OUTPUT')
subroutine bort(STR)
Log one error message and abort application program.
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 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...
recursive subroutine ufbcnt(LUNIT, KMSG, KSUB)
Get the current message number and data subset number within a BUFR file.
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.