39 RECURSIVE SUBROUTINE readns(LUNIT,SUBSET,JDATE,IRET)
56 CALL x84(lunit,my_lunit,1)
57 CALL readns(my_lunit,subset,jdate,iret)
58 CALL x48(jdate,jdate,1)
68 CALL status(lunit,lun,il,im)
71 IF(
inode(lun).EQ.0)
THEN
83 CALL readmg(lunit,subset,jdate,iret)
91 900
CALL bort(
'BUFRLIB: READNS - INPUT BUFR FILE IS CLOSED, IT MUST'//
92 .
' BE OPEN FOR INPUT')
93 901
CALL bort(
'BUFRLIB: READNS - INPUT BUFR FILE IS OPEN FOR OUTPUT'//
94 .
', IT MUST BE OPEN FOR INPUT')
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 inode
Table A mnemonic for type of BUFR message.
integer, dimension(:), allocatable idate
Section 1 date-time of message.
This module contains array and variable declarations used to store the internal jump/link table.
character *10, dimension(:), allocatable tag
Mnemonics in the jump/link table.
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 readmg(LUNXX, SUBSET, JDATE, IRET)
Reads the next BUFR message from logical unit ABS(LUNXX) into internal arrays.
recursive subroutine readns(LUNIT, SUBSET, JDATE, IRET)
This subroutine provides a handy way to combine the functionality of subroutines readmg() and readsb(...
recursive subroutine readsb(LUNIT, IRET)
Read the next data subset from a BUFR message.
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.