|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.nc2.dt.TypedDatasetImpl
ucar.nc2.dt.point.PointObsDatasetImpl
public abstract class PointObsDatasetImpl
Superclass for implementations of PointObsDataset.
| Field Summary | |
|---|---|
protected DateFormatter |
formatter
|
protected DateUnit |
timeUnit
|
| Fields inherited from class ucar.nc2.dt.TypedDatasetImpl |
|---|
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title |
| Constructor Summary | |
|---|---|
PointObsDatasetImpl()
|
|
PointObsDatasetImpl(NetcdfDataset ncfile)
|
|
PointObsDatasetImpl(String title,
String description,
String location)
|
|
| Method Summary | |
|---|---|
List |
getData()
Get all data. |
List |
getData(LatLonRect boundingBox)
Get all data within the specified bounding box. |
List |
getData(LatLonRect boundingBox,
Date start,
Date end)
Get all data within the specified bounding box and date range. |
Class |
getDataClass()
The getData() methods return objects of this Class |
String |
getDetailInfo()
|
protected static double |
getMetersConversionFactor(String unitsString)
Get conversion factor for this unit into meters. |
FeatureType |
getScientificDataType()
|
protected double |
getTime(Variable timeVar,
StructureData sdata)
|
DateUnit |
getTimeUnits()
Get the units of Calendar time. |
protected abstract void |
setTimeUnits()
|
| Methods inherited from class ucar.nc2.dt.TypedDatasetImpl |
|---|
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocation, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setBoundingBox, setDescription, setEndDate, setLocationURI, setStartDate, setTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ucar.nc2.dt.TypedDataset |
|---|
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle |
| Methods inherited from interface ucar.nc2.dt.PointCollection |
|---|
getData, getData, getData, getDataCount, getDataIterator |
| Field Detail |
|---|
protected DateUnit timeUnit
protected DateFormatter formatter
| Constructor Detail |
|---|
public PointObsDatasetImpl()
public PointObsDatasetImpl(String title,
String description,
String location)
public PointObsDatasetImpl(NetcdfDataset ncfile)
| Method Detail |
|---|
protected static double getMetersConversionFactor(String unitsString)
throws Exception
unitsString - unit you want to convert
Exception - if not valid unit, or not convertible to metersprotected abstract void setTimeUnits()
public String getDetailInfo()
getDetailInfo in interface TypedDatasetgetDetailInfo in class TypedDatasetImplpublic FeatureType getScientificDataType()
public Class getDataClass()
PointCollection
getDataClass in interface PointCollectionpublic DateUnit getTimeUnits()
PointCollection
getTimeUnits in interface PointCollection
public List getData()
throws IOException
PointCollection
getData in interface PointCollectionIOException - on io erroras a (possibly) more efficient alternative
public List getData(LatLonRect boundingBox)
throws IOException
PointCollection
getData in interface PointCollectionboundingBox - restrict data to this bounding nox
IOException - on io erroras a (possibly) more efficient alternative
public List getData(LatLonRect boundingBox,
Date start,
Date end)
throws IOException
PointCollection
getData in interface PointCollectionboundingBox - restrict data to this bounding noxstart - restrict data to after this timeend - restrict data to before this time
IOException - on io erroras a (possibly) more efficient alternative
protected double getTime(Variable timeVar,
StructureData sdata)
throws ParseException
ParseException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||