visad/src/main/java/ucar/nc2/iosp/gempak/GempakSurfaceIOSP.java
public Array readData(Variable v2, Section section)
          throws IOException, InvalidRangeException {
    if (gemreader == null) {
      return null;
    }
    //System.out.println("looking for " + v2);
    //System.out.println("Section = " + section);
    //Trace.call1("GEMPAKSIOSP: readData");
    Array array = null;
    if (gemreader.getFileSubType().equals(GempakSurfaceFileReader.SHIP)) {
      array = readShipData(v2, section);
    } else if (gemreader.getFileSubType().equals(
            GempakSurfaceFileReader.STANDARD)) {
      array = readStandardData(v2, section);
    } else {  // climate data
      //array = readClimateData(v2, section);
    }
    //  long took = System.currentTimeMillis() - start;
    //  System.out.println("  read data took=" + took + " msec ");
    //Trace.call2("GEMPAKSIOSP: readData");
    return array;
  }
public Array readData(Variable v2, Section section)
          throws IOException, InvalidRangeException {
    if (gemreader == null) {
      return null;
    }
    //System.out.println("looking for " + v2);
    //System.out.println("Section = " + section);
    //Trace.call1("GEMPAKSIOSP: readData");
    Array array = null;
    if (gemreader.getFileSubType().equals(GempakSurfaceFileReader.SHIP)) {
      array = readShipData(v2, section);
    } else if (gemreader.getFileSubType().equals(
            GempakSurfaceFileReader.STANDARD)) {
      array = readStandardData(v2, section);
    } else {  // climate data
      //array = readClimateData(v2, section);
    }
    //  long took = System.currentTimeMillis() - start;
    //  System.out.println("  read data took=" + took + " msec ");
    //Trace.call2("GEMPAKSIOSP: readData");
    return array;
  }
Read the data for the variable

@param v2      Variable to read
@param section section infomation
@return Array of data
@throws IOException           problem reading from file
@throws InvalidRangeException invalid Range