Package edu.sc.seis.TauP
Class TauP_Table
java.lang.Object
edu.sc.seis.TauP.TauP_Tool
edu.sc.seis.TauP.TauP_Time
edu.sc.seis.TauP.TauP_Table
public class TauP_Table extends TauP_Time
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[]distancesstatic intGENERICprotected java.lang.StringheaderFilestatic intLOCSATprotected intoutputTypeFields inherited from class edu.sc.seis.TauP.TauP_Time
arrivals, azimuth, backAzimuth, degrees, depth, distKilometers, eventLat, eventLon, GUI, modelName, onlyPrintRayP, onlyPrintTime, phaseNames, receiverDepth, relativeArrival, relativePhaseName, stationLat, stationLon, takeoffAngle, tMod, tModDepth -
Constructor Summary
Constructors Constructor Description TauP_Table() -
Method Summary
Modifier and Type Method Description protected voidgenericTable(java.io.PrintWriter out)java.lang.StringgetOutFileExtension()voidinit()preforms intialization of the tool.protected voidlocsatTable(java.io.PrintWriter out)static voidmain(java.lang.String[] args)ToolRun.main should be used instead.java.lang.String[]parseCmdLineArgs(java.lang.String[] args)voidprintUsage()voidstart()Methods inherited from class edu.sc.seis.TauP.TauP_Time
appendPhaseName, appendPhaseName, calcTakeoff, calcTime, calculate, clearArrivals, clearPhaseNames, clearPhases, depthCorrect, depthCorrect, destroy, getArrival, getArrivals, getDisconDepths, getNumArrivals, getNumPhases, getPhaseNames, getPhaseNames, getPhaseNameString, getReceiverDepth, getSeismicPhases, getSourceDepth, getTauModel, getTauModelDepthCorrected, getTauModelName, linearInterp, loadTauModel, parseDegreeList, parsePhaseList, printHelp, printResult, printResultJSON, printResultText, printStdUsage, printStdUsageHead, readPhaseFile, readTauModel, recalcPhases, setPhaseNames, setPhaseNames, setReceiverDepth, setSourceDepth, setTauModel, sortArrivalsMethods inherited from class edu.sc.seis.TauP.TauP_Tool
dashEquals, endGmtAndCleanUp, getOutFile, getOutFileBase, getOutputFormat, getWriter, parseCommonCmdLineArgs, printNoComprendoArgs, printScriptBeginning, printStdUsageHead, printStdUsageTail, setOutFileBase, setOutFileExtension, setOutputFormat, setWriter, toolNameFromClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
GENERIC
public static final int GENERIC- See Also:
- Constant Field Values
-
LOCSAT
public static final int LOCSAT- See Also:
- Constant Field Values
-
outputType
protected int outputType -
headerFile
protected java.lang.String headerFile -
depths
protected double[] depths -
distances
protected double[] distances
-
-
Constructor Details
-
TauP_Table
- Throws:
TauModelException
-
-
Method Details
-
init
Description copied from class:TauP_Timepreforms intialization of the tool. Properties are queried for the the default model to load, source depth to use, phases to use, etc. Note that because of the IO inherent in these operations, this method is not appropriate for Applets. Applets should load TauModels themselves and use the setTauModel(TauModel) method.- Overrides:
initin classTauP_Time- Throws:
TauPException
-
start
- Overrides:
startin classTauP_Time- Throws:
TauModelExceptionTauPExceptionjava.io.IOException
-
getOutFileExtension
public java.lang.String getOutFileExtension()- Overrides:
getOutFileExtensionin classTauP_Tool
-
genericTable
- Throws:
TauModelExceptionjava.io.IOException
-
locsatTable
- Throws:
TauModelExceptionjava.io.IOException
-
printUsage
public void printUsage()- Overrides:
printUsagein classTauP_Time
-
parseCmdLineArgs
public java.lang.String[] parseCmdLineArgs(java.lang.String[] args) throws java.io.IOException- Overrides:
parseCmdLineArgsin classTauP_Time- Throws:
java.io.IOException
-
main
public static void main(java.lang.String[] args) throws java.io.IOExceptionToolRun.main should be used instead.- Throws:
java.io.IOException
-