cdm/src/main/java/ucar/nc2/NetcdfFile.java
public Array read(String variableSection, boolean flatten) throws IOException, InvalidRangeException {
    if (!flatten)
      throw new UnsupportedOperationException("NetdfFile.read(String variableSection, boolean flatten=false)");
    return readSection(variableSection);
  }
public Array read(String variableSection, boolean flatten) throws IOException, InvalidRangeException {
    if (!flatten)
      throw new UnsupportedOperationException("NetdfFile.read(String variableSection, boolean flatten=false)");
    return readSection(variableSection);
  }
public Array read ( String variableSection , boolean flatten ) throws IOException , InvalidRangeException { if ( ! flatten ) throw new UnsupportedOperationException ( "NetdfFile.read(String variableSection, boolean flatten=false)" ) ; return readSection ( variableSection ) ; }
Read a variable using the given section specification.

@param variableSection the constraint expression.
@param flatten         MUST BE TRUE
@return Array data read.
@throws IOException           if error
@throws InvalidRangeException if variableSection is invalid
@see <a href="http://www.unidata.ucar.edu/software/netcdf-java/reference/SectionSpecification.html">SectionSpecification</a>
@deprecated use readSection(), flatten=false no longer supported
Read a variable using the given section specification .