|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.nc2.Variable
ucar.nc2.Structure
ucar.nc2.dataset.StructureDS
ucar.nc2.dataset.SequenceDS
public class SequenceDS
Enhance sequence
| Field Summary |
|---|
| Fields inherited from class ucar.nc2.Variable |
|---|
defaultCoordsSizeToCache, defaultSizeToCache |
| Constructor Summary | |
|---|---|
SequenceDS(Group g,
Sequence orgSeq)
|
|
| Method Summary | |
|---|---|
StructureDataIterator |
getStructureIterator(int bufferSize)
Get an efficient iterator over all the data in the Structure. |
Array |
read()
Read all the data for this Variable and return a memory resident Array. |
Array |
read(Section section)
Read a section of the data for this Variable from the netcdf file and return a memory resident Array. |
| Methods inherited from class ucar.nc2.dataset.StructureDS |
|---|
addCoordinateSystem, clearCoordinateSystems, enhance, getCoordinateSystems, getDescription, getOriginalDataType, getOriginalName, getOriginalVariable, getUnitsString, reallyRead, reallyRead, removeCoordinateSystem, select, setName, setOriginalVariable, setUnitsString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public SequenceDS(Group g,
Sequence orgSeq)
| Method Detail |
|---|
public StructureDataIterator getStructureIterator(int bufferSize)
throws java.io.IOException
StructureExample:
StructureDataIterator ii = structVariable.getStructureIterator(100 * 1000);
while (ii.hasNext()) {
StructureData sdata = ii.next();
}
getStructureIterator in class StructurebufferSize - size in bytes to buffer, set < 0 to use default size
java.io.IOException - on read error
public Array read(Section section)
throws java.io.IOException,
InvalidRangeException
Variable
read in interface VariableIFread in class Variablesection - list of Range specifying the section of data to read.
Must be null or same rank as variable.
If list is null, assume all data.
Each Range corresponds to a Dimension. If the Range object is null, it means use the entire dimension.
java.io.IOException - if error
InvalidRangeException - if section is invalid
public Array read()
throws java.io.IOException
Variable
read in interface VariableIFread in class Variablejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||