32 SUBROUTINE getgb1r(LUGB,LSKIP,LGRIB,KF,KPDS,KGDS,KENS,LB,F,NBITSS
34 INTEGER KPDS(200),KGDS(200),KENS(200)
38 CHARACTER GRIB(LGRIB)*1
41 CALL baread(lugb,lskip,lgrib,lread,grib)
44 IF(lread.EQ.lgrib)
THEN
45 CALL w3fi63(grib,kpds,kgds,lb,f,kptr,iret)
46 IF(iret.EQ.0.AND.kpds(23).EQ.2)
THEN
47 CALL pdseup(kens,kprob,xprob,kclust,kmembr,45,grib(9))
subroutine getgb1r(lugb, lskip, lgrib, kf, kpds, kgds, kens, lb, f, nbitss, iret)
Program history log:
subroutine pdseup(kens, kprob, xprob, kclust, kmembr, ilast, msga)
Unpacks grib pds extension starting on byte 41 for ensemble forecast products.
subroutine w3fi63(msga, kpds, kgds, kbms, data, kptr, kret)
Unpack a GRIB (edition 1) field to the exact grid specified in the GRIB message, isolate the bit map,...