29 RECURSIVE SUBROUTINE atrcpt(MSGIN,LMSGOT,MSGOT)
33 dimension msgin(*), msgot(*)
35 COMMON /hrdwrd/ nbytw,nbitw,iord(8)
36 COMMON /tnkrcp/ itryr,itrmo,itrdy,itrhr,itrmi,ctrt
48 CALL x84 ( lmsgot, my_lmsgot, 1 )
49 CALL atrcpt ( msgin, my_lmsgot*2, msgot )
57 CALL getlens(msgin,1,len0,len1,l2,l3,l4,l5)
68 IF(lenmot.GT.(lmsgot*nbytw))
GOTO 900
74 CALL mvb ( msgin, 1, msgot, 1, 4 )
76 CALL pkb ( lenmot, 24, msgot, ibit )
77 CALL mvb ( msgin, 8, msgot, 8, 1 )
82 CALL pkb ( len1ot, 24, msgot, ibit )
87 CALL mvb ( msgin, iad1+4, msgot, (ibit/8)+1, len1-3 )
92 CALL pkb ( itryr, 16, msgot, ibit )
93 CALL pkb ( itrmo, 8, msgot, ibit )
94 CALL pkb ( itrdy, 8, msgot, ibit )
95 CALL pkb ( itrhr, 8, msgot, ibit )
96 CALL pkb ( itrmi, 8, msgot, ibit )
101 CALL mvb ( msgin, iad2+1, msgot, (ibit/8)+1, lenm-iad2 )
104 900
CALL bort(
'BUFRLIB: ATRCPT - OVERFLOW OF OUTPUT MESSAGE '//
105 .
'ARRAY; TRY A LARGER DIMENSION FOR THIS ARRAY')
recursive subroutine atrcpt(MSGIN, LMSGOT, MSGOT)
This subroutine reads an input message and outputs an equivalent BUFR message with a tank receipt tim...
subroutine bort(STR)
Log one error message and abort application program.
recursive subroutine getlens(MBAY, LL, LEN0, LEN1, LEN2, LEN3, LEN4, LEN5)
This subroutine reads the lengths of all of the individual sections of a given BUFR message,...
recursive function iupbs01(MBAY, S01MNEM)
Read a data value from Section 0 or Section 1 of a BUFR message.
subroutine mvb(IB1, NB1, IB2, NB2, NBM)
This subroutine copies a specified number of bytes from one packed binary array to another.
This module declares and initializes the IM8B variable.
logical, public im8b
Status indicator to keep track of whether all future calls to BUFRLIB subroutines and functions from ...
subroutine pkb(NVAL, NBITS, IBAY, IBIT)
This subroutine encodes an integer value within a specified number of bits of an integer array,...
subroutine x84(IIN8, IOUT4, NVAL)
Encode one or more 8-byte integer values as 4-byte integer values.