69 CALL
status(lunin,lin,il,im)
74 CALL
status(lunot,lot,il,im)
82 subset = tag(inode(lin))
84 CALL
nemtba(lot,subset,mtyp,msbt,inod)
85 IF(inode(lin).NE.inod)
THEN
86 IF(
iok2cpy(lin,lot).NE.1) goto 906
92 mbym =
iupbs01(mbay(1,lin),
'LENM')
93 CALL
msgwrt(lunot,mbay(1,lin),mbym)
98 nmsg(lot) = nmsg(lot) + 1
100 msub(lot) = msub(lin)
101 idate(lot) = idate(lin)
108 900 CALL
bort(
'BUFRLIB: COPYMG - INPUT BUFR FILE IS CLOSED, IT MUST'//
109 .
' BE OPEN FOR INPUT')
110 901 CALL
bort(
'BUFRLIB: COPYMG - INPUT BUFR FILE IS OPEN FOR '//
111 .
'OUTPUT, IT MUST BE OPEN FOR INPUT')
112 902 CALL
bort(
'BUFRLIB: COPYMG - A MESSAGE MUST BE OPEN IN INPUT '//
113 .
'BUFR FILE, NONE ARE')
114 903 CALL
bort(
'BUFRLIB: COPYMG - OUTPUT BUFR FILE IS CLOSED, IT '//
115 .
'MUST BE OPEN FOR OUTPUT')
116 904 CALL
bort(
'BUFRLIB: COPYMG - OUTPUT BUFR FILE IS OPEN FOR '//
117 .
'INPUT, IT MUST BE OPEN FOR OUTPUT')
118 905 CALL
bort(
'BUFRLIB: COPYMG - ALL MESSAGES MUST BE CLOSED IN '//
119 .
'OUTPUT BUFR FILE, A MESSAGE IS OPEN')
120 906 CALL
bort(
'BUFRLIB: COPYMG - INPUT AND OUTPUT BUFR FILES MUST '//
121 .
'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 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...