Package ucar.nc2
Interface ProxyReader
-
- All Known Implementing Classes:
AggProxyReader
,Aggregation.DatasetProxyReader
,AggregationExisting
,AggregationFmrc
,AggregationNew
,AggregationNew
,AggregationOuterDimension
,AggregationTiled
,CoordinateAxis
,CoordinateAxis1D
,CoordinateAxis1DTime
,CoordinateAxis2D
,DODSGrid
,DODSStructure
,DODSVariable
,Sequence
,SequenceDS
,Structure
,StructureDS
,StructurePseudo
,StructurePseudo2Dim
,StructurePseudoDS
,Variable
,VariableDS
public interface ProxyReader
Something that knows how to read the data for a Variable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Array
reallyRead(Variable client, Section section, CancelTask cancelTask)
Read a section of the data for a Variable.Array
reallyRead(Variable client, CancelTask cancelTask)
Read all the data for a Variable.
-
-
-
Method Detail
-
reallyRead
Array reallyRead(Variable client, CancelTask cancelTask) throws IOException
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.
-
-