FDSN_PREFIX

FDSN_PREFIX

Type: string

SEP

SEP

Type: string

FDSNSourceId

new FDSNSourceId(networkCode: string, stationCode: string, locationCode: string, bandCode: string, sourceCode: string, subsourceCode: string)
Parameters
networkCode (string)
stationCode (string)
locationCode (string)
bandCode (string)
sourceCode (string)
subsourceCode (string)
Static Members
createUnknown(sampRate?, source?, subsource?)
parse(id)
fromNslc(net, sta, loc, channelCode)
fromNslcId(nslcId)
parseNslc(nslc, sep)
Instance Members
networkCode
stationCode
locationCode
bandCode
sourceCode
subsourceCode
stationSourceId()
networkSourceId()
asNslc()
formChannelCode()
toString()
toStringNoPrefix()
equals(other)
clone()

NetworkSourceId

new NetworkSourceId(networkCode: string)
Parameters
networkCode (string)
Static Members
parse(id)
Instance Members
networkCode
toString()
equals(other)

StationSourceId

new StationSourceId(networkCode: string, stationCode: string)
Parameters
networkCode (string)
stationCode (string)
Static Members
parse(id)
Instance Members
networkCode
stationCode
toString()
networkSourceId()
equals(other)

LocationSourceId

new LocationSourceId(networkCode: string, stationCode: string, locationCode: string)
Parameters
networkCode (string)
stationCode (string)
locationCode (string)
Instance Members
networkCode
stationCode
locationCode
toString()
equals(other)

bandCodeForRate

Generates the best band code for a channel based on the sample rate and optionally the response lower bound period, which is mostly useful for separating broadband from short period seismometers.

bandCodeForRate(sampRate: number?, resp_lb: number?): string
Parameters
sampRate (number?) sample rate in samples per second
resp_lb (number?) response long period bound in seconds
Returns
string: single character band code

EMPTY_LOC_CODE

EMPTY_LOC_CODE

Type: string

NslcId

new NslcId(net: string, sta: string, loc: string, chan: string)
Parameters
net (string)
sta (string)
loc (string)
chan (string)
Static Members
parse(nslc, sep)
Instance Members
networkCode
stationCode
locationCode
channelCode
toString()
equals(other)

parseSourceId

Parameters
id (string)
Returns
(FDSNSourceId | NetworkSourceId | StationSourceId)

SourceIdSorter

new SourceIdSorter(aSid: FDSNSourceId, bSid: FDSNSourceId): number
Parameters
aSid (FDSNSourceId)
bSid (FDSNSourceId)
Returns
number