44 SUBROUTINE getgir(LUGB,MSK1,MSK2,MNUM,MBUF,CBUF,NLEN,NNUM,IRET)
50 CALL skgb(lugb,iseek,msk1,lskip,lgrib)
51 IF(lgrib.GT.0.AND.mindex.LE.mbuf)
THEN
52 CALL ixgb(lugb,lskip,lgrib,mindex,1,nlen,cbuf)
59 CALL skgb(lugb,iseek,msk2,lskip,lgrib)
66 dowhile(iret.EQ.0.AND.lgrib.GT.0)
67 IF(nlen*(nnum+1).LE.mbuf)
THEN
69 CALL ixgb(lugb,lskip,lgrib,nlen,nnum,mlen,cbuf)
71 CALL skgb(lugb,iseek,msk2,lskip,lgrib)
subroutine getgir(lugb, msk1, msk2, mnum, mbuf, cbuf, nlen, nnum, iret)
Read a grib file and return its index contents.
subroutine ixgb(lugb, lskip, lgrib, nlen, nnum, mlen, cbuf)
Byte 001-004: Bytes to skip in data file before grib message.
subroutine skgb(lugb, iseek, mseek, lskip, lgrib)
This subprogram searches a file for the next grib 1 message.