21 RECURSIVE SUBROUTINE ipkm(CBAY,NBYT,N)
25 COMMON /hrdwrd/ nbytw,nbitw,iord(8)
27 CHARACTER*128 bort_str
40 CALL x84(nbyt,my_nbyt,1)
41 CALL ipkm(cbay,my_nbyt,my_n)
47 IF(nbyt.GT.nbytw)
GOTO 900
53 int =
irev(ishft(n,(nbytw-nbyt)*8))
62 900
WRITE(bort_str,
'("BUFRLIB: IPKM - NUMBER OF BYTES BEING PACKED '//
63 .
', NBYT (",I4,"), IS > THE INTEGER WORD LENGTH ON THIS '//
64 .
'MACHINE, NBYTW (",I3,")")') nbyt,nbytw
subroutine bort(STR)
Log one error message and abort application program.
recursive subroutine ipkm(CBAY, NBYT, N)
Encode an integer value within a character string.
function irev(N)
This function will, when the local machine is "little-endian" (i.e., when it uses a right to left sch...
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 x84(IIN8, IOUT4, NVAL)
Encode one or more 8-byte integer values as 4-byte integer values.