IRIS_HOST

Type: string

TEXT_FORMAT

Type: string

JSON_FORMAT

Type: string

SVG_FORMAT

Type: string

TraveltimeJsonType

src/traveltime.ts

Type for json returned by iris traveltime web service

TraveltimeJsonType

Type: {model: string, sourcedepth: number, receiverdepth: number, phases: Array<string>, arrivals: Array<TraveltimeArrivalType>}

Properties
model (string)
sourcedepth (number)
receiverdepth (number)
phases (Array<string>)

TraveltimeArrivalType

src/traveltime.ts
TraveltimeArrivalType

Type: {distdeg: number, phase: string, time: number, rayparam: number, takeoff: number, incident: number, puristdist: number, puristname: string}

Properties
distdeg (number)
phase (string)
time (number)
rayparam (number)
takeoff (number)
incident (number)
puristdist (number)
puristname (string)

convertTravelTimeLineToObject

src/traveltime.ts

converts a text line from the text format into an TraveltimeArrivalType object like what is returned by the json format.

convertTravelTimeLineToObject(ttimeline: string): TraveltimeArrivalType
Parameters
ttimeline (string) travel time output line for an arrival
Returns
TraveltimeArrivalType: parsed travel time arrival

createOriginArrival

src/traveltime.ts
createOriginArrival(dist: number): TraveltimeArrivalType
Parameters
dist (number)
Returns
TraveltimeArrivalType

TraveltimeQuery

src/traveltime.ts

Query to the IRIS traveltime webservice, based on the TauP Toolkit. See http://service.iris.edu/irisws/traveltime/1/ and https://www.seis.sc.edu/TauP/

new TraveltimeQuery(host: (string | null)?)

Extends FDSNCommon

Parameters
host ((string | null)?) optional host to connect to, defaults to IRIS
Instance Members
protocol(value?)
getProtocol()
host(value?)
getHost()
port(value?)
getPort()
nodata(value?)
getNodata()
specVersion(value?)
getSpecVersion()
evdepth(value?)
evdepthInMeter(value?)
getEvdepth()
distdeg(value?)
getDistdeg()
model(value?)
getModel()
phases(value?)
getPhases()
stalat(value?)
getStalat()
stalon(value?)
getStalon()
latLonFromStation(station)
evlat(value?)
getEvlat()
evlon(value?)
getEvlon()
latLonFromQuake(quake)
format(value?)
getFormat()
noheader(value?)
getNoheader()
timeout(value?)
getTimeout()
queryText()
querySvg()
queryWadl()
query()
formBaseURL()
formURL()
queryTauPVersion()
formTauPVersionURL()
formWadlURL()

FAKE_EMPTY_TEXT_MODEL

src/traveltime.ts
FAKE_EMPTY_TEXT_MODEL

FAKE_EMPTY_TEXT_HEADERS

src/traveltime.ts
FAKE_EMPTY_TEXT_HEADERS

FAKE_EMPTY_SVG

src/traveltime.ts
FAKE_EMPTY_SVG