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.String
getStdUsage()
Prints the command line arguments common to all TauP tools.java.lang.String
getUsage()
java.lang.String
getUsageTail()
static void
main(java.lang.String[] args)
Allows TauP_SetMSeed3 to run as an application.java.lang.String[]
parseCmdLineArgs(java.lang.String[] args)
void
processMSeed3File(java.io.File msd3File)
void
start()
-
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:
start
in classTauP_Time
- Throws:
java.io.IOException
TauPException
-
processMSeed3File
public void processMSeed3File(java.io.File msd3File) throws java.io.IOException, edu.sc.seis.seisFile.SeisFileException, TauPException
- Throws:
java.io.IOException
edu.sc.seis.seisFile.SeisFileException
TauPException
-
calculate
public java.util.List<Arrival> calculate(java.util.List<java.lang.Double> degreesList) throws TauPException
- Overrides:
calculate
in classTauP_Time
- Throws:
TauPException
-
getStdUsage
public java.lang.String getStdUsage()
Description copied from class:TauP_Time
Prints the command line arguments common to all TauP tools.- Overrides:
getStdUsage
in classTauP_Time
-
getUsageTail
public java.lang.String getUsageTail()
-
parseCmdLineArgs
public java.lang.String[] parseCmdLineArgs(java.lang.String[] args) throws java.io.IOException
- Overrides:
parseCmdLineArgs
in classTauP_Time
- Throws:
java.io.IOException
-
main
public static void main(java.lang.String[] args) throws java.io.IOException
Allows TauP_SetMSeed3 to run as an application. Creates an instance of TauP_SetMSeed3. ToolRun.main should be used instead.- Throws:
java.io.IOException
-
-