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.