USC_HOST

Type: string

TEXT_FORMAT

dist/taup3.mjs
TEXT_FORMAT

Type: string

JSON_FORMAT

dist/taup3.mjs
JSON_FORMAT

Type: string

SVG_FORMAT

dist/taup3.mjs
SVG_FORMAT

Type: string

TAUP_SERVICE

dist/taup3.mjs

const for service name

TAUP_SERVICE

Type: string

TAUP_TIME_TOOL

dist/taup3.mjs
TAUP_TIME_TOOL

Type: string

TAUP_PATH_TOOL

dist/taup3.mjs
TAUP_PATH_TOOL

Type: string

isValidTauP3TimeJsonType

dist/taup3.mjs

Verifies that JSON matches the types we expect, for typescript.

isValidTauP3TimeJsonType(v: any): any
Parameters
v (any) JSON object, usually from the traveltime web service
Returns
any: true if matches expected structure

isValidTraveltimeArrivalType

dist/taup3.mjs
isValidTraveltimeArrivalType(v: any)
Parameters
v (any)

createOriginArrival

dist/taup3.mjs

Creates a fake arrival for the origin time, useful to display a flag at origin time similar to the P and S arrival.

createOriginArrival(distdeg: any): any
Parameters
distdeg (any) earthquake to station distance, in degrees
Returns
any: an arrival for the origin

Query to a TauP v3 webservice, based on the TauP Toolkit. See https://taup.readthedocs.io/en/latest/ and https://www.seis.sc.edu/TauP/

new TauPQuery(host: any)

Extends FDSNCommon

Parameters
host (any) optional host to connect to, defaults to USC
Instance Members
▸ protocol(value)
▸ getProtocol()
▸ host(value)
▸ getHost()
▸ port(value)
▸ getPort()
▸ pathBase(value)
▸ getPathBase()
▸ 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)
▸ receiverdepth(value)
▸ receiverdepthInMeter(value)
▸ receiverdepthFromChannel(channel)
▸ getReceiverdepth()
▸ evlat(value)
▸ getEvlat()
▸ evlon(value)
▸ getEvlon()
▸ latLonFromQuake(quake)
▸ format(value)
▸ getFormat()
▸ noheader(value)
▸ getNoheader()
▸ timeout(value)
▸ getTimeout()
▸ queryText()
▸ queryJson()
▸ querySvg()
▸ query()
▸ formBaseURL()
▸ formURL(toolname)
▸ queryTauPVersion()
▸ formTauPVersionURL()

FAKE_EMPTY_TEXT_MODEL

dist/taup3.mjs
FAKE_EMPTY_TEXT_MODEL

FAKE_EMPTY_TEXT_HEADERS

dist/taup3.mjs
FAKE_EMPTY_TEXT_HEADERS

createEmptyTraveltimeJson

dist/taup3.mjs
createEmptyTraveltimeJson(ttquery: any)
Parameters
ttquery (any)

FAKE_EMPTY_SVG

dist/taup3.mjs
FAKE_EMPTY_SVG