public abstract class AbstractRadialAdapter extends java.lang.Object implements ucar.nc2.dt.RadialDatasetSweep, FeatureDatasetFactory
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRadialAdapter.MyRadialVariableAdapter |
| Modifier and Type | Field and Description |
|---|---|
protected LatLonRect |
boundingBox |
protected CalendarDateUnit |
calDateUnits |
protected java.util.HashMap |
csHash |
protected java.util.List<VariableSimpleIF> |
dataVariables |
protected DateUnit |
dateUnits |
protected java.lang.String |
desc |
protected java.util.Date |
endDate |
protected ucar.nc2.util.cache.FileCacheIF |
fileCache |
protected java.lang.String |
location |
protected NetcdfDataset |
netcdfDataset |
protected EarthLocation |
origin |
protected java.lang.StringBuffer |
parseInfo |
protected java.util.Date |
startDate |
protected java.lang.String |
title |
| Constructor and Description |
|---|
AbstractRadialAdapter() |
AbstractRadialAdapter(NetcdfDataset ds) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addRadialVariable(NetcdfDataset ds,
Variable var) |
void |
calcBounds() |
void |
close()
Close all resources associated with this dataset.
|
Attribute |
findGlobalAttributeIgnoreCase(java.lang.String name)
Return the global attribute with the given name, ignoring case.
|
LatLonRect |
getBoundingBox()
The lat/lon boundingBox for the entire dataset.
|
CalendarDate |
getCalendarDateEnd()
Ending Calendar date for the entire dataset.
|
CalendarDateRange |
getCalendarDateRange()
Calendar Date range for the entire dataset.
|
CalendarDate |
getCalendarDateStart()
Starting Calendar date for the entire dataset.
|
CalendarDateUnit |
getCalendarDateUnit() |
ucar.nc2.dt.RadialDatasetSweep.Type |
getCommonType() |
VariableSimpleIF |
getDataVariable(java.lang.String shortName)
Get the named data Variable.
|
java.util.List<VariableSimpleIF> |
getDataVariables()
The data Variables available in this dataset.
|
DateRange |
getDateRange() |
java.lang.String |
getDescription()
Text information about this dataset.
|
java.lang.String |
getDetailInfo() |
void |
getDetailInfo(java.util.Formatter sf)
Show debug / underlying implementation details
|
EarthLocation |
getEarthLocation() |
java.util.Date |
getEndDate() |
FeatureType |
getFeatureType()
Contains collections of this FeatureType.
|
FeatureType[] |
getFeatureTypes()
This Factory can open these types of Feature datasets.
|
java.util.List<Attribute> |
getGlobalAttributes()
List of global attributes.
|
java.lang.String |
getImplementationName()
Show who is implementing
|
long |
getLastModified() |
java.lang.String |
getLocation()
The URI location of the dataset
|
java.lang.String |
getLocationURI() |
NetcdfFile |
getNetcdfFile()
Return underlying NetcdfFile, or null if none.
|
java.util.Date |
getStartDate() |
DateUnit |
getTimeUnits() |
java.lang.String |
getTitle()
Title of the dataset.
|
protected abstract ucar.nc2.dt.RadialDatasetSweep.RadialVariable |
makeRadialVariable(NetcdfDataset nds,
VariableSimpleIF v,
Variable v0) |
void |
reacquire() |
void |
release() |
protected void |
removeDataVariable(java.lang.String varName) |
protected void |
setBoundingBox() |
void |
setDescription(java.lang.String desc) |
protected abstract void |
setEarthLocation() |
protected abstract void |
setEndDate() |
void |
setFileCache(ucar.nc2.util.cache.FileCacheIF fileCache) |
void |
setLocationURI(java.lang.String location) |
protected abstract void |
setStartDate() |
protected abstract void |
setTimeUnits() |
void |
setTitle(java.lang.String title) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearDatasetMemory, getCommonOrigin, getDataFormat, getRadarID, getRadarName, isStationary, isVolumeisMine, openprotected 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
protected EarthLocation origin
protected java.util.HashMap csHash
protected DateUnit dateUnits
protected CalendarDateUnit calDateUnits
protected ucar.nc2.util.cache.FileCacheIF fileCache
public AbstractRadialAdapter()
public AbstractRadialAdapter(NetcdfDataset ds)
protected abstract void addRadialVariable(NetcdfDataset ds, Variable var)
protected abstract ucar.nc2.dt.RadialDatasetSweep.RadialVariable makeRadialVariable(NetcdfDataset nds, VariableSimpleIF v, Variable v0)
protected abstract void setTimeUnits()
throws java.lang.Exception
java.lang.Exceptionprotected abstract void setEarthLocation()
protected abstract void setStartDate()
protected abstract void setEndDate()
public void setTitle(java.lang.String title)
public void setDescription(java.lang.String desc)
public void setLocationURI(java.lang.String location)
protected void removeDataVariable(java.lang.String varName)
protected void setBoundingBox()
public void calcBounds()
throws java.io.IOException
java.io.IOExceptionpublic java.util.Date getStartDate()
public java.util.Date getEndDate()
public LatLonRect getBoundingBox()
FeatureDatasetgetBoundingBox in interface FeatureDatasetpublic java.util.List<VariableSimpleIF> getDataVariables()
FeatureDatasetgetDataVariables in interface ucar.nc2.dt.RadialDatasetSweepgetDataVariables in interface FeatureDatasetpublic VariableSimpleIF getDataVariable(java.lang.String shortName)
FeatureDatasetgetDataVariable in interface FeatureDatasetshortName - of data Variable.public ucar.nc2.dt.RadialDatasetSweep.Type getCommonType()
getCommonType in interface ucar.nc2.dt.RadialDatasetSweeppublic DateUnit getTimeUnits()
getTimeUnits in interface ucar.nc2.dt.RadialDatasetSweeppublic CalendarDateUnit getCalendarDateUnit()
public EarthLocation getEarthLocation()
public FeatureType[] getFeatureTypes()
FeatureDatasetFactorygetFeatureTypes in interface FeatureDatasetFactorypublic FeatureType getFeatureType()
FeatureDatasetgetFeatureType in interface FeatureDatasetpublic DateRange getDateRange()
public CalendarDateRange getCalendarDateRange()
FeatureDatasetgetCalendarDateRange in interface FeatureDatasetpublic CalendarDate getCalendarDateStart()
FeatureDatasetgetCalendarDateStart in interface FeatureDatasetpublic CalendarDate getCalendarDateEnd()
FeatureDatasetgetCalendarDateEnd in interface FeatureDatasetpublic void getDetailInfo(java.util.Formatter sf)
FeatureDatasetgetDetailInfo in interface FeatureDatasetsf - append info herepublic java.lang.String getImplementationName()
FeatureDatasetgetImplementationName in interface FeatureDatasetpublic void setFileCache(ucar.nc2.util.cache.FileCacheIF fileCache)
setFileCache in interface ucar.nc2.util.cache.FileCacheablepublic void close()
throws java.io.IOException
FeatureDatasetclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface FeatureDatasetclose in interface ucar.nc2.util.cache.FileCacheablejava.io.IOException - on i/o errorpublic void release()
throws java.io.IOException
release in interface ucar.nc2.util.cache.FileCacheablejava.io.IOExceptionpublic void reacquire()
throws java.io.IOException
reacquire in interface ucar.nc2.util.cache.FileCacheablejava.io.IOExceptionpublic long getLastModified()
getLastModified in interface ucar.nc2.util.cache.FileCacheablepublic NetcdfFile getNetcdfFile()
FeatureDatasetgetNetcdfFile in interface FeatureDatasetpublic java.lang.String getTitle()
FeatureDatasetgetTitle in interface FeatureDatasetpublic java.lang.String getDescription()
FeatureDatasetgetDescription in interface FeatureDatasetpublic java.lang.String getLocationURI()
public java.lang.String getLocation()
FeatureDatasetgetLocation in interface FeatureDatasetgetLocation in interface ucar.nc2.util.cache.FileCacheablepublic java.util.List<Attribute> getGlobalAttributes()
FeatureDatasetgetGlobalAttributes in interface FeatureDatasetpublic Attribute findGlobalAttributeIgnoreCase(java.lang.String name)
FeatureDatasetfindGlobalAttributeIgnoreCase in interface FeatureDatasetname - attribute namepublic java.lang.String getDetailInfo()