edu.sc.seis.TauP
Class TauP_Table

java.lang.Object
  extended by edu.sc.seis.TauP.TauP_Time
      extended by edu.sc.seis.TauP.TauP_Table

public class TauP_Table
extends TauP_Time

Creates a table of travel times for a phase. Only uses the first arrival at any distance.


Field Summary
protected  double[] depths
           
protected  double[] distances
           
static int GENERIC
           
protected  java.lang.String headerFile
           
static int LOCSAT
           
protected  int outputType
           
 
Fields inherited from class edu.sc.seis.TauP.TauP_Time
arrivals, azimuth, backAzimuth, DEBUG, degrees, depth, dos, eventLat, eventLon, expert, GUI, modelName, onlyPrintRayP, onlyPrintTime, outFile, outForms, phaseNames, phases, relativeArrival, relativePhaseName, stationLat, stationLon, tMod, tModDepth, toolProps, verbose
 
Constructor Summary
TauP_Table()
           
 
Method Summary
protected  void genericTable(java.io.DataOutputStream dos)
           
 void init()
          preforms intialization of the tool.
protected  void locsatTable(java.io.DataOutputStream dos)
           
static void main(java.lang.String[] args)
           
 java.lang.String[] parseCmdLineArgs(java.lang.String[] args)
           
 void printUsage()
           
 void start()
           
 
Methods inherited from class edu.sc.seis.TauP.TauP_Time
appendPhaseName, appendPhaseName, calcTime, calculate, clearArrivals, clearPhaseNames, depthCorrect, destroy, getArrival, getArrivals, getDisconDepths, getNumArrivals, getNumPhases, getPhaseNames, getPhaseNames, getPhaseNameString, getSeismicPhases, getSourceDepth, getTauModel, getTauModelName, loadTauModel, parseDegreeList, parsePhaseList, printHelp, printNoComprendoArgs, printResult, printResult, printStdUsage, printStdUsageHead, printStdUsageHead, printStdUsageTail, readPhaseFile, readTauModel, recalcPhases, setPhaseNames, setPhaseNames, setSourceDepth, setTauModel, sortArrivals
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GENERIC

public static final int GENERIC
See Also:
Constant Field Values

LOCSAT

public static final int LOCSAT
See Also:
Constant Field Values

outputType

protected int outputType

headerFile

protected java.lang.String headerFile

depths

protected double[] depths

distances

protected double[] distances
Constructor Detail

TauP_Table

public TauP_Table()
           throws TauModelException
Throws:
TauModelException
Method Detail

init

public void init()
          throws java.io.IOException
Description copied from class: TauP_Time
preforms intialization of the tool. Properties are queried for the the default model to load, source depth to use, phases to use, etc. Note that because of the IO inherent in these operations, this method is not appropriate for Applets. Applets should load TauModels themselves and use the setTauModel(TauModel) method.

Overrides:
init in class TauP_Time
Throws:
java.io.IOException

start

public void start()
           throws TauModelException,
                  TauPException,
                  java.io.IOException
Overrides:
start in class TauP_Time
Throws:
TauModelException
TauPException
java.io.IOException

genericTable

protected void genericTable(java.io.DataOutputStream dos)
                     throws TauModelException,
                            java.io.IOException
Throws:
TauModelException
java.io.IOException

locsatTable

protected void locsatTable(java.io.DataOutputStream dos)
                    throws TauModelException,
                           java.io.IOException
Throws:
TauModelException
java.io.IOException

printUsage

public void printUsage()
Overrides:
printUsage in class TauP_Time

parseCmdLineArgs

public java.lang.String[] parseCmdLineArgs(java.lang.String[] args)
                                    throws java.io.IOException
Overrides:
parseCmdLineArgs in class TauP_Time
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)