Package edu.sc.seis.TauP.cmdline
Class TauP_DistAz
- java.lang.Object
-
- edu.sc.seis.TauP.cmdline.TauP_Tool
-
- edu.sc.seis.TauP.cmdline.TauP_DistAz
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
public class TauP_DistAz extends TauP_Tool
Calc distance, az and baz for event lat,lon and station lat,lon pairs.
-
-
Field Summary
-
Fields inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
ABREV_SYNOPSIS, abstractOutputTypeArgs, OPTIONS_HEADING, toolProps
-
-
Constructor Summary
Constructors Constructor Description TauP_DistAz()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Double>createDistDegreeList()voiddestroy()java.lang.StringgetGeodeticStr()java.lang.StringgetOutputFormat()java.util.List<java.lang.Double>getReceiverDepths()java.util.List<java.lang.Double>getSourceDepths()voidinit()preforms intialization of the tool.java.lang.DoublekmToDeg()voidsetQuakemlText(java.lang.String quakemlText)voidsetStationxmlText(java.lang.String staxmlText)voidstart()voidvalidateArguments()-
Methods inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
call, configDefaults, getCmdLineArgs, getOutFileExtension, isDEBUG, isVerbose, setDEBUG, setOutFileBase, setOutFileExtension, setOutputFormat, setToolPropsFilename, setVerbose, toolNameFromClass
-
-
-
-
Method Detail
-
getOutputFormat
public java.lang.String getOutputFormat()
- Specified by:
getOutputFormatin classTauP_Tool
-
init
public void init() throws TauPExceptionpreforms intialization of the tool. Properties are queried for the default model to load, source depth to use, phases to use, etc.- Specified by:
initin classTauP_Tool- Throws:
TauPException
-
start
public void start() throws java.io.IOException, TauPException- Specified by:
startin classTauP_Tool- Throws:
java.io.IOExceptionTauPException
-
destroy
public void destroy() throws TauPException- Specified by:
destroyin classTauP_Tool- Throws:
TauPException
-
getGeodeticStr
public java.lang.String getGeodeticStr()
-
validateArguments
public void validateArguments() throws TauPException- Specified by:
validateArgumentsin classTauP_Tool- Throws:
TauPException
-
createDistDegreeList
public java.util.List<java.lang.Double> createDistDegreeList()
-
kmToDeg
public java.lang.Double kmToDeg()
-
setQuakemlText
public void setQuakemlText(java.lang.String quakemlText)
-
setStationxmlText
public void setStationxmlText(java.lang.String staxmlText)
-
getReceiverDepths
public java.util.List<java.lang.Double> getReceiverDepths()
-
getSourceDepths
public java.util.List<java.lang.Double> getSourceDepths()
-
-