ucar.nc2.ft
Interface StationCollection

All Known Subinterfaces:
StationProfileFeatureCollection, StationTimeSeriesFeatureCollection

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(java.lang.String name)
          Find a Station by name.
 java.util.List<Station> getStations()
          Get all the Stations in the collection.
 java.util.List<Station> getStations(LatLonRect boundingBox)
          Get all the Stations within a bounding box.
 java.util.List<Station> getStations(java.lang.String[] names)
          Get a list of named Stations.
 

Method Detail

getStations

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

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

getStations

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

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

getStations

java.util.List<Station> getStations(java.lang.String[] names)
                                    throws java.io.IOException
Get a list of named Stations.

Parameters:
names - names of stations ids
Returns:
List of coresponding Stations, skip unknown
Throws:
java.io.IOException - on i/o error

getStation

Station getStation(java.lang.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