Package edu.sc.seis.TauP.cmdline
Class TauP_Table
- java.lang.Object
-
- edu.sc.seis.TauP.cmdline.TauP_Tool
-
- edu.sc.seis.TauP.cmdline.TauP_Table
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
public class TauP_Table extends TauP_Tool
Creates a table of travel times for a phase. Only uses the first arrival at any distance.
-
-
Field Summary
Fields Modifier and Type Field Description protected double[]depthsprotected double[]distancesprotected java.lang.StringheaderFile-
Fields inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
ABREV_SYNOPSIS, abstractOutputTypeArgs, OPTIONS_HEADING, toolProps
-
-
Constructor Summary
Constructors Constructor Description TauP_Table()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Arrival>calcAll(java.util.List<SeismicPhase> phaseList, java.util.List<RayCalculateable> shootables)protected voidcsvTable(java.io.PrintWriter out, TauModel tMod, java.util.List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, java.util.List<RayCalculateable> rayCalcList)voiddestroy()protected voidgenericTable(java.io.PrintWriter out, TauModel tMod, java.util.List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, java.util.List<RayCalculateable> rayCalcList)java.lang.StringgetHeaderFile()java.lang.StringgetOutFileExtension()java.lang.StringgetOutputFormat()voidinit()protected voidjsonTable(java.io.PrintWriter out, TauModel tMod, java.util.List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, java.util.List<RayCalculateable> rayCalcList)protected voidlocsatTable(java.io.PrintWriter out, TauModel tMod, java.util.List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, java.util.List<RayCalculateable> rayCalcList)protected java.util.List<SeismicPhase>recalcPhases(TauModel tMod, java.util.List<PhaseName> phaseNames, double depth, double receiverDepth, Scatterer scatterer)voidsetHeaderFile(java.lang.String headerFile)voidstart()voidvalidateArguments()-
Methods inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
call, configDefaults, getCmdLineArgs, isDEBUG, isVerbose, setDEBUG, setOutFileBase, setOutFileExtension, setOutputFormat, setToolPropsFilename, setVerbose, toolNameFromClass
-
-
-
-
Method Detail
-
getOutputFormat
public java.lang.String getOutputFormat()
- Specified by:
getOutputFormatin classTauP_Tool
-
init
public void init() throws TauPException- Specified by:
initin classTauP_Tool- Throws:
TauPException
-
start
public void start() throws TauPException, java.io.IOException- Specified by:
startin classTauP_Tool- Throws:
TauPExceptionjava.io.IOException
-
destroy
public void destroy() throws TauPException- Specified by:
destroyin classTauP_Tool- Throws:
TauPException
-
validateArguments
public void validateArguments() throws TauPException- Specified by:
validateArgumentsin classTauP_Tool- Throws:
TauPException
-
getOutFileExtension
public java.lang.String getOutFileExtension()
- Overrides:
getOutFileExtensionin classTauP_Tool
-
calcAll
public java.util.List<Arrival> calcAll(java.util.List<SeismicPhase> phaseList, java.util.List<RayCalculateable> shootables) throws TauPException
- Throws:
TauPException
-
jsonTable
protected void jsonTable(java.io.PrintWriter out, TauModel tMod, java.util.List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, java.util.List<RayCalculateable> rayCalcList) throws TauPException- Throws:
TauPException
-
recalcPhases
protected java.util.List<SeismicPhase> recalcPhases(TauModel tMod, java.util.List<PhaseName> phaseNames, double depth, double receiverDepth, Scatterer scatterer) throws TauModelException
- Throws:
TauModelException
-
csvTable
protected void csvTable(java.io.PrintWriter out, TauModel tMod, java.util.List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, java.util.List<RayCalculateable> rayCalcList) throws TauPException- Throws:
TauPException
-
genericTable
protected void genericTable(java.io.PrintWriter out, TauModel tMod, java.util.List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, java.util.List<RayCalculateable> rayCalcList) throws TauPException- Throws:
TauPException
-
locsatTable
protected void locsatTable(java.io.PrintWriter out, TauModel tMod, java.util.List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, java.util.List<RayCalculateable> rayCalcList) throws TauPException- Throws:
TauPException
-
getHeaderFile
public java.lang.String getHeaderFile()
-
setHeaderFile
public void setHeaderFile(java.lang.String headerFile)
-
-