Package edu.sc.seis.TauP.cmdline
Class TauP_Create
- java.lang.Object
-
- edu.sc.seis.TauP.cmdline.TauP_Tool
-
- edu.sc.seis.TauP.cmdline.TauP_Create
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
public class TauP_Create extends TauP_Tool
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
Fields Modifier and Type Field Description protected booleanGUI-
Fields inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
ABREV_SYNOPSIS, abstractOutputTypeArgs, OPTIONS_HEADING, toolProps
-
-
Constructor Summary
Constructors Constructor Description TauP_Create()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()booleangetDEBUG()java.lang.StringgetDirectory()java.lang.StringgetOutputFormat()voidinit()VelocityModelloadVMod()voidsetAllowInnerCoreS(boolean allowInnerCoreS)voidsetDEBUG(boolean DEBUG)Turns on debugging output.voidsetDirectory(java.lang.String directory)voidsetMaxDeltaP(float maxDeltaP)voidsetMaxDepthInterval(float maxDepthInterval)voidsetMaxInterpError(float maxInterpError)voidsetMaxRangeInterval(float maxRangeInterval)voidsetMinDeltaP(float minDeltaP)voidsetModelFilename(java.lang.String modelFilename)voidsetVelFileType(java.lang.String type)voidsetVelocityModel(VelocityModel vMod)voidstart()voidvalidateArguments()-
Methods inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
call, configDefaults, getCmdLineArgs, getOutFileExtension, isDEBUG, isVerbose, setOutFileBase, setOutFileExtension, setOutputFormat, setToolPropsFilename, setVerbose, toolNameFromClass
-
-
-
-
Method Detail
-
setDirectory
public void setDirectory(java.lang.String directory)
-
getDirectory
public java.lang.String getDirectory()
-
setModelFilename
public void setModelFilename(java.lang.String modelFilename)
-
getOutputFormat
public java.lang.String getOutputFormat()
- Specified by:
getOutputFormatin classTauP_Tool
-
setVelFileType
public void setVelFileType(java.lang.String type)
-
setDEBUG
public void setDEBUG(boolean DEBUG)
Description copied from class:TauP_ToolTurns on debugging output.
-
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)
-
loadVMod
public VelocityModel loadVMod() throws java.io.IOException, VelocityModelException
- Throws:
java.io.IOExceptionVelocityModelException
-
validateArguments
public void validateArguments() throws TauModelException- Specified by:
validateArgumentsin classTauP_Tool- Throws:
TauModelException
-
start
public void start() throws SlownessModelException, TauModelException, java.io.IOException- Specified by:
startin classTauP_Tool- Throws:
SlownessModelExceptionTauModelExceptionjava.io.IOException
-
init
public void init() throws TauPException- Specified by:
initin classTauP_Tool- Throws:
TauPException
-
destroy
public void destroy() throws TauPException- Specified by:
destroyin classTauP_Tool- Throws:
TauPException
-
-