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 TypedDataset
public java.lang.String getTitle()
getTitle
in interface TypedDataset
public java.lang.String getDescription()
getDescription
in interface TypedDataset
public java.lang.String getLocationURI()
getLocationURI
in interface TypedDataset
public java.lang.String getLocation()
public java.util.List<Attribute> getGlobalAttributes()
TypedDataset
getGlobalAttributes
in interface TypedDataset
public Attribute findGlobalAttributeIgnoreCase(java.lang.String name)
findGlobalAttributeIgnoreCase
in interface TypedDataset
name
- attribute namepublic void close() throws java.io.IOException
TypedDataset
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface TypedDataset
java.io.IOException
- on I/O errorpublic java.lang.String getDetailInfo()
getDetailInfo
in interface TypedDataset
public java.util.Date getStartDate()
getStartDate
in interface TypedDataset
public java.util.Date getEndDate()
getEndDate
in interface TypedDataset
public LatLonRect getBoundingBox()
getBoundingBox
in interface TypedDataset
public java.util.List<VariableSimpleIF> getDataVariables()
TypedDataset
getDataVariables
in interface TypedDataset
public VariableSimpleIF getDataVariable(java.lang.String shortName)
TypedDataset
getDataVariable
in interface TypedDataset
shortName
- of data Variable.