Class TauP_Create

java.lang.Object
edu.sc.seis.TauP.TauP_Tool
edu.sc.seis.TauP.TauP_Create

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 Details

    • velFileType

      protected java.lang.String velFileType
    • GUI

      protected boolean GUI
    • toolProps

      protected java.util.Properties toolProps
  • Constructor Details

    • TauP_Create

      public TauP_Create()
  • Method Details

    • 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()
      Specified by:
      printUsage in class TauP_Tool
    • dashEquals

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

      protected java.lang.String[] parseCmdLineArgs​(java.lang.String[] origArgs)
      Specified by:
      parseCmdLineArgs in class TauP_Tool
    • main

      public static void main​(java.lang.String[] args) throws java.io.IOException
      Allows TauP_Create to run as an application. Creates an instance of TauP_Create and calls tauPCreate.init() and tauPCreate.start(). ToolRun.main should be used instead.
      Throws:
      java.io.IOException
    • parseFileName

      public void parseFileName​(java.lang.String modelFilename)
    • loadVMod

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

      Throws:
      VelocityModelException
      SlownessModelException
      TauModelException
    • start

      public void start() throws SlownessModelException, TauModelException, VelocityModelException, java.io.IOException
      Specified by:
      start in class TauP_Tool
      Throws:
      SlownessModelException
      TauModelException
      VelocityModelException
      java.io.IOException
    • init

      public void init() throws TauPException
      Specified by:
      init in class TauP_Tool
      Throws:
      TauPException
    • destroy

      public void destroy() throws TauPException
      Specified by:
      destroy in class TauP_Tool
      Throws:
      TauPException