Package ucar.nc2.ft
Interface StationCollection
-
- All Known Subinterfaces:
StationRadialDataset
public interface StationCollection
A collection of data at named locations called Stations. User can subset by bounding box .
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LatLonRect
getBoundingBox()
Get the bounding box including all the stations.Station
getStation(String name)
Find a Station by name.List<Station>
getStations()
Get all the Stations in the collection.List<Station>
getStations(List<String> stnNames)
Translate list of station names to list of Stations.List<Station>
getStations(LatLonRect boundingBox)
Get all the Stations within a bounding box.
-
-
-
Method Detail
-
getStations
List<Station> getStations()
Get all the Stations in the collection.- Returns:
- List of Station
-
getStations
List<Station> getStations(LatLonRect boundingBox)
Get all the Stations within a bounding box.- Parameters:
boundingBox
- spatial subset- Returns:
- List of Station
-
getStations
List<Station> getStations(List<String> stnNames)
Translate list of station names to list of Stations. Skip any not found- Parameters:
stnNames
- list of stnNames- Returns:
- corresponding list of Stations
-
getStation
Station getStation(String name)
Find a Station by name.- Parameters:
name
- name/id of the station- Returns:
- Station or null if not found
-
getBoundingBox
LatLonRect getBoundingBox()
Get the bounding box including all the stations.- Returns:
- bounding box as a LatLonRect
-
-