Package edu.sc.seis.sod.process.waveform
Class SeismogramAND
java.lang.Object
edu.sc.seis.sod.process.waveform.ForkProcess
edu.sc.seis.sod.process.waveform.SeismogramAND
- All Implemented Interfaces:
WaveformProcess
,SodElement
,Subsetter
,Threadable
public class SeismogramAND extends ForkProcess
-
Field Summary
Fields inherited from class edu.sc.seis.sod.process.waveform.ForkProcess
localSeisProcessList, packages
-
Constructor Summary
Constructors Constructor Description SeismogramAND(org.w3c.dom.Element config)
-
Method Summary
Modifier and Type Method Description WaveformResult
accept(edu.sc.seis.sod.model.event.CacheEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Channel channel, edu.sc.seis.sod.model.seismogram.RequestFilter[] original, edu.sc.seis.sod.model.seismogram.RequestFilter[] available, edu.sc.seis.sod.model.seismogram.LocalSeismogramImpl[] seismograms, MeasurementStorage cookieJar)
Forks the processing off the LocalSeismograms.Methods inherited from class edu.sc.seis.sod.process.waveform.ForkProcess
copySeismograms, createSubsetter, doAND, getWrappedProcessors, isThreadSafe, toString
-
Constructor Details
-
SeismogramAND
- Throws:
ConfigurationException
-
-
Method Details
-
accept
public WaveformResult accept(edu.sc.seis.sod.model.event.CacheEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Channel channel, edu.sc.seis.sod.model.seismogram.RequestFilter[] original, edu.sc.seis.sod.model.seismogram.RequestFilter[] available, edu.sc.seis.sod.model.seismogram.LocalSeismogramImpl[] seismograms, MeasurementStorage cookieJar) throws java.lang.ExceptionDescription copied from class:ForkProcess
Forks the processing off the LocalSeismograms. The processes that are contained in this tag are processed, but the return value off the process method is the original seismograms. This allows, for example to process both a original and a filtered version of the seismograms independently.- Specified by:
accept
in interfaceWaveformProcess
- Overrides:
accept
in classForkProcess
- Throws:
java.lang.Exception
-