FDSN_PREFIX

Type: string

SEP

Type: string

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)

NetworkSourceId

src/fdsnsourceid.ts
new NetworkSourceId(networkCode: string)
Parameters
networkCode (string)
Static Members
parse(id)
Instance Members
networkCode
toString()
equals(other)

StationSourceId

src/fdsnsourceid.ts
new StationSourceId(networkCode: string, stationCode: string)
Parameters
networkCode (string)
stationCode (string)
Static Members
parse(id)
Instance Members
networkCode
stationCode
toString()
networkSourceId()
equals(other)

LocationSourceId

src/fdsnsourceid.ts
new LocationSourceId(networkCode: string, stationCode: string, locationCode: string)
Parameters
networkCode (string)
stationCode (string)
locationCode (string)
Instance Members
networkCode
stationCode
locationCode
toString()
equals(other)

bandCodeForRate

src/fdsnsourceid.ts

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

src/fdsnsourceid.ts
EMPTY_LOC_CODE

Type: string

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

src/fdsnsourceid.ts
Parameters
id (string)
Returns
(FDSNSourceId | NetworkSourceId | StationSourceId)

SourceIdSorter

src/fdsnsourceid.ts
new SourceIdSorter(aSid: FDSNSourceId, bSid: FDSNSourceId): number
Parameters
aSid (FDSNSourceId)
bSid (FDSNSourceId)
Returns
number