73 CALL
status(lunin,lin,il,im)
78 CALL
status(lunot,lot,il,im)
86 subset = tag(inode(lin))
88 CALL
nemtba(lot,subset,mtyp,msbt,inod)
89 IF(inode(lin).NE.inod)
THEN
90 IF(
iok2cpy(lin,lot).NE.1) goto 906
96 mbym =
iupbs01(mbay(1,lin),
'LENM')
97 CALL
msgwrt(lunot,mbay(1,lin),mbym)
102 nmsg(lot) = nmsg(lot) + 1
103 nsub(lot) = msub(lin)
104 msub(lot) = msub(lin)
105 idate(lot) = idate(lin)
112 900 CALL
bort(
'BUFRLIB: COPYMG - INPUT BUFR FILE IS CLOSED, IT MUST'//
113 .
' BE OPEN FOR INPUT')
114 901 CALL
bort(
'BUFRLIB: COPYMG - INPUT BUFR FILE IS OPEN FOR '//
115 .
'OUTPUT, IT MUST BE OPEN FOR INPUT')
116 902 CALL
bort(
'BUFRLIB: COPYMG - A MESSAGE MUST BE OPEN IN INPUT '//
117 .
'BUFR FILE, NONE ARE')
118 903 CALL
bort(
'BUFRLIB: COPYMG - OUTPUT BUFR FILE IS CLOSED, IT '//
119 .
'MUST BE OPEN FOR OUTPUT')
120 904 CALL
bort(
'BUFRLIB: COPYMG - OUTPUT BUFR FILE IS OPEN FOR '//
121 .
'INPUT, IT MUST BE OPEN FOR OUTPUT')
122 905 CALL
bort(
'BUFRLIB: COPYMG - ALL MESSAGES MUST BE CLOSED IN '//
123 .
'OUTPUT BUFR FILE, A MESSAGE IS OPEN')
124 906 CALL
bort(
'BUFRLIB: COPYMG - INPUT AND OUTPUT BUFR FILES MUST '//
125 .
'HAVE THE SAME INTERNAL TABLES, THEY ARE 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 copymg(LUNIN, LUNOT)
This subroutine copies a BUFR message from one Fortran logical unit to another.
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...