|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.nc2.dt.TypedDatasetImpl
public abstract class TypedDatasetImpl
Superclass for implementations of TypedDataset.
| Field Summary | |
|---|---|
protected LatLonRect |
boundingBox
|
protected List<VariableSimpleIF> |
dataVariables
|
protected String |
desc
|
protected Date |
endDate
|
protected String |
location
|
protected NetcdfDataset |
ncfile
|
protected StringBuffer |
parseInfo
|
protected Date |
startDate
|
protected String |
title
|
| Constructor Summary | |
|---|---|
TypedDatasetImpl()
No-arg constuctor |
|
TypedDatasetImpl(NetcdfDataset ncfile)
Construtor when theres a NetcdfFile underneath |
|
TypedDatasetImpl(String title,
String description,
String location)
Constructor when theres no NetcdfFile underneath. |
|
| Method Summary | |
|---|---|
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()
|
String |
getLocationURI()
|
NetcdfFile |
getNetcdfFile()
|
Date |
getStartDate()
|
String |
getTitle()
|
protected void |
removeDataVariable(String varName)
|
protected abstract void |
setBoundingBox()
|
void |
setDescription(String desc)
|
protected abstract void |
setEndDate()
|
void |
setLocationURI(String location)
|
protected abstract void |
setStartDate()
|
void |
setTitle(String title)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected NetcdfDataset ncfile
protected String title
protected String desc
protected String location
protected Date startDate
protected Date endDate
protected LatLonRect boundingBox
protected List<VariableSimpleIF> dataVariables
protected StringBuffer parseInfo
| Constructor Detail |
|---|
public TypedDatasetImpl()
public TypedDatasetImpl(String title,
String description,
String location)
title - title of the dataset.description - description of the dataset.location - URI of the datasetpublic TypedDatasetImpl(NetcdfDataset ncfile)
ncfile - adapt this NetcdfDataset| Method Detail |
|---|
public void setTitle(String title)
public void setDescription(String desc)
public void setLocationURI(String location)
protected abstract void setStartDate()
protected abstract void setEndDate()
protected abstract void setBoundingBox()
protected void removeDataVariable(String varName)
public NetcdfFile getNetcdfFile()
getNetcdfFile in interface TypedDatasetpublic String getTitle()
getTitle in interface TypedDatasetpublic String getDescription()
getDescription in interface TypedDatasetpublic String getLocationURI()
getLocationURI in interface TypedDatasetpublic String getLocation()
public List<Attribute> getGlobalAttributes()
TypedDataset
getGlobalAttributes in interface TypedDatasetpublic Attribute findGlobalAttributeIgnoreCase(String name)
findGlobalAttributeIgnoreCase in interface TypedDatasetname - attribute name
public void close()
throws IOException
TypedDataset
close in interface TypedDatasetIOException - on I/O errorpublic String getDetailInfo()
getDetailInfo in interface TypedDatasetpublic Date getStartDate()
getStartDate in interface TypedDatasetpublic Date getEndDate()
getEndDate in interface TypedDatasetpublic LatLonRect getBoundingBox()
getBoundingBox in interface TypedDatasetpublic List<VariableSimpleIF> getDataVariables()
TypedDataset
getDataVariables in interface TypedDatasetpublic VariableSimpleIF getDataVariable(String shortName)
TypedDataset
getDataVariable in interface TypedDatasetshortName - of data Variable.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||