49 SUBROUTINE getgi(LUGI,MNUM,MBUF,CBUF,NLEN,NNUM,IRET)
56 CALL baread(lugi,0,162,lhead,chead)
57 IF(lhead.EQ.162.AND.chead(42:47).EQ.
'GB1IX1')
THEN
58 READ(chead(82:162),
'(8X,3I10,2X,A40)',iostat=ios) nskp,nlen,nnum
70 CALL baread(lugi,nskp,nbuf,lbuf,cbuf)
71 IF(lbuf.NE.nbuf) iret=2
subroutine getgi(lugi, mnum, mbuf, cbuf, nlen, nnum, iret)
Read a grib index file and return its contents.