3.1.4
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Utility function to create CustomEvent for clicking on a Quake, for example in a map or table.
CustomEvent
:
CustomEvent populated with quake field in detail.
Represent a QuakeML EventParameters.
Extends BaseElement
Parses a QuakeML event parameters xml element into an EventParameters object.
(Element)
the event parameters xml Element
(string?)
optional source of the xml, helpful for parsing the eventid
EventParameters
:
EventParameters instance
Represent a QuakeML Event. Renamed to Quake as Event conflicts with other uses in javascript.
Extends BaseElement
Parses a QuakeML event xml element into a Quake object. Pass in host=seisplotjs.fdsnevent.USGS_HOST for xml from the USGS service in order to parse the eventid, otherwise this can be left out
(Element)
the event xml Element
(string?)
optional source of the xml, helpful for parsing the eventid
Quake
:
QuakeML Quake(Event) object
Extracts the EventId from a QuakeML element, guessing from one of several incompatible (grumble grumble) formats.
(Element)
Quake(Event) to extract from
(string?)
optional source of the xml to help determine the event id style
string
:
Extracted Id, or "unknownEventId" if we can't figure it out
Type: FocalMechanism
Type: DateTime
DateTime
Represents a QuakeML EventDescription.
(string)
Parses a QuakeML description xml element into a EventDescription object.
(Element)
the description xml Element
EventDescription
:
EventDescription instance
Represents a QuakeML Amplitude.
Extends BaseElement
(RealQuantity)
Type: RealQuantity
Type: RealQuantity
Type: TimeWindow
Type: WaveformID
Type: TimeQuantity
Represents a QuakeML StationMagnitude.
Extends BaseElement
(Origin)
(RealQuantity)
Parses a QuakeML station magnitude xml element into a StationMagnitude object.
(Element)
the station magnitude xml Element
StationMagnitude
:
StationMagnitude instance
Represents a QuakeML TimeWindow.
Parses a QuakeML time window xml element into a TimeWindow object.
(Element)
the time window xml Element
TimeWindow
:
TimeWindow instance
Represents a QuakeML Origin.
Extends BaseElement
((TimeQuantity | DateTime))
((RealQuantity | number))
((RealQuantity | number))
Type: Array<CompositeTime>
Type: OriginUncertainty
Type: TimeQuantity
Type: RealQuantity
Type: RealQuantity
Type: RealQuantity
Type: OriginQuality
Type: DateTime
DateTime
Type: (TimeQuantity | DateTime)
((TimeQuantity | DateTime))
Type: (RealQuantity | number)
((RealQuantity | number))
Type: (RealQuantity | number)
((RealQuantity | number))
Type: (RealQuantity | number)
((RealQuantity | number))
Represents a QuakeML CompositeTime.
Parses a QuakeML composite time xml element into an CompositeTime object.
(Element)
the composite time xml Element
CompositeTime
:
CompositeTime instance
Type: IntegerQuantity
Type: IntegerQuantity
Type: IntegerQuantity
Type: IntegerQuantity
Type: IntegerQuantity
Type: RealQuantity
Represents a QuakeML OriginUncertainty.
Parses a QuakeML origin uncertainty xml element into an OriginUncertainty object.
(Element)
the origin uncertainty xml Element
OriginUncertainty
:
OriginUncertainty instance
Type: ConfidenceEllipsoid
Represents a QuakeML ConfidenceEllipsoid.
(number)
(number)
(number)
(number)
(number)
(number)
Parses a QuakeML confidence ellipsoid xml element into an ConfidenceEllipsoid object.
(Element)
the confidence ellipsoid xml Element
ConfidenceEllipsoid
:
ConfidenceEllipsoid instance
Represents a QuakeML OriginQuality.
Parses a QuakeML origin quality xml element into an OriginQuality object.
(Element)
the origin quality xml Element
OriginQuality
:
OriginQuality instance
Represents a QuakeML Magnitude.
Extends BaseElement
((RealQuantity | number))
(string?)
Parses a QuakeML magnitude xml element into a Magnitude object.
(Element)
the magnitude xml Element
(Array<StationMagnitude>)
station magnitudes already extracted from the xml
Magnitude
:
Magnitude instance
Type: RealQuantity
Type: (RealQuantity | number)
((RealQuantity | number))
Represents a QuakeML StationMagnitudeContribution.
(StationMagnitude)
Parses a QuakeML station magnitude contribution xml element into a StationMagnitudeContribution object.
(Element)
the station magnitude contribution xml Element
(Array<StationMagnitude>)
station magnitudes already extracted from the xml for linking station magnitudes with station magnitude contributions
StationMagnitudeContribution
:
StationMagnitudeContribution instance
Represents a QuakeML Arrival, a combination of a Pick with a phase name.
Extends BaseElement
Type: RealQuantity
Represents a QuakeML Pick.
Extends BaseElement
((TimeQuantity | DateTime))
(WaveformID)
Type: TimeQuantity
Type: WaveformID
Type: RealQuantity
Type: RealQuantity
Type: DateTime
DateTime
Represents a QuakeML Focal Mechanism.
Extends BaseElement
Parses a QuakeML focal mechanism xml element into a FocalMechanism object.
(Element)
the focal mechanism xml Element
FocalMechanism
:
FocalMechanism instance
Type: NodalPlanes
Type: PrincipalAxes
Represents a QuakeML NodalPlanes.
Parses a QuakeML nodal planes xml element into a NodalPlanes object.
(Element)
the nodal planes xml Element
NodalPlanes
:
NodalPlanes instance
Type: NodalPlane
Type: NodalPlane
Represents a QuakeML NodalPlane.
Parses a QuakeML nodal plane xml element into a NodalPlane object.
(Element)
the nodal plane xml Element
NodalPlane
:
NodalPlane instance
Represents a QuakeML PrincipalAxes.
Parses a QuakeML princpalAxes element into a PrincipalAxes object.
(Element)
the princpalAxes xml Element
PrincipalAxes
:
PrincipalAxes instance
Represents a QuakeML Axis.
Type: RealQuantity
Type: RealQuantity
Type: RealQuantity
Represents a QuakeML MomentTensor.
Extends BaseElement
(Origin)
Parses a QuakeML momentTensor xml element into a MomentTensor object.
(Element)
the momentTensor xml Element
MomentTensor
:
MomentTensor instance
Type: RealQuantity
Type: SourceTimeFunction
Represents a QuakeML Tensor.
(RealQuantity)
(RealQuantity)
(RealQuantity)
(RealQuantity)
(RealQuantity)
(RealQuantity)
Type: RealQuantity
Type: RealQuantity
Type: RealQuantity
Type: RealQuantity
Type: RealQuantity
Type: RealQuantity
Represents a QuakeML SourceTimeFunction.
Parses a QuakeML sourceTimeFunction xml element into a SourceTimeFunction object.
(Element)
the sourceTimeFunction xml Element
SourceTimeFunction
:
SourceTimeFunction instance
Represents a QuakeML DataUsed.
(string)
Represents a QuakeML WaveformID.
Parses a QuakeML waveform ID xml element into a WaveformID object.
(Element)
the waveform ID xml Element
WaveformID
:
WaveformID instance
(T)
Parses a QuakeML quantity xml element into a Quantity object.
(Element)
the quantity xml Element
Quantity<T>
:
Quantity instance
Parses a QuakeML real quantity xml element into a RealQuantity object.
(Element)
the real quantity xml Element
RealQuantity
:
RealQuantity instance
Parses a QuakeML integer quantity xml element into a RealQuantity object.
(Element)
the integer quantity xml Element
IntegerQuantity
:
IntegerQuantity instance
Parses a QuakeML time quantity xml element into a TimeQuantity object.
(Element)
the time quantity xml Element
TimeQuantity
:
TimeQuantity instance
Type: Quantity<DateTime>
Represents a QuakeML comment.
(string)
Type: CreationInfo
Parses a QuakeML creation info xml element into a CreationInfo object.
(Element)
the creation info xml Element
CreationInfo
:
CreationInfo instance
Parses a QuakeML xml document into seisplotjs objects
(Document)
the xml Document to parse
(string?)
optional source of the xml, helpful for parsing the eventid
EventParameters
:
EventParameters object
Quake
Fetches and parses QuakeML from a URL. This can be used in instances where a static quakeML file is available on a web site instead of via a web service with query paramters.
(any
= 10
)
timeout seconds in case of failed connection
(any
= 204
)
nodata http error code
Promise<EventParameters>
:
Promise to parsed quakeML as an EventParameters object