cdm/src/main/java/ucar/nc2/Variable.java
public Array read(List<Range> ranges) throws IOException, InvalidRangeException {
    if (null == ranges)
      return _read();

    return read(new Section(ranges));
  }
public Array read(List<Range> ranges) throws IOException, InvalidRangeException {
    if (null == ranges)
      return _read();

    return read(new Section(ranges));
  }
public Array read ( List < Range > ranges ) throws IOException , InvalidRangeException { if ( null == ranges ) return _read ( ) ; return read ( new Section ( ranges ) ) ; }
Read a section of the data for this Variable from the netcdf file and return a memory resident Array.

@param ranges list of Range specifying the section of data to read.
@return the requested data in a memory-resident Array
@throws IOException           if error
@throws InvalidRangeException if ranges is invalid
@see #read(Section)
Read a section of the data for this Variable from the netcdf file and return a memory resident Array .