Package ucar.nc2.dt.point
Class SequenceHelper
- java.lang.Object
-
- ucar.nc2.dt.point.SequenceHelper
-
public class SequenceHelper extends Object
Helper class for dods sequence datasets.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SequenceHelper.SeqPointObs
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description SequenceHelper(NetcdfDataset ncfile, boolean isProfile, StructureDS sequenceOuter, StructureDS sequenceInner, Variable latVar, Variable lonVar, Variable altVar, Variable timeVar, List typedDataVariables, StringBuffer errBuffer)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List
getData(CancelTask cancel)
List
getData(LatLonRect boundingBox, Date start, Date end, CancelTask cancel)
List
getData(LatLonRect boundingBox, CancelTask cancel)
DataIterator
getDataIterator(int bufferSize)
DateUnit
getTimeUnit()
void
setTimeUnit(DateUnit timeUnit)
-
-
-
Field Detail
-
ncfile
protected NetcdfFile ncfile
-
dodsFile
protected DODSNetcdfFile dodsFile
-
sequenceOuter
protected StructureDS sequenceOuter
-
sequenceInner
protected StructureDS sequenceInner
-
latVar
protected Variable latVar
-
lonVar
protected Variable lonVar
-
altVar
protected Variable altVar
-
timeVar
protected Variable timeVar
-
isProfile
protected boolean isProfile
-
timeUnit
protected DateUnit timeUnit
-
formatter
protected DateFormatter formatter
-
-
Constructor Detail
-
SequenceHelper
public SequenceHelper(NetcdfDataset ncfile, boolean isProfile, StructureDS sequenceOuter, StructureDS sequenceInner, Variable latVar, Variable lonVar, Variable altVar, Variable timeVar, List typedDataVariables, StringBuffer errBuffer)
Constructor.- Parameters:
ncfile
- the netccdf filetypedDataVariables
- list of data variables; all record variables will be added to this list, except . You can remove extra- Throws:
IllegalArgumentException
- if ncfile has no unlimited dimension and recDimName is null.
-
-
Method Detail
-
setTimeUnit
public void setTimeUnit(DateUnit timeUnit)
-
getTimeUnit
public DateUnit getTimeUnit()
-
getData
public List getData(CancelTask cancel) throws IOException
- Throws:
IOException
-
getData
public List getData(LatLonRect boundingBox, CancelTask cancel) throws IOException
- Throws:
IOException
-
getData
public List getData(LatLonRect boundingBox, Date start, Date end, CancelTask cancel) throws IOException
- Throws:
IOException
-
getDataIterator
public DataIterator getDataIterator(int bufferSize) throws IOException
- Throws:
IOException
-
-