27 SUBROUTINE pdsens(KENS,KPROB,XPROB,KCLUST,KMEMBR,ILAST,MSGA)
28 INTEGER KENS(5),KPROB(2),KCLUST(16),KMEMBR(80)
40 CALL sbytec(msga, 0, i*8, 8)
43 CALL sbytec(msga, il, 0,24)
45 IF(il.GE.45)
CALL sbytesc(msga,kens,40*8,8,0,5)
48 CALL sbytesc(msga,kprob,45*8,8,0,2)
50 CALL w3fi76(xprob(1),iexp,imant,8*lw)
51 CALL sbytec(msga,iexp,47*8,8)
52 CALL sbytec(msga,imant,48*8,24)
53 CALL w3fi76(xprob(2),iexp,imant,8*lw)
54 CALL sbytec(msga,iexp,51*8,8)
55 CALL sbytec(msga,imant,52*8,24)
58 IF(il.GE.76)
CALL sbytesc(msga,kclust,60*8,8,0,16)
60 IF(il.GE.86)
CALL sbytesc(msga,kmembr,76*8,1,0,80)
subroutine pdsens(kens, kprob, xprob, kclust, kmembr, ilast, msga)
Packs brib pds extension starting on byte 41 for ensemble forecast products.
subroutine sbytec(out, in, iskip, nbyte)
This is a wrapper for sbytesc()
subroutine sbytesc(out, in, iskip, nbyte, nskip, n)
Store bytes - pack bits: Put arbitrary size values into a packed bit string, taking the low order bit...
subroutine w3fi01(lw)
Determines the number of bytes in a full word for the particular machine (IBM or cray).
subroutine w3fi76(pval, kexp, kmant, kbits)
Converts floating point number from machine representation to grib representation (ibm370 32 bit f....