27 subroutine pkb8(nval,nbits,ibay,ibit)
29 common /hrdwrd/ nbytw,nbitw,iord(8)
32 integer(4) :: nbits,ibit,ibay(*)
36 integer(4) :: nvals(2)
38 equivalence(nval8,nvals)
43 if(nbits<0 )
call bort(
'bufrlib: pkb8 - nbits < zero !!!!!')
44 if(nbits>64)
call bort(
'bufrlib: pkb8 - nbits > 64 !!!!!')
48 call pkb(nval4,max(nbits-nbitw,0),ibay,ibit)
50 call pkb(nval4,min(nbits,nbitw ),ibay,ibit)
subroutine bort(STR)
Log one error message and abort application program.
subroutine pkb8(nval, nbits, ibay, ibit)
This subroutine encodes an 8-byte integer value within a specified number of bits of an integer array...
subroutine pkb(NVAL, NBITS, IBAY, IBIT)
This subroutine encodes an integer value within a specified number of bits of an integer array,...