public class UnidataTrajectoryObsDataset2 extends TypedDatasetImpl implements TrajectoryObsDataset, TypedDatasetFactoryIF
| Modifier and Type | Field and Description |
|---|---|
protected TrajectoryObsDataset |
backingTraj
Deprecated.
|
protected ucar.nc2.Variable |
elevVar
Deprecated.
|
protected String |
elevVarName
Deprecated.
|
protected boolean |
isMultiTrajStructure
Deprecated.
|
protected boolean |
isTimeDimensionFirst
Deprecated.
|
protected ucar.nc2.Variable |
latVar
Deprecated.
|
protected String |
latVarName
Deprecated.
|
protected ucar.nc2.Variable |
lonVar
Deprecated.
|
protected String |
lonVarName
Deprecated.
|
protected ucar.nc2.Structure |
recordVar
Deprecated.
|
protected ucar.nc2.Dimension |
timeDim
Deprecated.
|
protected String |
timeDimName
Deprecated.
|
protected ucar.nc2.Variable |
timeVar
Deprecated.
|
protected String |
timeVarName
Deprecated.
|
protected ucar.nc2.Dimension |
trajDim
Deprecated.
|
protected String |
trajDimName
Deprecated.
|
protected ucar.nc2.Variable |
trajVar
Deprecated.
|
protected String |
trajVarName
Deprecated.
|
boundingBox, dataVariables, desc, endDate, location, netcdfDataset, parseInfo, startDate, title| Constructor and Description |
|---|
UnidataTrajectoryObsDataset2()
Deprecated.
|
UnidataTrajectoryObsDataset2(ucar.nc2.dataset.NetcdfDataset ncd)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
Close all resources associated with this dataset.
|
ucar.nc2.Attribute |
findGlobalAttributeIgnoreCase(String name)
Deprecated.
|
ucar.unidata.geoloc.LatLonRect |
getBoundingBox()
Deprecated.
|
ucar.nc2.VariableSimpleIF |
getDataVariable(String shortName)
Deprecated.
Get the named data Variable.
|
List<ucar.nc2.VariableSimpleIF> |
getDataVariables()
Deprecated.
The data Variables available in this dataset.
|
String |
getDescription()
Deprecated.
|
String |
getDetailInfo()
Deprecated.
|
Date |
getEndDate()
Deprecated.
|
List<ucar.nc2.Attribute> |
getGlobalAttributes()
Deprecated.
List of global attributes.
|
String |
getLocation()
Deprecated.
|
ucar.nc2.NetcdfFile |
getNetcdfFile()
Deprecated.
|
ucar.nc2.constants.FeatureType |
getScientificDataType()
Deprecated.
What kind of cientific data type will this return?
|
Date |
getStartDate()
Deprecated.
|
String |
getTitle()
Deprecated.
|
List |
getTrajectories()
Deprecated.
Get trajectories contained in this dataset.
|
TrajectoryObsDatatype |
getTrajectory(String trajectoryId)
Deprecated.
Get the named trajectory
|
List<String> |
getTrajectoryIds()
Deprecated.
Get a list of String IDs for the available trajectories.
|
boolean |
isMine(ucar.nc2.dataset.NetcdfDataset ds)
Deprecated.
Determine if this dataset belongs to you
|
static boolean |
isValidFile(ucar.nc2.NetcdfFile ds)
Deprecated.
|
TypedDataset |
open(ucar.nc2.dataset.NetcdfDataset ncd,
ucar.nc2.util.CancelTask task,
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, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocationURIprotected ucar.nc2.Variable trajVar
protected ucar.nc2.Dimension trajDim
protected ucar.nc2.Variable timeVar
protected ucar.nc2.Dimension timeDim
protected ucar.nc2.Structure recordVar
protected ucar.nc2.Variable latVar
protected ucar.nc2.Variable lonVar
protected ucar.nc2.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(ucar.nc2.dataset.NetcdfDataset ncd)
throws IOException
IOExceptionpublic static boolean isValidFile(ucar.nc2.NetcdfFile ds)
public boolean isMine(ucar.nc2.dataset.NetcdfDataset ds)
TypedDatasetFactoryIFisMine in interface TypedDatasetFactoryIFds - examine this NetcdfDataset to see if it belongs to this class.public TypedDataset open(ucar.nc2.dataset.NetcdfDataset ncd, ucar.nc2.util.CancelTask task, StringBuilder errlog) throws IOException
TypedDatasetFactoryIFopen in interface TypedDatasetFactoryIFncd - already opened NetcdfDataset.task - use may cancelerrlog - place errors hereIOException - on errorpublic ucar.nc2.constants.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 ucar.unidata.geoloc.LatLonRect getBoundingBox()
getBoundingBox in interface TypedDatasetgetBoundingBox in class TypedDatasetImplpublic List<ucar.nc2.Attribute> getGlobalAttributes()
TypedDatasetgetGlobalAttributes in interface TypedDatasetgetGlobalAttributes in class TypedDatasetImplpublic ucar.nc2.Attribute findGlobalAttributeIgnoreCase(String name)
findGlobalAttributeIgnoreCase in interface TypedDatasetfindGlobalAttributeIgnoreCase in class TypedDatasetImplname - attribute namepublic List<ucar.nc2.VariableSimpleIF> getDataVariables()
TypedDatasetgetDataVariables in interface TypedDatasetgetDataVariables in class TypedDatasetImplpublic ucar.nc2.VariableSimpleIF getDataVariable(String shortName)
TypedDatasetgetDataVariable in interface TypedDatasetgetDataVariable in class TypedDatasetImplshortName - of data Variable.public ucar.nc2.NetcdfFile getNetcdfFile()
getNetcdfFile in interface TypedDatasetgetNetcdfFile in class TypedDatasetImplpublic void close()
throws IOException
TypedDatasetclose in interface Closeableclose in interface AutoCloseableclose 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 TrajectoryObsDataset