public class UnidataTrajectoryObsDataset2 extends TypedDatasetImpl implements TrajectoryObsDataset, TypedDatasetFactoryIF
| Modifier and Type | Field and Description |
|---|---|
protected TrajectoryObsDataset |
backingTraj |
protected Variable |
elevVar |
protected String |
elevVarName |
protected boolean |
isMultiTrajStructure |
protected boolean |
isTimeDimensionFirst |
protected Variable |
latVar |
protected String |
latVarName |
protected Variable |
lonVar |
protected String |
lonVarName |
protected Structure |
recordVar |
protected Dimension |
timeDim |
protected String |
timeDimName |
protected Variable |
timeVar |
protected String |
timeVarName |
protected Dimension |
trajDim |
protected String |
trajDimName |
protected Variable |
trajVar |
protected String |
trajVarName |
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title| Constructor and Description |
|---|
UnidataTrajectoryObsDataset2() |
UnidataTrajectoryObsDataset2(NetcdfDataset ncd) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close all resources associated with this dataset.
|
Attribute |
findGlobalAttributeIgnoreCase(String name) |
LatLonRect |
getBoundingBox() |
VariableSimpleIF |
getDataVariable(String shortName)
Get the named data Variable.
|
List<VariableSimpleIF> |
getDataVariables()
The data Variables available in this dataset.
|
String |
getDescription() |
String |
getDetailInfo() |
Date |
getEndDate() |
List<Attribute> |
getGlobalAttributes()
List of global attributes.
|
String |
getLocation() |
NetcdfFile |
getNetcdfFile() |
FeatureType |
getScientificDataType()
What kind of cientific data type will this return?
|
Date |
getStartDate() |
String |
getTitle() |
List |
getTrajectories()
Get trajectories contained in this dataset.
|
TrajectoryObsDatatype |
getTrajectory(String trajectoryId)
Get the named trajectory
|
List<String> |
getTrajectoryIds()
Get a list of String IDs for the available trajectories.
|
boolean |
isMine(NetcdfDataset ds)
Determine if this dataset belongs to you
|
static boolean |
isValidFile(NetcdfFile ds) |
TypedDataset |
open(NetcdfDataset ncd,
CancelTask task,
StringBuilder errlog)
Open a NetcdfDataset as a TypedDataset.
|
protected void |
setBoundingBox() |
protected void |
setEndDate() |
protected void |
setStartDate() |
boolean |
syncExtend()
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, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocationURIprotected Variable trajVar
protected Dimension trajDim
protected Variable timeVar
protected Dimension timeDim
protected Structure recordVar
protected Variable latVar
protected Variable lonVar
protected Variable elevVar
protected String trajDimName
protected String trajVarName
protected String timeDimName
protected String timeVarName
protected String latVarName
protected String lonVarName
protected String elevVarName
protected boolean isMultiTrajStructure
protected boolean isTimeDimensionFirst
protected TrajectoryObsDataset backingTraj
public UnidataTrajectoryObsDataset2()
public UnidataTrajectoryObsDataset2(NetcdfDataset ncd) throws IOException
IOExceptionpublic static boolean isValidFile(NetcdfFile ds)
public boolean isMine(NetcdfDataset ds)
TypedDatasetFactoryIFisMine in interface TypedDatasetFactoryIFds - examine this NetcdfDataset to see if it belongs to this class.public TypedDataset open(NetcdfDataset ncd, CancelTask task, StringBuilder errlog) throws IOException
TypedDatasetFactoryIFopen in interface TypedDatasetFactoryIFncd - already opened NetcdfDataset.task - use may cancelerrlog - place errors hereIOException - on errorpublic FeatureType getScientificDataType()
TypedDatasetFactoryIFgetScientificDataType in interface TypedDatasetFactoryIFpublic String getDetailInfo()
getDetailInfo in interface TypedDatasetgetDetailInfo in class TypedDatasetImplpublic String getTitle()
getTitle in interface TypedDatasetgetTitle in class TypedDatasetImplpublic String getDescription()
getDescription in interface TypedDatasetgetDescription in class TypedDatasetImplpublic String getLocation()
getLocation in class TypedDatasetImplprotected void setStartDate()
setStartDate in class TypedDatasetImplpublic Date getStartDate()
getStartDate in interface TypedDatasetgetStartDate in class TypedDatasetImplprotected void setEndDate()
setEndDate in class TypedDatasetImplpublic Date getEndDate()
getEndDate in interface TypedDatasetgetEndDate in class TypedDatasetImplprotected void setBoundingBox()
setBoundingBox in class TypedDatasetImplpublic LatLonRect getBoundingBox()
getBoundingBox in interface TypedDatasetgetBoundingBox in class TypedDatasetImplpublic List<Attribute> getGlobalAttributes()
TypedDatasetgetGlobalAttributes in interface TypedDatasetgetGlobalAttributes in class TypedDatasetImplpublic Attribute findGlobalAttributeIgnoreCase(String name)
findGlobalAttributeIgnoreCase in interface TypedDatasetfindGlobalAttributeIgnoreCase in class TypedDatasetImplname - attribute namepublic List<VariableSimpleIF> getDataVariables()
TypedDatasetgetDataVariables in interface TypedDatasetgetDataVariables in class TypedDatasetImplpublic VariableSimpleIF getDataVariable(String shortName)
TypedDatasetgetDataVariable in interface TypedDatasetgetDataVariable in class TypedDatasetImplshortName - of data Variable.public NetcdfFile getNetcdfFile()
getNetcdfFile in interface TypedDatasetgetNetcdfFile in class TypedDatasetImplpublic void close()
throws IOException
TypedDatasetclose in interface TypedDatasetclose in class TypedDatasetImplIOException - on I/O errorpublic List<String> getTrajectoryIds()
TrajectoryObsDatasetgetTrajectoryIds in interface TrajectoryObsDatasetpublic List getTrajectories()
TrajectoryObsDatasetgetTrajectories in interface TrajectoryObsDatasetpublic TrajectoryObsDatatype getTrajectory(String trajectoryId)
TrajectoryObsDatasetgetTrajectory in interface TrajectoryObsDatasettrajectoryId - id of trajectorypublic boolean syncExtend()
TrajectoryObsDatasetsyncExtend in interface TrajectoryObsDatasetCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.