public class SequenceHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
SequenceHelper.SeqPointObs |
Modifier and Type | Field and Description |
---|---|
protected Variable |
altVar |
protected DODSNetcdfFile |
dodsFile |
protected DateFormatter |
formatter |
protected boolean |
isProfile |
protected Variable |
latVar |
protected Variable |
lonVar |
protected NetcdfFile |
ncfile |
protected StructureDS |
sequenceInner |
protected StructureDS |
sequenceOuter |
protected DateUnit |
timeUnit |
protected Variable |
timeVar |
Constructor and Description |
---|
SequenceHelper(NetcdfDataset ncfile,
boolean isProfile,
StructureDS sequenceOuter,
StructureDS sequenceInner,
Variable latVar,
Variable lonVar,
Variable altVar,
Variable timeVar,
java.util.List typedDataVariables,
java.lang.StringBuffer errBuffer)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getData(CancelTask cancel) |
java.util.List |
getData(LatLonRect boundingBox,
CancelTask cancel) |
java.util.List |
getData(LatLonRect boundingBox,
java.util.Date start,
java.util.Date end,
CancelTask cancel) |
DataIterator |
getDataIterator(int bufferSize) |
DateUnit |
getTimeUnit() |
void |
setTimeUnit(DateUnit timeUnit) |
protected NetcdfFile ncfile
protected DODSNetcdfFile dodsFile
protected StructureDS sequenceOuter
protected StructureDS sequenceInner
protected Variable latVar
protected Variable lonVar
protected Variable altVar
protected Variable timeVar
protected boolean isProfile
protected DateUnit timeUnit
protected DateFormatter formatter
public SequenceHelper(NetcdfDataset ncfile, boolean isProfile, StructureDS sequenceOuter, StructureDS sequenceInner, Variable latVar, Variable lonVar, Variable altVar, Variable timeVar, java.util.List typedDataVariables, java.lang.StringBuffer errBuffer)
ncfile
- the netccdf filetypedDataVariables
- list of data variables; all record variables will be added to this list, except . You
can remove extrajava.lang.IllegalArgumentException
- if ncfile has no unlimited dimension and recDimName is null.public void setTimeUnit(DateUnit timeUnit)
public DateUnit getTimeUnit()
public java.util.List getData(CancelTask cancel) throws java.io.IOException
java.io.IOException
public java.util.List getData(LatLonRect boundingBox, CancelTask cancel) throws java.io.IOException
java.io.IOException
public java.util.List getData(LatLonRect boundingBox, java.util.Date start, java.util.Date end, CancelTask cancel) throws java.io.IOException
java.io.IOException
public DataIterator getDataIterator(int bufferSize) throws java.io.IOException
java.io.IOException