STD_EH

Type: string

ehToQuake(exHead: MS3ExtraHeader): (Quake | null)
Parameters
exHead (MS3ExtraHeader)
Returns
(Quake | null)
quakeToEH(quake: Quake): EHEvent
Parameters
quake (Quake)
Returns
EHEvent

channelToEH

src/mseed3eh.ts
channelToEH(channel: Channel): EHChannel
Parameters
channel (Channel)
Returns
EHChannel

ehToChannel

src/mseed3eh.ts
ehToChannel(exHead: MS3ExtraHeader, sid: FDSNSourceId): (Channel | null)
Parameters
exHead (MS3ExtraHeader)
sid (FDSNSourceId)
Returns
(Channel | null)

markerTypeFromEH

src/mseed3eh.ts
markerTypeFromEH(mtype: string): string
Parameters
mtype (string)
Returns
string

ehToMarkers

src/mseed3eh.ts
ehToMarkers(exHead: MS3ExtraHeader): Array<MarkerType>
Parameters
exHead (MS3ExtraHeader)
Returns
Array<MarkerType>

extractBagEH

src/mseed3eh.ts
extractBagEH(jsonEH: Record<string, any>): (EHBag | null)
Parameters
jsonEH (Record<string, any>)
Returns
(EHBag | null)

isValidBagChannelJsonEHType

src/mseed3eh.ts

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

isValidBagChannelJsonEHType(v: any): any
Parameters
v (any) Bag station JSON object, usually from MSeed3 extra headers
Returns
any: true if matches expected structure

isValidBagEventJsonEHType

src/mseed3eh.ts

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

isValidBagEventJsonEHType(v: any): any
Parameters
v (any) Bag event JSON object, usually from MSeed3 extra headers
Returns
any: true if matches expected structure

isValidBagOriginJsonEHType

src/mseed3eh.ts

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

isValidBagOriginJsonEHType(v: any): any
Parameters
v (any) Bag origin JSON object, usually from MSeed3 extra headers
Returns
any: true if matches expected structure

isValidBagMagJsonEHType

src/mseed3eh.ts

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

isValidBagMagJsonEHType(v: any): any
Parameters
v (any) Bag magnitude JSON object, usually from MSeed3 extra headers
Returns
any: true if matches expected structure

isValidBagPathJsonEHType

src/mseed3eh.ts

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

isValidBagPathJsonEHType(v: any): any
Parameters
v (any) Bag magnitude JSON object, usually from MSeed3 extra headers
Returns
any: true if matches expected structure

isValidBagMarkJsonEHType

src/mseed3eh.ts

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

isValidBagMarkJsonEHType(v: any): any
Parameters
v (any) Bag magnitude JSON object, usually from MSeed3 extra headers
Returns
any: true if matches expected structure

isValidBagTimeseriesJsonEHType

src/mseed3eh.ts

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

isValidBagTimeseriesJsonEHType(v: any): any
Parameters
v (any) Bag magnitude JSON object, usually from MSeed3 extra headers
Returns
any: true if matches expected structure

isValidBagJsonEHType

src/mseed3eh.ts

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

isValidBagJsonEHType(v: any): any
Parameters
v (any) Bag JSON object, usually from MSeed3 extra headers
Returns
any: true if matches expected structure