74 CALL
status(munit,lin,il,im)
79 CALL
status(lunot,lot,il,im)
87 subset = tag(inode(lin))
89 CALL
nemtba(lot,subset,mtyp,msbt,inod)
90 IF(inode(lin).NE.inod)
THEN
91 IF(
iok2cpy(lin,lot).NE.1) goto 906
97 mbym =
iupbs01(mbay(1,lin),
'LENM')
98 CALL
msgwrt(lunot,mbay(1,lin),mbym)
103 nmsg(lot) = nmsg(lot) + 1
104 nsub(lot) = msub(lin)
105 msub(lot) = msub(lin)
106 idate(lot) = idate(lin)
113 900 CALL
bort(
'BUFRLIB: CPYMEM - LOGICAL UNIT NO. ASSOC. WITH INPUT'//
114 .
' BUFR MESSAGES IN INTERNAL MEMORY IS CLOSED, IT MUST BE OPEN '//
116 901 CALL
bort(
'BUFRLIB: CPYMEM - LOGICAL UNIT NO. ASSOC. WITH INPUT'//
117 .
' BUFR MESSAGES IN INTERNAL MEMORY OPEN FOR OUTPUT, MUST BE '//
119 902 CALL
bort(
'BUFRLIB: CPYMEM - A MESSAGE MUST BE OPEN IN INPUT '//
120 .
'BUFR MESSAGES IN INTERNAL MEMORY, NONE ARE')
121 903 CALL
bort(
'BUFRLIB: CPYMEM - OUTPUT BUFR FILE IS CLOSED, IT '//
122 .
'MUST BE OPEN FOR OUTPUT')
123 904 CALL
bort(
'BUFRLIB: CPYMEM - OUTPUT BUFR FILE IS OPEN FOR '//
124 .
'INPUT, IT MUST BE OPEN FOR OUTPUT')
125 905 CALL
bort(
'BUFRLIB: CPYMEM - ALL MESSAGES MUST BE CLOSED IN '//
126 .
'OUTPUT BUFR FILE, A MESSAGE IS OPEN')
127 906 CALL
bort(
'BUFRLIB: CPYMEM - INPUT BUFR MESSAGES IN INTERNAL '//
128 .
'MEMORY AND OUTPUT BUFR FILE MUST HAVE SAME INTERNAL TABLES '//
129 .
'(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 MNEMONIC NEMO WITHIN THE INTERNAL TABLE A ARRAYS HOLDING THE DICTIONARY ...
function iupbs01(MBAY, S01MNEM)
This function returns a specified value from within Section 0 or Section 1 of a BUFR message...