edu.sc.seis.TauP
Class TauP_Create

java.lang.Object
  extended by edu.sc.seis.TauP.TauP_Create

public class TauP_Create
extends java.lang.Object

TauP_Create - Re-implementation of the seismic travel time calculation method described in "The Computation of Seismic Travel Times" by Buland and Chapman, BSSA vol. 73, No. 5, October 1983, pp 1271-1302. This creates the SlownessModel and tau branches and saves them for later use.


Field Summary
protected  boolean GUI
           
protected  boolean plotSmod
           
protected  java.lang.String plotSmodFilename
           
protected  boolean plotTmod
           
protected  java.lang.String plotTmodFilename
           
protected  boolean plotVmod
           
protected  java.lang.String plotVmodFilename
           
protected  java.util.Properties toolProps
           
protected  java.lang.String velFileType
           
 boolean verbose
           
 
Constructor Summary
TauP_Create()
           
 
Method Summary
 TauModel createTauModel(VelocityModel vMod)
           
static boolean dashEquals(java.lang.String argName, java.lang.String arg)
           
 boolean getDEBUG()
           
 java.lang.String getDirectory()
           
 java.lang.String getModelFilename()
           
 java.lang.String getVelFileType()
           
 VelocityModel loadVMod()
           
static void main(java.lang.String[] args)
          Allows TauP_Create to run as an application.
protected  java.lang.String[] parseCmdLineArgs(java.lang.String[] args)
           
 void parseFileName(java.lang.String modelFilename)
           
 void printUsage()
           
 void setAllowInnerCoreS(boolean allowInnerCoreS)
           
 void setDEBUG(boolean DEBUG)
           
 void setDirectory(java.lang.String directory)
           
 void setMaxDeltaP(float maxDeltaP)
           
 void setMaxDepthInterval(float maxDepthInterval)
           
 void setMaxInterpError(float maxInterpError)
           
 void setMaxRangeInterval(float maxRangeInterval)
           
 void setMinDeltaP(float minDeltaP)
           
 void setModelFilename(java.lang.String modelFilename)
           
 void setVelFileType(java.lang.String type)
           
 void setVelocityModel(VelocityModel vMod)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verbose

public transient boolean verbose

velFileType

protected java.lang.String velFileType

GUI

protected boolean GUI

toolProps

protected java.util.Properties toolProps

plotVmod

protected boolean plotVmod

plotVmodFilename

protected java.lang.String plotVmodFilename

plotSmod

protected boolean plotSmod

plotSmodFilename

protected java.lang.String plotSmodFilename

plotTmod

protected boolean plotTmod

plotTmodFilename

protected java.lang.String plotTmodFilename
Constructor Detail

TauP_Create

public TauP_Create()
Method Detail

setDirectory

public void setDirectory(java.lang.String directory)

getDirectory

public java.lang.String getDirectory()

setModelFilename

public void setModelFilename(java.lang.String modelFilename)

getModelFilename

public java.lang.String getModelFilename()

getVelFileType

public java.lang.String getVelFileType()

setVelFileType

public void setVelFileType(java.lang.String type)

setDEBUG

public void setDEBUG(boolean DEBUG)

getDEBUG

public boolean getDEBUG()

setVelocityModel

public void setVelocityModel(VelocityModel vMod)

setMinDeltaP

public void setMinDeltaP(float minDeltaP)

setMaxDeltaP

public void setMaxDeltaP(float maxDeltaP)

setMaxDepthInterval

public void setMaxDepthInterval(float maxDepthInterval)

setMaxRangeInterval

public void setMaxRangeInterval(float maxRangeInterval)

setMaxInterpError

public void setMaxInterpError(float maxInterpError)

setAllowInnerCoreS

public void setAllowInnerCoreS(boolean allowInnerCoreS)

printUsage

public void printUsage()

dashEquals

public static boolean dashEquals(java.lang.String argName,
                                 java.lang.String arg)

parseCmdLineArgs

protected java.lang.String[] parseCmdLineArgs(java.lang.String[] args)

main

public static void main(java.lang.String[] args)
                 throws SlownessModelException,
                        TauModelException
Allows TauP_Create to run as an application. Creates an instance of TauP_Create and calls tauPCreate.init() and tauPCreate.start().

Throws:
SlownessModelException
TauModelException

parseFileName

public void parseFileName(java.lang.String modelFilename)

loadVMod

public VelocityModel loadVMod()
                       throws java.io.IOException,
                              VelocityModelException
Throws:
java.io.IOException
VelocityModelException

createTauModel

public TauModel createTauModel(VelocityModel vMod)
                        throws VelocityModelException,
                               SlownessModelException,
                               TauModelException
Throws:
VelocityModelException
SlownessModelException
TauModelException

start

public void start()
           throws SlownessModelException,
                  TauModelException
Throws:
SlownessModelException
TauModelException