58 CALL x84(lunot,my_lunot,1)
73 CALL status(lunot,lot,il,im)
83 CALL nemtba(lot,subset,mtyp,msbt,inod)
84 IF(
inode(lin).NE.inod)
THEN
85 IF(
iok2cpy(lin,lot).NE.1)
GOTO 906
107 900
CALL bort(
'BUFRLIB: CPYMEM - LOGICAL UNIT NO. ASSOC. WITH INPUT'//
108 .
' BUFR MESSAGES IN INTERNAL MEMORY IS CLOSED, IT MUST BE OPEN '//
110 901
CALL bort(
'BUFRLIB: CPYMEM - LOGICAL UNIT NO. ASSOC. WITH INPUT'//
111 .
' BUFR MESSAGES IN INTERNAL MEMORY OPEN FOR OUTPUT, MUST BE '//
113 902
CALL bort(
'BUFRLIB: CPYMEM - A MESSAGE MUST BE OPEN IN INPUT '//
114 .
'BUFR MESSAGES IN INTERNAL MEMORY, NONE ARE')
115 903
CALL bort(
'BUFRLIB: CPYMEM - OUTPUT BUFR FILE IS CLOSED, IT '//
116 .
'MUST BE OPEN FOR OUTPUT')
117 904
CALL bort(
'BUFRLIB: CPYMEM - OUTPUT BUFR FILE IS OPEN FOR '//
118 .
'INPUT, IT MUST BE OPEN FOR OUTPUT')
119 905
CALL bort(
'BUFRLIB: CPYMEM - ALL MESSAGES MUST BE CLOSED IN '//
120 .
'OUTPUT BUFR FILE, A MESSAGE IS OPEN')
121 906
CALL bort(
'BUFRLIB: CPYMEM - INPUT BUFR MESSAGES IN INTERNAL '//
122 .
'MEMORY AND OUTPUT BUFR FILE MUST HAVE SAME INTERNAL TABLES '//
123 .
'(DIFFERENT HERE)')
subroutine bort(STR)
Log one error message and abort application program.
recursive subroutine cpymem(LUNOT)
Copy a BUFR message from internal arrays to a file.
integer function iok2cpy(LUI, LUO)
This function determines whether a BUFR message, or a data subset from within a BUFR message,...
recursive function iupbs01(MBAY, S01MNEM)
Read a data value from Section 0 or Section 1 of a BUFR message.
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.
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.
integer, dimension(:), allocatable nmsg
Current message pointer within logical unit.
integer, dimension(:), allocatable msub
Total number of data subsets in message.
integer, dimension(:), allocatable nsub
Current subset pointer within message.
This module contains array and variable declarations used to store the contents of one or more BUFR f...
integer munit
Fortran logical unit number for use in accessing contents of BUFR files within internal memory.
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 ...
subroutine nemtba(LUN, NEMO, MTYP, MSBT, INOD)
This subroutine searches for a descriptor within Table A of the internal DX BUFR tables.
recursive subroutine status(LUNIT, LUN, IL, IM)
Check whether a specified Fortran logical unit number is currently connected to the NCEPLIBS-bufr sof...
subroutine x84(IIN8, IOUT4, NVAL)
Encode one or more 8-byte integer values as 4-byte integer values.