Package ucar.nc2

Interface ProxyReader

All Known Implementing Classes:
CoordinateAxis, CoordinateAxis1D, CoordinateAxis1DTime, CoordinateAxis2D, Sequence, SequenceDS, Structure, StructureDS, StructurePseudo2Dim, StructurePseudoDS, Variable, VariableDS

public interface ProxyReader
Something that knows how to read the data for a Variable.
  • Method Details

    • reallyRead

      Array reallyRead(Variable client, CancelTask cancelTask) throws IOException
      Read all the data for a Variable.
      Parameters:
      client - the client Variable
      cancelTask - user may cancel
      Returns:
      memory resident Array containing the data. Will have same shape as the Variable.
      Throws:
      IOException - on error
    • reallyRead

      Array reallyRead(Variable client, Section section, CancelTask cancelTask) throws IOException, InvalidRangeException
      Read a section of the data for a Variable.
      Parameters:
      client - the client Variable
      section - the section of data to read.
      cancelTask - user may cancel
      Returns:
      memory resident Array containing the data. Will have same shape as the Section.
      Throws:
      IOException - on error
      InvalidRangeException - if section has incorrect rank or illegal shape.