visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java
public void DM_RFLT(int word, int num, float[] rarray, int start)
          throws IOException {

    for (int i = 0; i < num; i++) {
      if (start + i > rarray.length) {
        throw new IOException(
                "DM_RFLT: start+num exceeds rarray length");
      }
      rarray[start + i] = DM_RFLT(word + i);
    }

  }
public void DM_RFLT(int word, int num, float[] rarray, int start)
          throws IOException {

    for (int i = 0; i < num; i++) {
      if (start + i > rarray.length) {
        throw new IOException(
                "DM_RFLT: start+num exceeds rarray length");
      }
      rarray[start + i] = DM_RFLT(word + i);
    }

  }
public void DM_RFLT ( int word , int num , float [ ] rarray , int start ) throws IOException { for ( int i = 0 ; i < num ; i ++ ) { if ( start + i > rarray . length ) { throw new IOException ( "DM_RFLT: start+num exceeds rarray length" ) ; } rarray [ start + i ] = DM_RFLT ( word + i ) ; } }
Read into an array of ints.

@param word   word in file (1 based) to read
@param num    number of words to read
@param rarray array to read into
@param start  starting word in the array (0 based)
@throws IOException problem reading file
Read into an array of ints .