visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java
public boolean init(RandomAccessFile raf, boolean fullCheck) throws IOException {
    setByteOrder();
    rf = raf;
    fileSize = rf.length();
    raf.seek(0);

    return init(fullCheck);
  }
public boolean init(RandomAccessFile raf, boolean fullCheck) throws IOException {
    setByteOrder();
    rf = raf;
    fileSize = rf.length();
    raf.seek(0);

    return init(fullCheck);
  }
Initialize the file, read in all the metadata (ala DM_OPEN)

@param raf       RandomAccessFile to read.
@param fullCheck if true, check entire structure
@throws IOException problem reading file