public class UnidataTrajectoryObsDataset2 extends TypedDatasetImpl implements TrajectoryObsDataset, TypedDatasetFactoryIF
Modifier and Type | Field and Description |
---|---|
protected TrajectoryObsDataset |
backingTraj
Deprecated.
|
protected Variable |
elevVar
Deprecated.
|
protected java.lang.String |
elevVarName
Deprecated.
|
protected boolean |
isMultiTrajStructure
Deprecated.
|
protected boolean |
isTimeDimensionFirst
Deprecated.
|
protected Variable |
latVar
Deprecated.
|
protected java.lang.String |
latVarName
Deprecated.
|
protected Variable |
lonVar
Deprecated.
|
protected java.lang.String |
lonVarName
Deprecated.
|
protected Structure |
recordVar
Deprecated.
|
protected Dimension |
timeDim
Deprecated.
|
protected java.lang.String |
timeDimName
Deprecated.
|
protected Variable |
timeVar
Deprecated.
|
protected java.lang.String |
timeVarName
Deprecated.
|
protected Dimension |
trajDim
Deprecated.
|
protected java.lang.String |
trajDimName
Deprecated.
|
protected Variable |
trajVar
Deprecated.
|
protected java.lang.String |
trajVarName
Deprecated.
|
boundingBox, dataVariables, desc, endDate, location, netcdfDataset, parseInfo, startDate, title
Constructor and Description |
---|
UnidataTrajectoryObsDataset2()
Deprecated.
|
UnidataTrajectoryObsDataset2(NetcdfDataset ncd)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
Close all resources associated with this dataset.
|
Attribute |
findGlobalAttributeIgnoreCase(java.lang.String name)
Deprecated.
|
LatLonRect |
getBoundingBox()
Deprecated.
|
VariableSimpleIF |
getDataVariable(java.lang.String shortName)
Deprecated.
Get the named data Variable.
|
java.util.List<VariableSimpleIF> |
getDataVariables()
Deprecated.
The data Variables available in this dataset.
|
java.lang.String |
getDescription()
Deprecated.
|
java.lang.String |
getDetailInfo()
Deprecated.
|
java.util.Date |
getEndDate()
Deprecated.
|
java.util.List<Attribute> |
getGlobalAttributes()
Deprecated.
List of global attributes.
|
java.lang.String |
getLocation()
Deprecated.
|
NetcdfFile |
getNetcdfFile()
Deprecated.
|
FeatureType |
getScientificDataType()
Deprecated.
What kind of cientific data type will this return?
|
java.util.Date |
getStartDate()
Deprecated.
|
java.lang.String |
getTitle()
Deprecated.
|
java.util.List |
getTrajectories()
Deprecated.
Get trajectories contained in this dataset.
|
TrajectoryObsDatatype |
getTrajectory(java.lang.String trajectoryId)
Deprecated.
Get the named trajectory
|
java.util.List<java.lang.String> |
getTrajectoryIds()
Deprecated.
Get a list of String IDs for the available trajectories.
|
boolean |
isMine(NetcdfDataset ds)
Deprecated.
Determine if this dataset belongs to you
|
static boolean |
isValidFile(NetcdfFile ds)
Deprecated.
|
TypedDataset |
open(NetcdfDataset ncd,
CancelTask task,
java.lang.StringBuilder errlog)
Deprecated.
Open a NetcdfDataset as a TypedDataset.
|
protected void |
setBoundingBox()
Deprecated.
|
protected void |
setEndDate()
Deprecated.
|
protected void |
setStartDate()
Deprecated.
|
boolean |
syncExtend()
Deprecated.
Syncronize with the underlying dataset if it has been extended in a way
that is compatible with the existing structural metadata (for instance,
if the unlimited dimension has grown).
|
getLocationURI, removeDataVariable, setDescription, setLocationURI, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocationURI
protected Variable trajVar
protected Dimension trajDim
protected Variable timeVar
protected Dimension timeDim
protected Structure recordVar
protected Variable latVar
protected Variable lonVar
protected Variable elevVar
protected java.lang.String trajDimName
protected java.lang.String trajVarName
protected java.lang.String timeDimName
protected java.lang.String timeVarName
protected java.lang.String latVarName
protected java.lang.String lonVarName
protected java.lang.String elevVarName
protected boolean isMultiTrajStructure
protected boolean isTimeDimensionFirst
protected TrajectoryObsDataset backingTraj
public UnidataTrajectoryObsDataset2()
public UnidataTrajectoryObsDataset2(NetcdfDataset ncd) throws java.io.IOException
java.io.IOException
public static boolean isValidFile(NetcdfFile ds)
public boolean isMine(NetcdfDataset ds)
TypedDatasetFactoryIF
isMine
in interface TypedDatasetFactoryIF
ds
- examine this NetcdfDataset to see if it belongs to this class.public TypedDataset open(NetcdfDataset ncd, CancelTask task, java.lang.StringBuilder errlog) throws java.io.IOException
TypedDatasetFactoryIF
open
in interface TypedDatasetFactoryIF
ncd
- already opened NetcdfDataset.task
- use may cancelerrlog
- place errors herejava.io.IOException
- on errorpublic FeatureType getScientificDataType()
TypedDatasetFactoryIF
getScientificDataType
in interface TypedDatasetFactoryIF
public java.lang.String getDetailInfo()
getDetailInfo
in interface TypedDataset
getDetailInfo
in class TypedDatasetImpl
public java.lang.String getTitle()
getTitle
in interface TypedDataset
getTitle
in class TypedDatasetImpl
public java.lang.String getDescription()
getDescription
in interface TypedDataset
getDescription
in class TypedDatasetImpl
public java.lang.String getLocation()
getLocation
in class TypedDatasetImpl
protected void setStartDate()
setStartDate
in class TypedDatasetImpl
public java.util.Date getStartDate()
getStartDate
in interface TypedDataset
getStartDate
in class TypedDatasetImpl
protected void setEndDate()
setEndDate
in class TypedDatasetImpl
public java.util.Date getEndDate()
getEndDate
in interface TypedDataset
getEndDate
in class TypedDatasetImpl
protected void setBoundingBox()
setBoundingBox
in class TypedDatasetImpl
public LatLonRect getBoundingBox()
getBoundingBox
in interface TypedDataset
getBoundingBox
in class TypedDatasetImpl
public java.util.List<Attribute> getGlobalAttributes()
TypedDataset
getGlobalAttributes
in interface TypedDataset
getGlobalAttributes
in class TypedDatasetImpl
public Attribute findGlobalAttributeIgnoreCase(java.lang.String name)
findGlobalAttributeIgnoreCase
in interface TypedDataset
findGlobalAttributeIgnoreCase
in class TypedDatasetImpl
name
- attribute namepublic java.util.List<VariableSimpleIF> getDataVariables()
TypedDataset
getDataVariables
in interface TypedDataset
getDataVariables
in class TypedDatasetImpl
public VariableSimpleIF getDataVariable(java.lang.String shortName)
TypedDataset
getDataVariable
in interface TypedDataset
getDataVariable
in class TypedDatasetImpl
shortName
- of data Variable.public NetcdfFile getNetcdfFile()
getNetcdfFile
in interface TypedDataset
getNetcdfFile
in class TypedDatasetImpl
public void close() throws java.io.IOException
TypedDataset
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface TypedDataset
close
in class TypedDatasetImpl
java.io.IOException
- on I/O errorpublic java.util.List<java.lang.String> getTrajectoryIds()
TrajectoryObsDataset
getTrajectoryIds
in interface TrajectoryObsDataset
public java.util.List getTrajectories()
TrajectoryObsDataset
getTrajectories
in interface TrajectoryObsDataset
public TrajectoryObsDatatype getTrajectory(java.lang.String trajectoryId)
TrajectoryObsDataset
getTrajectory
in interface TrajectoryObsDataset
trajectoryId
- id of trajectorypublic boolean syncExtend()
TrajectoryObsDataset
syncExtend
in interface TrajectoryObsDataset