54 SUBROUTINE pktdd(ID,LUN,IDN,IRET)
59 COMMON /dxtab / maxdx,idxv,nxstr(10),ldxa(10),ldxb(10),ldxd(10),
79 CALL
ipkm(tabd(id,lun)(ldd:ldd),1,0)
87 nd =
iupm(tabd(id,lun)(ldd:ldd),8)
92 IF(nd.LT.0 .OR. nd.EQ.maxcd)
THEN
94 CALL
errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
96 WRITE ( unit=errstr, fmt=
'(A,I4,A)' )
97 .
'BUFRLIB: PKTDD - BAD COUNTER VALUE (=', nd,
98 .
') - RETURN WITH IRET = -1'
100 WRITE ( unit=errstr, fmt=
'(A,I4,A,A)' )
101 .
'BUFRLIB: PKTDD - MAXIMUM NUMBER OF CHILD MNEMONICS (=',
102 . maxcd,
') ALREADY STORED FOR THIS PARENT - RETURN WITH ',
106 CALL
errwrt(
'+++++++++++++++++++++WARNING+++++++++++++++++++++++')
113 CALL
ipkm(tabd(id,lun)(ldd:ldd),1,nd)
120 idm = ldd+1 + (nd-1)*2
126 CALL
ipkm(tabd(id,lun)(idm:idm),2,idn)
function iupm(CBAY, NBITS)
THIS FUNCTION UNPACKS AND RETURNS A BINARY INTEGER WORD CONTAINED WITHIN NBITS BITS OF A CHARACTER ST...
This module contains array and variable declarations used to store DX BUFR tables internally for mult...
subroutine ipkm(CBAY, NBYT, N)
This subroutine encodes an integer value within a specified number of bytes of a character string...
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
subroutine pktdd(ID, LUN, IDN, IRET)
THIS SUBROUTINE STORES INFORMATION ABOUT A "CHILD" MNEMONIC WITHIN THE INTERNAL BUFR TABLE D ENTRY (I...
This module declares and initializes the MAXCD variable.