public static float [ ] readData ( RandomAccessFile raf , long startPos ) throws IOException { raf . seek ( startPos ) ; Grib1Record gr = new Grib1Record ( raf ) ; return gr . readData ( raf ) ; }
Read data array by first reading in GribRecord . All sections are read in so scanMode is from the datafile not the index .