public abstract class TypedDatasetImpl extends java.lang.Object implements TypedDataset
| Modifier and Type | Field and Description |
|---|---|
protected LatLonRect |
boundingBox
Deprecated.
|
protected java.util.List<VariableSimpleIF> |
dataVariables
Deprecated.
|
protected java.lang.String |
desc
Deprecated.
|
protected java.util.Date |
endDate
Deprecated.
|
protected java.lang.String |
location
Deprecated.
|
protected NetcdfDataset |
netcdfDataset
Deprecated.
|
protected java.lang.StringBuffer |
parseInfo
Deprecated.
|
protected java.util.Date |
startDate
Deprecated.
|
protected java.lang.String |
title
Deprecated.
|
| Constructor and Description |
|---|
TypedDatasetImpl()
Deprecated.
No-arg constructor
|
TypedDatasetImpl(NetcdfDataset netcdfDataset)
Deprecated.
Construtor when theres a NetcdfFile underneath
|
TypedDatasetImpl(java.lang.String title,
java.lang.String description,
java.lang.String location)
Deprecated.
Constructor when theres no NetcdfFile underneath.
|
| 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.
|
java.lang.String |
getLocationURI()
Deprecated.
|
NetcdfFile |
getNetcdfFile()
Deprecated.
|
java.util.Date |
getStartDate()
Deprecated.
|
java.lang.String |
getTitle()
Deprecated.
|
protected void |
removeDataVariable(java.lang.String varName)
Deprecated.
|
protected abstract void |
setBoundingBox()
Deprecated.
|
void |
setDescription(java.lang.String desc)
Deprecated.
|
protected abstract void |
setEndDate()
Deprecated.
|
void |
setLocationURI(java.lang.String location)
Deprecated.
|
protected abstract void |
setStartDate()
Deprecated.
|
void |
setTitle(java.lang.String title)
Deprecated.
|
protected NetcdfDataset netcdfDataset
protected java.lang.String title
protected java.lang.String desc
protected java.lang.String location
protected java.util.Date startDate
protected java.util.Date endDate
protected LatLonRect boundingBox
protected java.util.List<VariableSimpleIF> dataVariables
protected java.lang.StringBuffer parseInfo
public TypedDatasetImpl()
public TypedDatasetImpl(java.lang.String title,
java.lang.String description,
java.lang.String location)
title - title of the dataset.description - description of the dataset.location - URI of the datasetpublic TypedDatasetImpl(NetcdfDataset netcdfDataset)
netcdfDataset - adapt this NetcdfDatasetpublic void setTitle(java.lang.String title)
public void setDescription(java.lang.String desc)
public void setLocationURI(java.lang.String location)
protected abstract void setStartDate()
protected abstract void setEndDate()
protected abstract void setBoundingBox()
protected void removeDataVariable(java.lang.String varName)
public NetcdfFile getNetcdfFile()
getNetcdfFile in interface TypedDatasetpublic java.lang.String getTitle()
getTitle in interface TypedDatasetpublic java.lang.String getDescription()
getDescription in interface TypedDatasetpublic java.lang.String getLocationURI()
getLocationURI in interface TypedDatasetpublic java.lang.String getLocation()
public java.util.List<Attribute> getGlobalAttributes()
TypedDatasetgetGlobalAttributes in interface TypedDatasetpublic Attribute findGlobalAttributeIgnoreCase(java.lang.String name)
findGlobalAttributeIgnoreCase in interface TypedDatasetname - attribute namepublic void close()
throws java.io.IOException
TypedDatasetclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface TypedDatasetjava.io.IOException - on I/O errorpublic java.lang.String getDetailInfo()
getDetailInfo in interface TypedDatasetpublic java.util.Date getStartDate()
getStartDate in interface TypedDatasetpublic java.util.Date getEndDate()
getEndDate in interface TypedDatasetpublic LatLonRect getBoundingBox()
getBoundingBox in interface TypedDatasetpublic java.util.List<VariableSimpleIF> getDataVariables()
TypedDatasetgetDataVariables in interface TypedDatasetpublic VariableSimpleIF getDataVariable(java.lang.String shortName)
TypedDatasetgetDataVariable in interface TypedDatasetshortName - of data Variable.