public abstract class PointObsDatasetImpl extends TypedDatasetImpl implements PointObsDataset
Modifier and Type | Field and Description |
---|---|
protected DateFormatter |
formatter
Deprecated.
|
protected DateUnit |
timeUnit
Deprecated.
|
boundingBox, dataVariables, desc, endDate, location, netcdfDataset, parseInfo, startDate, title
Constructor and Description |
---|
PointObsDatasetImpl()
Deprecated.
|
PointObsDatasetImpl(NetcdfDataset ncfile)
Deprecated.
|
PointObsDatasetImpl(java.lang.String title,
java.lang.String description,
java.lang.String location)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getData()
Deprecated.
Get all data.
|
java.util.List |
getData(LatLonRect boundingBox)
Deprecated.
Get all data within the specified bounding box.
|
java.util.List |
getData(LatLonRect boundingBox,
java.util.Date start,
java.util.Date end)
Deprecated.
Get all data within the specified bounding box and date range.
|
java.lang.Class |
getDataClass()
Deprecated.
The getData() methods return objects of this Class
|
java.lang.String |
getDetailInfo()
Deprecated.
|
protected static double |
getMetersConversionFactor(java.lang.String unitsString)
Deprecated.
Get conversion factor for this unit into meters.
|
FeatureType |
getScientificDataType()
Deprecated.
|
protected double |
getTime(Variable timeVar,
StructureData sdata)
Deprecated.
|
DateUnit |
getTimeUnits()
Deprecated.
Get the units of Calendar time.
|
protected abstract void |
setTimeUnits()
Deprecated.
|
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocation, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setBoundingBox, setDescription, setEndDate, setLocationURI, setStartDate, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle
getData, getData, getData, getDataCount, getDataIterator
protected DateUnit timeUnit
protected DateFormatter formatter
public PointObsDatasetImpl()
public PointObsDatasetImpl(java.lang.String title, java.lang.String description, java.lang.String location)
public PointObsDatasetImpl(NetcdfDataset ncfile)
protected static double getMetersConversionFactor(java.lang.String unitsString) throws java.lang.Exception
unitsString
- unit you want to convertjava.lang.Exception
- if not valid unit, or not convertible to metersprotected abstract void setTimeUnits()
public java.lang.String getDetailInfo()
getDetailInfo
in interface TypedDataset
getDetailInfo
in class TypedDatasetImpl
public FeatureType getScientificDataType()
public java.lang.Class getDataClass()
PointCollection
getDataClass
in interface PointCollection
public DateUnit getTimeUnits()
PointCollection
getTimeUnits
in interface PointCollection
public java.util.List getData() throws java.io.IOException
PointCollection
getData
in interface PointCollection
java.io.IOException
- on io erroras a (possibly) more efficient alternative
public java.util.List getData(LatLonRect boundingBox) throws java.io.IOException
PointCollection
getData
in interface PointCollection
boundingBox
- restrict data to this bounding noxjava.io.IOException
- on io erroras a (possibly) more efficient alternative
public java.util.List getData(LatLonRect boundingBox, java.util.Date start, java.util.Date end) throws java.io.IOException
PointCollection
getData
in interface PointCollection
boundingBox
- restrict data to this bounding noxstart
- restrict data to after this timeend
- restrict data to before this timejava.io.IOException
- on io erroras a (possibly) more efficient alternative
protected double getTime(Variable timeVar, StructureData sdata) throws java.text.ParseException
java.text.ParseException