Package ucar.nc2.ft.point
Class StationHelper
- java.lang.Object
-
- ucar.nc2.ft.point.StationHelper
-
public class StationHelper extends Object
Helper class for Station Collections. This assumes that calling getData( Station s) is cheap, ie that theres no cheaper filtering to do.- Since:
- Feb 5, 2008
-
-
Constructor Summary
Constructors Constructor Description StationHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addStation(StationFeature s)
LatLonRect
getBoundingBox()
StationFeature
getStation(String name)
StationFeature
getStationFeature(Station stn)
List<StationFeature>
getStationFeatures()
List<StationFeature>
getStationFeatures(List<Station> stations)
List<StationFeature>
getStationFeatures(LatLonRect boundingBox)
List<StationFeature>
getStationFeaturesFromNames(List<String> stnNames)
List<Station>
getStations()
List<Station>
getStations(List<String> stnNames)
List<Station>
getStations(LatLonRect boundingBox)
void
setStations(List<StationFeature> nstations)
StationHelper
subset(List<StationFeature> stns)
StationHelper
subset(LatLonRect bb)
-
-
-
Method Detail
-
addStation
public void addStation(StationFeature s)
-
setStations
public void setStations(List<StationFeature> nstations)
-
getBoundingBox
public LatLonRect getBoundingBox()
-
getStations
public List<Station> getStations(LatLonRect boundingBox)
-
getStationFeatures
public List<StationFeature> getStationFeatures(LatLonRect boundingBox)
-
getStation
public StationFeature getStation(String name)
-
getStationFeatures
public List<StationFeature> getStationFeatures()
-
getStationFeaturesFromNames
public List<StationFeature> getStationFeaturesFromNames(List<String> stnNames)
-
getStationFeatures
public List<StationFeature> getStationFeatures(List<Station> stations)
-
getStationFeature
public StationFeature getStationFeature(Station stn)
-
subset
public StationHelper subset(LatLonRect bb)
-
subset
public StationHelper subset(List<StationFeature> stns)
-
-