public class TauP_SetSac extends TauP_Time
Modifier and Type | Field and Description |
---|---|
static int |
A_HEADER |
protected boolean |
evdpkm |
protected java.util.List<java.lang.String> |
sacFileNames |
arrivals, azimuth, backAzimuth, DEBUG, degrees, depth, eventLat, eventLon, expert, GUI, modelName, onlyPrintRayP, onlyPrintTime, outFileBase, outForms, phaseNames, receiverDepth, relativeArrival, relativePhaseName, stationLat, stationLon, takeoffAngle, tMod, tModDepth, toolProps, verbose, writer
Modifier | Constructor and Description |
---|---|
protected |
TauP_SetSac() |
|
TauP_SetSac(java.lang.String modelName) |
|
TauP_SetSac(TauModel tMod) |
Modifier and Type | Method and Description |
---|---|
void |
calculate(double degrees) |
boolean |
getEvdpkm() |
void |
init()
preforms intialization of the tool.
|
static void |
main(java.lang.String[] args)
Allows TauP_SetSac to run as an application.
|
java.lang.String[] |
parseCmdLineArgs(java.lang.String[] args) |
void |
printStdUsage()
Prints the command line arguments common to all TauP tools.
|
void |
printStdUsageTail() |
void |
printUsage() |
void |
processSacFile(java.io.File f) |
void |
setEvdpkm(boolean evdpkm) |
void |
setSacFileNames(java.lang.String[] sacFileNames) |
static void |
setSacTHeader(edu.sc.seis.seisFile.sac.SacTimeSeries sacFile,
int headerNum,
Arrival arrival) |
protected void |
setSacVarNums() |
void |
start() |
appendPhaseName, appendPhaseName, calcTakeoff, calcTime, clearArrivals, clearPhaseNames, dashEquals, depthCorrect, depthCorrect, destroy, getArrival, getArrivals, getDisconDepths, getNumArrivals, getNumPhases, getOutFile, getOutFileBase, getOutFileExtension, getPhaseNames, getPhaseNames, getPhaseNameString, getReceiverDepth, getSeismicPhases, getSourceDepth, getTauModel, getTauModelName, getWriter, linearInterp, loadTauModel, parseDegreeList, parsePhaseList, printHelp, printNoComprendoArgs, printResult, printScriptBeginning, printStdUsageHead, printStdUsageHead, readPhaseFile, readTauModel, recalcPhases, setOutFileBase, setPhaseNames, setPhaseNames, setReceiverDepth, setSourceDepth, setTauModel, sortArrivals
protected java.util.List<java.lang.String> sacFileNames
protected boolean evdpkm
public static final int A_HEADER
protected TauP_SetSac()
public TauP_SetSac(TauModel tMod) throws TauModelException
TauModelException
public TauP_SetSac(java.lang.String modelName) throws TauModelException
TauModelException
public boolean getEvdpkm()
public void setEvdpkm(boolean evdpkm)
public void setSacFileNames(java.lang.String[] sacFileNames)
protected void setSacVarNums()
public void calculate(double degrees) throws TauModelException
calculate
in class TauP_Time
TauModelException
public void init() throws java.io.IOException
TauP_Time
public void start() throws java.io.IOException, TauModelException
start
in class TauP_Time
java.io.IOException
TauModelException
public void processSacFile(java.io.File f) throws java.io.FileNotFoundException, java.io.IOException, TauModelException
java.io.FileNotFoundException
java.io.IOException
TauModelException
public static void setSacTHeader(edu.sc.seis.seisFile.sac.SacTimeSeries sacFile, int headerNum, Arrival arrival)
public void printStdUsage()
TauP_Time
printStdUsage
in class TauP_Time
public void printStdUsageTail()
printStdUsageTail
in class TauP_Time
public void printUsage()
printUsage
in class TauP_Time
public java.lang.String[] parseCmdLineArgs(java.lang.String[] args) throws java.io.IOException
parseCmdLineArgs
in class TauP_Time
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.FileNotFoundException, java.io.IOException, java.io.StreamCorruptedException, java.lang.ClassNotFoundException, java.io.OptionalDataException
java.io.FileNotFoundException
java.io.IOException
java.io.StreamCorruptedException
java.lang.ClassNotFoundException
java.io.OptionalDataException