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[]distancesprotected java.lang.StringheaderFilestatic java.lang.StringLOCSAT-
Fields inherited from class edu.sc.seis.TauP.TauP_Time
arrivals, azimuth, backAzimuth, DEFAULT_PHASES, degreesList, depth, distKilometersList, eventLat, eventLon, GUI, modelName, onlyFirst, onlyPrintRayP, onlyPrintTime, phaseNames, receiverDepth, relativePhaseName, scattererDepth, scattererDistDeg, shootRayp, stationLat, stationLon, takeoffAngle, tMod, tModDepth
-
Fields inherited from class edu.sc.seis.TauP.TauP_Tool
cmdLineArgs, CSV, DEBUG, GMT, JSON, outFileBase, outForms, outputFormat, SVG, TEXT, toolProps, verbose, writer
-
-
Constructor Summary
Constructors Constructor Description TauP_Table()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcsvTable(java.io.PrintWriter out)protected voidgenericTable(java.io.PrintWriter out)java.lang.StringgetOutFileExtension()java.lang.StringgetUsage()voidinit()preforms intialization of the tool.protected voidjsonTable(java.io.PrintWriter out)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)voidstart()-
Methods inherited from class edu.sc.seis.TauP.TauP_Time
allowedOutputFormats, appendPhaseName, appendPhaseName, calcEventStation, calcRayParameter, calcRayParameter, calcRayParameterSDeg, calcTakeoff, calcTakeoff, calcTime, calcTime, calculate, calculate, calculateRelativeArrival, clearArrivals, clearPhaseNames, clearPhases, depthCorrect, depthCorrect, depthCorrect, depthCorrect, destroy, extractPhaseNames, getArrival, getArrivals, getDisconDepths, getDistanceUsage, getLimitUsage, getNumArrivals, getNumPhases, getPhaseNames, getPhaseNames, getPhaseNameString, getPhaseUsage, getReceiverDepth, getScattererDepth, getScattererDistDeg, getSeismicPhases, getSourceDepth, getStdUsage, getStdUsageHead, getTauModel, getTauModelDepthCorrected, getTauModelName, linearInterp, loadTauModel, parseDegreeList, parsePhaseList, parseSourceModelCmdLineArgs, printHelp, printResult, printResultJSON, printResultText, readPhaseFile, readTauModel, recalcPhases, resultAsJSON, resultAsJSONObject, setDefaultOutputFormat, setEventLatLon, setPhaseNames, setPhaseNames, setReceiverDepth, setScatterer, setScattererDepth, setScattererDistDeg, setSourceDepth, setStationLatLon, setTauModel, sortArrivals, splitPhaseNameList, validateArguments, writeJSON, writeJSON
-
Methods inherited from class edu.sc.seis.TauP.TauP_Tool
closeWriter, configDefaults, dashEquals, endGmtAndCleanUp, getModDepthUsage, getOutFile, getOutFileBase, getOutputFormat, getStdUsageHead, getStdUsageTail, getWriter, parseCommonCmdLineArgs, printNoComprendoArgs, printScriptBeginning, printUsage, setOutFileBase, setOutFileExtension, setOutputFormat, setWriter, toolNameFromClass
-
-
-
-
Field Detail
-
LOCSAT
public static final java.lang.String LOCSAT
- See Also:
- Constant Field Values
-
headerFile
protected java.lang.String headerFile
-
depths
protected double[] depths
-
distances
protected double[] distances
-
-
Method Detail
-
init
public void init() throws TauPExceptionDescription 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
public void start() throws TauModelException, TauPException, java.io.IOException- Overrides:
startin classTauP_Time- Throws:
TauModelExceptionTauPExceptionjava.io.IOException
-
getOutFileExtension
public java.lang.String getOutFileExtension()
- Overrides:
getOutFileExtensionin classTauP_Tool
-
jsonTable
protected void jsonTable(java.io.PrintWriter out) throws TauPException, java.io.IOException- Throws:
TauPExceptionjava.io.IOException
-
csvTable
protected void csvTable(java.io.PrintWriter out) throws TauPException, java.io.IOException- Throws:
TauPExceptionjava.io.IOException
-
genericTable
protected void genericTable(java.io.PrintWriter out) throws TauPException, java.io.IOException- Throws:
TauPExceptionjava.io.IOException
-
locsatTable
protected void locsatTable(java.io.PrintWriter out) throws TauPException, java.io.IOException- Throws:
TauPExceptionjava.io.IOException
-
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
-
-