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 classSequenceHelper.SeqPointObs
-
Field Summary
Fields Modifier and Type Field Description protected ucar.nc2.VariablealtVarprotected ucar.nc2.dods.DODSNetcdfFiledodsFileprotected ucar.nc2.units.DateFormatterformatterprotected booleanisProfileprotected ucar.nc2.VariablelatVarprotected ucar.nc2.VariablelonVarprotected ucar.nc2.NetcdfFilencfileprotected ucar.nc2.dataset.StructureDSsequenceInnerprotected ucar.nc2.dataset.StructureDSsequenceOuterprotected ucar.nc2.units.DateUnittimeUnitprotected ucar.nc2.VariabletimeVar
-
Constructor Summary
Constructors Constructor Description SequenceHelper(ucar.nc2.dataset.NetcdfDataset ncfile, boolean isProfile, ucar.nc2.dataset.StructureDS sequenceOuter, ucar.nc2.dataset.StructureDS sequenceInner, ucar.nc2.Variable latVar, ucar.nc2.Variable lonVar, ucar.nc2.Variable altVar, ucar.nc2.Variable timeVar, List typedDataVariables, StringBuffer errBuffer)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListgetData(ucar.nc2.util.CancelTask cancel)ListgetData(ucar.unidata.geoloc.LatLonRect boundingBox, Date start, Date end, ucar.nc2.util.CancelTask cancel)ListgetData(ucar.unidata.geoloc.LatLonRect boundingBox, ucar.nc2.util.CancelTask cancel)DataIteratorgetDataIterator(int bufferSize)ucar.nc2.units.DateUnitgetTimeUnit()voidsetTimeUnit(ucar.nc2.units.DateUnit timeUnit)
-
-
-
Field Detail
-
ncfile
protected ucar.nc2.NetcdfFile ncfile
-
dodsFile
protected ucar.nc2.dods.DODSNetcdfFile dodsFile
-
sequenceOuter
protected ucar.nc2.dataset.StructureDS sequenceOuter
-
sequenceInner
protected ucar.nc2.dataset.StructureDS sequenceInner
-
latVar
protected ucar.nc2.Variable latVar
-
lonVar
protected ucar.nc2.Variable lonVar
-
altVar
protected ucar.nc2.Variable altVar
-
timeVar
protected ucar.nc2.Variable timeVar
-
isProfile
protected boolean isProfile
-
timeUnit
protected ucar.nc2.units.DateUnit timeUnit
-
formatter
protected ucar.nc2.units.DateFormatter formatter
-
-
Constructor Detail
-
SequenceHelper
public SequenceHelper(ucar.nc2.dataset.NetcdfDataset ncfile, boolean isProfile, ucar.nc2.dataset.StructureDS sequenceOuter, ucar.nc2.dataset.StructureDS sequenceInner, ucar.nc2.Variable latVar, ucar.nc2.Variable lonVar, ucar.nc2.Variable altVar, ucar.nc2.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(ucar.nc2.units.DateUnit timeUnit)
-
getTimeUnit
public ucar.nc2.units.DateUnit getTimeUnit()
-
getData
public List getData(ucar.nc2.util.CancelTask cancel) throws IOException
- Throws:
IOException
-
getData
public List getData(ucar.unidata.geoloc.LatLonRect boundingBox, ucar.nc2.util.CancelTask cancel) throws IOException
- Throws:
IOException
-
getData
public List getData(ucar.unidata.geoloc.LatLonRect boundingBox, Date start, Date end, ucar.nc2.util.CancelTask cancel) throws IOException
- Throws:
IOException
-
getDataIterator
public DataIterator getDataIterator(int bufferSize) throws IOException
- Throws:
IOException
-
-