Package edu.sc.seis.TauP
Class TauP_SetMSeed3
- java.lang.Object
-
- edu.sc.seis.TauP.TauP_Tool
-
- edu.sc.seis.TauP.TauP_Time
-
- edu.sc.seis.TauP.TauP_SetMSeed3
-
public class TauP_SetMSeed3 extends TauP_Time
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>mseed3FileNames-
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_SetMSeed3()TauP_SetMSeed3(TauModel tMod)TauP_SetMSeed3(java.lang.String modelName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Arrival>calculate(java.util.List<java.lang.Double> degreesList)java.lang.StringgetStdUsage()Prints the command line arguments common to all TauP tools.java.lang.StringgetUsage()java.lang.StringgetUsageTail()static voidmain(java.lang.String[] args)Allows TauP_SetMSeed3 to run as an application.java.lang.String[]parseCmdLineArgs(java.lang.String[] args)voidprocessMSeed3File(java.io.File msd3File)voidstart()-
Methods inherited from class edu.sc.seis.TauP.TauP_Time
allowedOutputFormats, appendPhaseName, appendPhaseName, calcEventStation, calcRayParameter, calcRayParameter, calcRayParameterSDeg, calcTakeoff, calcTakeoff, calcTime, calcTime, 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, getStdUsageHead, getTauModel, getTauModelDepthCorrected, getTauModelName, init, 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, getOutFileExtension, getOutputFormat, getStdUsageHead, getStdUsageTail, getWriter, parseCommonCmdLineArgs, printNoComprendoArgs, printScriptBeginning, printUsage, setOutFileBase, setOutFileExtension, setOutputFormat, setWriter, toolNameFromClass
-
-
-
-
Constructor Detail
-
TauP_SetMSeed3
public TauP_SetMSeed3()
-
TauP_SetMSeed3
public TauP_SetMSeed3(TauModel tMod)
-
TauP_SetMSeed3
public TauP_SetMSeed3(java.lang.String modelName) throws TauModelException- Throws:
TauModelException
-
-
Method Detail
-
start
public void start() throws java.io.IOException, TauPException- Overrides:
startin classTauP_Time- Throws:
java.io.IOExceptionTauPException
-
processMSeed3File
public void processMSeed3File(java.io.File msd3File) throws java.io.IOException, edu.sc.seis.seisFile.SeisFileException, TauPException- Throws:
java.io.IOExceptionedu.sc.seis.seisFile.SeisFileExceptionTauPException
-
calculate
public java.util.List<Arrival> calculate(java.util.List<java.lang.Double> degreesList) throws TauPException
- Overrides:
calculatein classTauP_Time- Throws:
TauPException
-
getStdUsage
public java.lang.String getStdUsage()
Description copied from class:TauP_TimePrints the command line arguments common to all TauP tools.- Overrides:
getStdUsagein classTauP_Time
-
getUsageTail
public java.lang.String getUsageTail()
-
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.IOExceptionAllows TauP_SetMSeed3 to run as an application. Creates an instance of TauP_SetMSeed3. ToolRun.main should be used instead.- Throws:
java.io.IOException
-
-