grib/src/main/java/ucar/nc2/grib/grib1/Grib1Record.java
public static float[] readData(RandomAccessFile raf, long startPos) throws IOException {
    raf.seek(startPos);
    Grib1Record gr = new Grib1Record(raf);
    return gr.readData(raf);
  }
public static float[] readData(RandomAccessFile raf, long startPos) throws IOException {
    raf.seek(startPos);
    Grib1Record gr = new Grib1Record(raf);
    return gr.readData(raf);
  }
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.

@param raf      from this RandomAccessFile
@param startPos message starts here
@return data as float[] array
@throws IOException on read error
Read data array by first reading in GribRecord . All sections are read in so scanMode is from the datafile not the index .