ucar.nc2.ft
Interface StationCollection

All Known Subinterfaces:
StationProfileFeatureCollection, StationRadialDataset, StationTimeSeriesFeatureCollection
All Known Implementing Classes:
CompositeStationCollection, RemoteStationCollection, StandardStationCollectionImpl, StandardStationProfileCollectionImpl, StationProfileCollectionImpl, StationTimeSeriesCollectionImpl

public interface StationCollection

A collection of data at named locations called Stations. User can subset by bounding box .

Author:
caron

Method Summary
 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(LatLonRect boundingBox)
          Get all the Stations within a bounding box.
 List<Station> getStations(List<String> stnNames)
          Translate list of station names to list of Stations.
 

Method Detail

getStations

List<Station> getStations()
                          throws IOException
Get all the Stations in the collection.

Returns:
List of Station
Throws:
IOException - on i/o error

getStations

List<Station> getStations(LatLonRect boundingBox)
                          throws IOException
Get all the Stations within a bounding box.

Parameters:
boundingBox - spatial subset
Returns:
List of Station
Throws:
IOException - on i/o error

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


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.