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 Summary
Modifier and TypeMethodDescriptionreallyRead(Variable client, Section section, CancelTask cancelTask) Read a section of the data for a Variable.reallyRead(Variable client, CancelTask cancelTask) Read all the data for a Variable.
-
Method Details
-
reallyRead
Read all the data for a Variable.- Parameters:
client- the client VariablecancelTask- 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 Variablesection- 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 errorInvalidRangeException- if section has incorrect rank or illegal shape.
-