edu.sc.seis.sod.subsetter.station
Class StationPointDistance

java.lang.Object
  extended by edu.sc.seis.sod.subsetter.DistanceRangeSubsetter
      extended by edu.sc.seis.sod.subsetter.origin.AbstractOriginPoint
          extended by edu.sc.seis.sod.subsetter.station.StationPointDistance
All Implemented Interfaces:
SodElement, StationSubsetter, Subsetter

public class StationPointDistance
extends AbstractOriginPoint
implements StationSubsetter


Field Summary
 
Fields inherited from class edu.sc.seis.sod.subsetter.origin.AbstractOriginPoint
latitude, longitude
 
Constructor Summary
StationPointDistance(org.w3c.dom.Element config)
           
 
Method Summary
 StringTree accept(StationImpl station, NetworkSource network)
          Accepts a station only if it lies within the given distance range of the given lat and lon.
 
Methods inherited from class edu.sc.seis.sod.subsetter.origin.AbstractOriginPoint
getLatLon
 
Methods inherited from class edu.sc.seis.sod.subsetter.DistanceRangeSubsetter
getMax, getMin, getUnitRange, processConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StationPointDistance

public StationPointDistance(org.w3c.dom.Element config)
                     throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

accept

public StringTree accept(StationImpl station,
                         NetworkSource network)
Accepts a station only if it lies within the given distance range of the given lat and lon.

Specified by:
accept in interface StationSubsetter