public abstract class StationObsDatasetImpl extends PointObsDatasetImpl implements StationObsDataset
Modifier and Type | Field and Description |
---|---|
protected StationDatasetHelper |
stationHelper
Deprecated.
|
protected java.util.List<Station> |
stations
Deprecated.
|
formatter, timeUnit
boundingBox, dataVariables, desc, endDate, location, netcdfDataset, parseInfo, startDate, title
Constructor and Description |
---|
StationObsDatasetImpl()
Deprecated.
|
StationObsDatasetImpl(NetcdfDataset ncfile)
Deprecated.
|
StationObsDatasetImpl(java.lang.String title,
java.lang.String description,
java.lang.String location)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getData(LatLonRect boundingBox,
CancelTask cancel)
Deprecated.
Get all data within the specified bounding box, allow user to cancel.
|
java.util.List |
getData(LatLonRect boundingBox,
java.util.Date start,
java.util.Date end,
CancelTask cancel)
Deprecated.
Get all data within the specified bounding box and date range, allow user to cancel.
|
java.util.List |
getData(java.util.List<Station> stations)
Deprecated.
Get all data for a list of Stations.
|
java.util.List |
getData(java.util.List<Station> stations,
CancelTask cancel)
Deprecated.
Get all data for a list of Stations, allow user to cancel.
|
java.util.List |
getData(java.util.List<Station> stations,
java.util.Date start,
java.util.Date end)
Deprecated.
Get data for a list of Stations within the specified date range.
|
java.util.List |
getData(java.util.List<Station> stations,
java.util.Date start,
java.util.Date end,
CancelTask cancel)
Deprecated.
Get data for a list of Stations within the specified date range, allow user to cancel.
|
java.util.List |
getData(Station s)
Deprecated.
Get all data for this Station.
|
java.util.List |
getData(Station s,
java.util.Date start,
java.util.Date end)
Deprecated.
Get data for this Station within the specified date range.
|
java.util.List |
getData(Station s,
java.util.Date start,
java.util.Date end,
CancelTask cancel)
Deprecated.
Get data for this Station within the specified date range, allow user to cancel.
|
java.lang.Class |
getDataClass()
Deprecated.
The getData() methods return objects of this Class
|
DataIterator |
getDataIterator(Station s)
Deprecated.
Get all data for this Station.
|
DataIterator |
getDataIterator(Station s,
java.util.Date start,
java.util.Date end)
Deprecated.
Get data for this Station within the specified date range.
|
java.lang.String |
getDetailInfo()
Deprecated.
|
FeatureType |
getScientificDataType()
Deprecated.
|
Station |
getStation(java.lang.String id)
Deprecated.
Find a Station by name
|
int |
getStationDataCount(Station s)
Deprecated.
How many Data objects are available for this Station?
|
java.util.List<Station> |
getStations()
Deprecated.
Get all the Stations in the collection.
|
java.util.List<Station> |
getStations(CancelTask cancel)
Deprecated.
Get all the Stations in the collection, allow user to cancel.
|
java.util.List<Station> |
getStations(LatLonRect boundingBox)
Deprecated.
Get all the Stations within a bounding box.
|
java.util.List<Station> |
getStations(LatLonRect boundingBox,
CancelTask cancel)
Deprecated.
Get all the Stations within a bounding box, allow user to cancel.
|
void |
sortByTime(java.util.List<StationObsDatatype> stationObs)
Deprecated.
|
getData, getData, getData, getMetersConversionFactor, getTime, getTimeUnits, setTimeUnits
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, getData, getData, getDataCount, getDataIterator, getTimeUnits
protected StationDatasetHelper stationHelper
protected java.util.List<Station> stations
public StationObsDatasetImpl()
public StationObsDatasetImpl(java.lang.String title, java.lang.String description, java.lang.String location)
public StationObsDatasetImpl(NetcdfDataset ncfile)
public java.lang.String getDetailInfo()
getDetailInfo
in interface TypedDataset
getDetailInfo
in class PointObsDatasetImpl
public FeatureType getScientificDataType()
getScientificDataType
in class PointObsDatasetImpl
public java.lang.Class getDataClass()
PointCollection
getDataClass
in interface PointCollection
getDataClass
in class PointObsDatasetImpl
public java.util.List<Station> getStations() throws java.io.IOException
StationCollection
getStations
in interface StationCollection
java.io.IOException
- on io errorpublic java.util.List<Station> getStations(CancelTask cancel) throws java.io.IOException
StationCollection
getStations
in interface StationCollection
cancel
- allow user to cancel. Implementors should return ASAP.java.io.IOException
- on io errorpublic java.util.List<Station> getStations(LatLonRect boundingBox) throws java.io.IOException
StationCollection
getStations
in interface StationCollection
boundingBox
- restrict data to this bounding noxjava.io.IOException
- on io errorpublic java.util.List<Station> getStations(LatLonRect boundingBox, CancelTask cancel) throws java.io.IOException
StationCollection
getStations
in interface StationCollection
boundingBox
- restrict data to this bounding noxcancel
- allow user to cancel. Implementors should return ASAP.java.io.IOException
- on io errorpublic Station getStation(java.lang.String id)
StationCollection
getStation
in interface StationCollection
id
- find this namepublic int getStationDataCount(Station s)
StationCollection
getStationDataCount
in interface StationCollection
s
- stationpublic java.util.List getData(Station s) throws java.io.IOException
StationCollection
getData
in interface StationCollection
s
- for this Stationjava.io.IOException
- on io errorpublic java.util.List getData(Station s, java.util.Date start, java.util.Date end) throws java.io.IOException
StationCollection
getData
in interface StationCollection
s
- for this Stationstart
- restrict data to after this timeend
- restrict data to before this timejava.io.IOException
- on io errorpublic java.util.List getData(Station s, java.util.Date start, java.util.Date end, CancelTask cancel) throws java.io.IOException
StationCollection
getData
in interface StationCollection
s
- for this Stationstart
- restrict data to after this timeend
- restrict data to before this timecancel
- allow user to cancel. Implementors should return ASAP.java.io.IOException
- on io errorpublic java.util.List getData(java.util.List<Station> stations) throws java.io.IOException
StationCollection
getData
in interface StationCollection
stations
- for these Stationsjava.io.IOException
- on io erroras a (possibly) more efficient alternative
public java.util.List getData(java.util.List<Station> stations, CancelTask cancel) throws java.io.IOException
StationCollection
getData
in interface StationCollection
stations
- for these Stationscancel
- allow user to cancel. Implementors should return ASAP.java.io.IOException
- on io erroras a (possibly) more efficient alternative
public java.util.List getData(java.util.List<Station> stations, java.util.Date start, java.util.Date end) throws java.io.IOException
StationCollection
getData
in interface StationCollection
stations
- for these Stationsstart
- restrict data to after this timeend
- restrict data to before this timejava.io.IOException
- on io erroras a (possibly) more efficient alternative
public java.util.List getData(java.util.List<Station> stations, java.util.Date start, java.util.Date end, CancelTask cancel) throws java.io.IOException
StationCollection
getData
in interface StationCollection
stations
- for these Stationsstart
- restrict data to after this timeend
- restrict data to before this timecancel
- allow user to cancel. Implementors should return ASAP.java.io.IOException
- on io erroras a (possibly) more efficient alternative
public java.util.List getData(LatLonRect boundingBox, CancelTask cancel) throws java.io.IOException
PointCollection
getData
in interface PointCollection
boundingBox
- restrict data to this bounding noxcancel
- allow user to cancel. Implementors should return ASAP.java.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, CancelTask cancel) 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 timecancel
- allow user to cancel. Implementors should return ASAP.java.io.IOException
- on io erroras a (possibly) more efficient alternative
public void sortByTime(java.util.List<StationObsDatatype> stationObs)
public DataIterator getDataIterator(Station s)
StationCollection
getDataIterator
in interface StationCollection
s
- for this Stationpublic DataIterator getDataIterator(Station s, java.util.Date start, java.util.Date end)
getDataIterator
in interface StationCollection
s
- for this Stationstart
- restrict data to after this timeend
- restrict data to before this time