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
 ucar.unidata.geoloc.LatLonRect getBoundingBox()
          Get the bounding box including all the stations.
 ucar.unidata.geoloc.Station getStation(java.lang.String name)
          Find a Station by name.
 java.util.List<ucar.unidata.geoloc.Station> getStations()
          Get all the Stations in the collection.
 java.util.List<ucar.unidata.geoloc.Station> getStations(ucar.unidata.geoloc.LatLonRect boundingBox)
          Get all the Stations within a bounding box.
 java.util.List<ucar.unidata.geoloc.Station> getStations(java.util.List<java.lang.String> stnNames)
          Translate list of station names to list of Stations.
 

Method Detail

getStations

java.util.List<ucar.unidata.geoloc.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<ucar.unidata.geoloc.Station> getStations(ucar.unidata.geoloc.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<ucar.unidata.geoloc.Station> getStations(java.util.List<java.lang.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

ucar.unidata.geoloc.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

ucar.unidata.geoloc.LatLonRect getBoundingBox()
Get the bounding box including all the stations.

Returns:
bounding box as a LatLonRect