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
98 nmsg(lot) = nmsg(lot) + 1
100 msub(lot) = msub(lin)
101 idate(lot) = idate(lin)
108900
CALL bort(
'BUFRLIB: COPYMG - INPUT BUFR FILE IS CLOSED, IT MUST'//
109 .
' BE OPEN FOR INPUT')
110901
CALL bort(
'BUFRLIB: COPYMG - INPUT BUFR FILE IS OPEN FOR '//
111 .
'OUTPUT, IT MUST BE OPEN FOR INPUT')
112902
CALL bort(
'BUFRLIB: COPYMG - A MESSAGE MUST BE OPEN IN INPUT '//
113 .
'BUFR FILE, NONE ARE')
114903
CALL bort(
'BUFRLIB: COPYMG - OUTPUT BUFR FILE IS CLOSED, IT '//
115 .
'MUST BE OPEN FOR OUTPUT')
116904
CALL bort(
'BUFRLIB: COPYMG - OUTPUT BUFR FILE IS OPEN FOR '//
117 .
'INPUT, IT MUST BE OPEN FOR OUTPUT')
118905
CALL bort(
'BUFRLIB: COPYMG - ALL MESSAGES MUST BE CLOSED IN '//
119 .
'OUTPUT BUFR FILE, A MESSAGE IS OPEN')
120906
CALL bort(
'BUFRLIB: COPYMG - INPUT AND OUTPUT BUFR FILES MUST '//
121 .
'HAVE THE SAME INTERNAL TABLES, THEY ARE DIFFERENT HERE')
subroutine bort(STR)
This subroutine calls subroutine errwrt() to log an error message, then calls subroutine bort_exit() ...
subroutine copymg(LUNIN, LUNOT)
This subroutine copies a BUFR message from one Fortran logical unit to another.
integer function iok2cpy(LUI, LUO)
This function determines whether a BUFR message, or a data subset from within a BUFR message,...
function iupbs01(MBAY, S01MNEM)
This function returns a specified value from within Section 0 or Section 1 of a BUFR message.
subroutine msgwrt(LUNIT, MESG, MGBYT)
This subroutine performs final checks and updates on a BUFR message before writing it to a specified ...
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 array and variable declarations used to store the internal jump/link table.
character *10, dimension(:), allocatable tag
Mnemonics in the jump/link table.
subroutine nemtba(LUN, NEMO, MTYP, MSBT, INOD)
This subroutine searches for a descriptor within Table A of the internal DX BUFR tables.
subroutine status(LUNIT, LUN, IL, IM)
This subroutine checks whether a specified Fortran logical unit number is currently connected to the ...