175 & MBUF,CBUF,NLEN,NNUM,MNUM,
176 & KG,KF,K,KPDS,KGDS,KENS,IRET)
177 INTEGER JPDS(200),JGDS(200),JENS(200)
178 INTEGER KPDS(200),KGDS(200),KENS(200)
180 parameter(msk1=32000,msk2=4000)
191 IF(jr.GE.0.AND.(jr.LT.nnum.OR.irgi.EQ.0))
THEN
192 CALL getgb1s(cbuf,nlen,nnum,jr,jpds,jgds,jens,
193 & kr,kpds,kgds,kens,lskip,lgrib,irgs)
194 IF(irgs.EQ.0) k=kr+mnum
195 IF(irgi.EQ.1.AND.irgs.EQ.0) mnum=-1-mnum
196 IF(irgi.EQ.1.AND.irgs.GT.0) mnum=mnum+nnum
210 dowhile(irgi.EQ.1.AND.irgs.EQ.1)
212 CALL getgi(lugi,mnum,mbuf,cbuf,nlen,nnum,irgi)
214 CALL getgir(lugb,msk1,msk2,mnum,mbuf,cbuf,nlen,nnum,irgi)
217 CALL getgb1s(cbuf,nlen,nnum,jr,jpds,jgds,jens,
218 & kr,kpds,kgds,kens,lskip,lgrib,irgs)
219 IF(irgs.EQ.0) k=kr+mnum
220 IF(irgi.EQ.1.AND.irgs.EQ.0) mnum=-1-mnum
221 IF(irgi.EQ.1.AND.irgs.GT.0) mnum=mnum+nnum
228 ELSEIF(irgs.NE.0)
THEN
subroutine getgb1s(cbuf, nlen, nnum, j, jpds, jgds, jens, k, kpds, kgds, kens, lskip, lgrib, iret)
Find a grib message.
subroutine getgbemh(lugb, lugi, j, jpds, jgds, jens, mbuf, cbuf, nlen, nnum, mnum, kg, kf, k, kpds, kgds, kens, iret)
Read a grib index file (or optionally the grib file itself) to get the index buffer (i....
subroutine getgi(lugi, mnum, mbuf, cbuf, nlen, nnum, iret)
Read a grib index file and return its contents.
subroutine getgir(lugb, msk1, msk2, mnum, mbuf, cbuf, nlen, nnum, iret)
Read a grib file and return its index contents.