|
|||||||||
| 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
ucar.nc2.dt.point.StationObsDatasetImpl
public abstract class StationObsDatasetImpl
Superclass for implementations of StationObsDataset. Subclass needs to:
| Field Summary | |
|---|---|
protected StationDatasetHelper |
stationHelper
|
protected List<Station> |
stations
|
| Fields inherited from class ucar.nc2.dt.point.PointObsDatasetImpl |
|---|
formatter, timeUnit |
| Fields inherited from class ucar.nc2.dt.TypedDatasetImpl |
|---|
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title |
| Constructor Summary | |
|---|---|
StationObsDatasetImpl()
|
|
StationObsDatasetImpl(NetcdfDataset ncfile)
|
|
StationObsDatasetImpl(String title,
String description,
String location)
|
|
| Method Summary | |
|---|---|
List |
getData(LatLonRect boundingBox,
CancelTask cancel)
Get all data within the specified bounding box, allow user to cancel. |
List |
getData(LatLonRect boundingBox,
Date start,
Date end,
CancelTask cancel)
Get all data within the specified bounding box and date range, allow user to cancel. |
List |
getData(List<Station> stations)
Get all data for a list of Stations. |
List |
getData(List<Station> stations,
CancelTask cancel)
Get all data for a list of Stations, allow user to cancel. |
List |
getData(List<Station> stations,
Date start,
Date end)
Get data for a list of Stations within the specified date range. |
List |
getData(List<Station> stations,
Date start,
Date end,
CancelTask cancel)
Get data for a list of Stations within the specified date range, allow user to cancel. |
List |
getData(Station s)
Get all data for this Station. |
List |
getData(Station s,
Date start,
Date end)
Get data for this Station within the specified date range. |
List |
getData(Station s,
Date start,
Date end,
CancelTask cancel)
Get data for this Station within the specified date range, allow user to cancel. |
Class |
getDataClass()
The getData() methods return objects of this Class |
DataIterator |
getDataIterator(Station s)
Get all data for this Station. |
DataIterator |
getDataIterator(Station s,
Date start,
Date end)
Get data for this Station within the specified date range. |
String |
getDetailInfo()
|
FeatureType |
getScientificDataType()
|
Station |
getStation(String id)
Find a Station by name |
int |
getStationDataCount(Station s)
How many Data objects are available for this Station? |
List<Station> |
getStations()
Get all the Stations in the collection. |
List<Station> |
getStations(CancelTask cancel)
Get all the Stations in the collection, allow user to cancel. |
List<Station> |
getStations(LatLonRect boundingBox)
Get all the Stations within a bounding box. |
List<Station> |
getStations(LatLonRect boundingBox,
CancelTask cancel)
Get all the Stations within a bounding box, allow user to cancel. |
void |
sortByTime(List<StationObsDatatype> stationObs)
|
| Methods inherited from class ucar.nc2.dt.point.PointObsDatasetImpl |
|---|
getData, getData, getData, getMetersConversionFactor, getTime, getTimeUnits, 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.StationCollection |
|---|
getData |
| Methods inherited from interface ucar.nc2.dt.PointCollection |
|---|
getData, getData, getData, getData, getDataCount, getDataIterator, getTimeUnits |
| Field Detail |
|---|
protected StationDatasetHelper stationHelper
protected List<Station> stations
| Constructor Detail |
|---|
public StationObsDatasetImpl()
public StationObsDatasetImpl(String title, String description, String location)
public StationObsDatasetImpl(NetcdfDataset ncfile)
| Method Detail |
|---|
public String getDetailInfo()
getDetailInfo in interface TypedDatasetgetDetailInfo in class PointObsDatasetImplpublic FeatureType getScientificDataType()
getScientificDataType in class PointObsDatasetImplpublic Class getDataClass()
PointCollection
getDataClass in interface PointCollectiongetDataClass in class PointObsDatasetImplpublic List<Station> getStations() throws IOException
StationCollection
getStations in interface StationCollectionIOException - on io errorpublic List<Station> getStations(CancelTask cancel) throws IOException
StationCollection
getStations in interface StationCollectioncancel - allow user to cancel. Implementors should return ASAP.
IOException - on io errorpublic List<Station> getStations(LatLonRect boundingBox) throws IOException
StationCollection
getStations in interface StationCollectionboundingBox - restrict data to this bounding nox
IOException - on io errorpublic List<Station> getStations(LatLonRect boundingBox, CancelTask cancel) throws IOException
StationCollection
getStations in interface StationCollectionboundingBox - restrict data to this bounding noxcancel - allow user to cancel. Implementors should return ASAP.
IOException - on io errorpublic Station getStation(String id)
StationCollection
getStation in interface StationCollectionid - find this name
public int getStationDataCount(Station s)
StationCollection
getStationDataCount in interface StationCollections - station
public List getData(Station s) throws IOException
StationCollection
getData in interface StationCollections - for this Station
IOException - on io errorpublic List getData(Station s, Date start, Date end) throws IOException
StationCollection
getData in interface StationCollections - for this Stationstart - restrict data to after this timeend - restrict data to before this time
IOException - on io errorpublic List getData(Station s, Date start, Date end, CancelTask cancel) throws IOException
StationCollection
getData in interface StationCollections - for this Stationstart - restrict data to after this timeend - restrict data to before this timecancel - allow user to cancel. Implementors should return ASAP.
IOException - on io errorpublic List getData(List<Station> stations) throws IOException
StationCollection
getData in interface StationCollectionstations - for these Stations
IOException - on io erroras a (possibly) more efficient alternativepublic List getData(List<Station> stations, CancelTask cancel) throws IOException
StationCollection
getData in interface StationCollectionstations - for these Stationscancel - allow user to cancel. Implementors should return ASAP.
IOException - on io erroras a (possibly) more efficient alternativepublic List getData(List<Station> stations, Date start, Date end) throws IOException
StationCollection
getData in interface StationCollectionstations - for these Stationsstart - restrict data to after this timeend - restrict data to before this time
IOException - on io erroras a (possibly) more efficient alternativepublic List getData(List<Station> stations, Date start, Date end, CancelTask cancel) throws IOException
StationCollection
getData in interface StationCollectionstations - for these Stationsstart - restrict data to after this timeend - restrict data to before this timecancel - allow user to cancel. Implementors should return ASAP.
IOException - on io erroras a (possibly) more efficient alternativepublic List getData(LatLonRect boundingBox, CancelTask cancel) throws IOException
PointCollection
getData in interface PointCollectionboundingBox - restrict data to this bounding noxcancel - allow user to cancel. Implementors should return ASAP.
IOException - on io erroras a (possibly) more efficient alternativepublic List getData(LatLonRect boundingBox, Date start, Date end, CancelTask cancel) throws IOException
PointCollection
getData in interface PointCollectionboundingBox - restrict data to this bounding noxstart - restrict data to after this timeend - restrict data to before this timecancel - allow user to cancel. Implementors should return ASAP.
IOException - on io erroras a (possibly) more efficient alternativepublic void sortByTime(List<StationObsDatatype> stationObs)
public DataIterator getDataIterator(Station s)
StationCollection
getDataIterator in interface StationCollections - for this Station
public DataIterator getDataIterator(Station s, Date start, Date end)
getDataIterator in interface StationCollections - for this Stationstart - restrict data to after this timeend - restrict data to before this time
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||