Package edu.sc.seis.sod.process.waveform
Class LegacyExecute
java.lang.Object
edu.sc.seis.sod.process.waveform.LegacyExecute
- All Implemented Interfaces:
WaveformProcess
,SodElement
,Subsetter
- Direct Known Subclasses:
LegacyVectorExecute
public class LegacyExecute extends java.lang.Object implements WaveformProcess
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
command
protected java.lang.String
prefix
protected java.io.File
workingDirectory
-
Constructor Summary
Constructors Constructor Description LegacyExecute(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)
Removes the mean from the seismograms.protected int
process(java.lang.String args)
-
Field Details
-
command
protected java.lang.String command -
prefix
protected java.lang.String prefix -
workingDirectory
protected java.io.File workingDirectory
-
-
Constructor Details
-
LegacyExecute
public LegacyExecute(org.w3c.dom.Element config)
-
-
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.ExceptionRemoves the mean from the seismograms.- Specified by:
accept
in interfaceWaveformProcess
- Throws:
java.lang.Exception
-
process
protected int process(java.lang.String args) throws java.lang.InterruptedException, java.io.IOException- Throws:
java.lang.InterruptedException
java.io.IOException
-