|
||||||||||
| 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 static SimpleUnit |
meterUnit
|
protected DateUnit |
timeUnit
|
| Fields inherited from class ucar.nc2.dt.TypedDatasetImpl |
|---|
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title |
| Constructor Summary | |
|---|---|
PointObsDatasetImpl()
|
|
PointObsDatasetImpl(NetcdfFile ncfile)
|
|
PointObsDatasetImpl(java.lang.String title,
java.lang.String description,
java.lang.String location)
|
|
| Method Summary | |
|---|---|
java.util.List |
getData()
Get all data. |
java.util.List |
getData(LatLonRect boundingBox)
Get all data within the specified bounding box. |
java.util.List |
getData(LatLonRect boundingBox,
java.util.Date start,
java.util.Date end)
Get all data within the specified bounding box and date range. |
java.lang.Class |
getDataClass()
The getData() methods return objects of this Class |
java.lang.String |
getDetailInfo()
|
protected static double |
getMetersConversionFactor(java.lang.String unitsString)
Get conversion factor for this unit into meters. |
DataType |
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, 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 static SimpleUnit meterUnit
protected DateUnit timeUnit
protected DateFormatter formatter
| Constructor Detail |
|---|
public PointObsDatasetImpl()
public PointObsDatasetImpl(java.lang.String title,
java.lang.String description,
java.lang.String location)
public PointObsDatasetImpl(NetcdfFile ncfile)
| Method Detail |
|---|
protected static double getMetersConversionFactor(java.lang.String unitsString)
throws java.lang.Exception
unitsString - unit you want to convert
java.lang.Exception - if not valid unit, or not convertible to metersprotected abstract void setTimeUnits()
public java.lang.String getDetailInfo()
getDetailInfo in interface TypedDatasetgetDetailInfo in class TypedDatasetImplpublic DataType getScientificDataType()
public java.lang.Class getDataClass()
PointCollection
getDataClass in interface PointCollectionpublic DateUnit getTimeUnits()
PointCollection
getTimeUnits in interface PointCollection
public java.util.List getData()
throws java.io.IOException
PointCollection
getData in interface PointCollectionjava.io.IOExceptionas a (possibly) more efficient alternative
public java.util.List getData(LatLonRect boundingBox)
throws java.io.IOException
PointCollection
getData in interface PointCollectionjava.io.IOExceptionas 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 PointCollectionjava.io.IOExceptionas a (possibly) more efficient alternative
protected double getTime(Variable timeVar,
StructureData sdata)
throws java.text.ParseException
java.text.ParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||