70 CALL
status(munit,lin,il,im)
75 CALL
status(lunot,lot,il,im)
83 subset = tag(inode(lin))
85 CALL
nemtba(lot,subset,mtyp,msbt,inod)
86 IF(inode(lin).NE.inod)
THEN
87 IF(
iok2cpy(lin,lot).NE.1) goto 906
93 mbym =
iupbs01(mbay(1,lin),
'LENM')
94 CALL
msgwrt(lunot,mbay(1,lin),mbym)
99 nmsg(lot) = nmsg(lot) + 1
100 nsub(lot) = msub(lin)
101 msub(lot) = msub(lin)
102 idate(lot) = idate(lin)
109 900 CALL
bort(
'BUFRLIB: CPYMEM - LOGICAL UNIT NO. ASSOC. WITH INPUT'//
110 .
' BUFR MESSAGES IN INTERNAL MEMORY IS CLOSED, IT MUST BE OPEN '//
112 901 CALL
bort(
'BUFRLIB: CPYMEM - LOGICAL UNIT NO. ASSOC. WITH INPUT'//
113 .
' BUFR MESSAGES IN INTERNAL MEMORY OPEN FOR OUTPUT, MUST BE '//
115 902 CALL
bort(
'BUFRLIB: CPYMEM - A MESSAGE MUST BE OPEN IN INPUT '//
116 .
'BUFR MESSAGES IN INTERNAL MEMORY, NONE ARE')
117 903 CALL
bort(
'BUFRLIB: CPYMEM - OUTPUT BUFR FILE IS CLOSED, IT '//
118 .
'MUST BE OPEN FOR OUTPUT')
119 904 CALL
bort(
'BUFRLIB: CPYMEM - OUTPUT BUFR FILE IS OPEN FOR '//
120 .
'INPUT, IT MUST BE OPEN FOR OUTPUT')
121 905 CALL
bort(
'BUFRLIB: CPYMEM - ALL MESSAGES MUST BE CLOSED IN '//
122 .
'OUTPUT BUFR FILE, A MESSAGE IS OPEN')
123 906 CALL
bort(
'BUFRLIB: CPYMEM - INPUT BUFR MESSAGES IN INTERNAL '//
124 .
'MEMORY AND OUTPUT BUFR FILE MUST HAVE SAME INTERNAL TABLES '//
125 .
'(DIFFERENT HERE)')
subroutine msgwrt(LUNIT, MESG, MGBYT)
This subroutine performs final checks and updates on a BUFR message before writing it to a specified ...
subroutine cpymem(LUNOT)
This subroutine copies a BUFR message from internal arrays in memory to a specified Fortran logical u...
This module contains array and variable declarations used to store the contents of one or more BUFR f...
This module contains array and variable declarations used to store the internal jump/link table...
subroutine status(LUNIT, LUN, IL, IM)
This subroutine checks whether a specified Fortran logical unit number is currently connected to the ...
INTEGER function iok2cpy(LUI, LUO)
This function determines whether a BUFR message, or a data subset from within a BUFR message...
subroutine bort(STR)
This subroutine calls subroutine errwrt() to log an error message, then calls subroutine bort_exit() ...
This module contains array and variable declarations used to store BUFR messages internally for multi...
subroutine nemtba(LUN, NEMO, MTYP, MSBT, INOD)
This subroutine searches for a descriptor within Table A of the internal DX BUFR tables.
function iupbs01(MBAY, S01MNEM)
This function returns a specified value from within Section 0 or Section 1 of a BUFR message...