pyrocko.io.quakeml
¶
-
class
ResourceIdentifier
(dummy) → None[source]¶ Any
str
matching pattern"^(smi|quakeml):[\\w\\d][\\w\\d\\-\\.\\*\\(\\)_~']{2,}/[\\w\\d\\-\\.\\*\\(\\)_~'][\\w\\d\\-\\.\\*\\(\\)\\+\\?_~'=,;#/&]*$"
.
-
class
OriginUncertaintyDescription
(dummy) → None[source]¶ Any
str
out of['horizontal uncertainty', 'uncertainty ellipse', 'confidence ellipsoid']
.
-
class
AmplitudeCategory
(dummy) → None[source]¶ Any
str
out of['point', 'mean', 'duration', 'period', 'integral', 'other']
.
-
class
OriginDepthType
(dummy) → None[source]¶ Any
str
out of['from location', 'from moment tensor inversion', 'from modeling of broad-band P waveforms', 'constrained by depth phases', 'constrained by direct phases', 'constrained by depth and direct phases', 'operator assigned', 'other']
.
-
class
OriginType
(dummy) → None[source]¶ Any
str
out of['hypocenter', 'centroid', 'amplitude', 'macroseismic', 'rupture start', 'rupture end']
.
-
class
MTInversionType
(dummy) → None[source]¶ Any
str
out of['general', 'zero trace', 'double couple']
.
-
class
EvaluationStatus
(dummy) → None[source]¶ Any
str
out of['preliminary', 'confirmed', 'reviewed', 'final', 'rejected']
.
-
class
EventType
(dummy) → None[source]¶ Any
str
out of['not existing', 'not reported', 'earthquake', 'anthropogenic event', 'collapse', 'cavity collapse', 'mine collapse', 'building collapse', 'explosion', 'accidental explosion', 'chemical explosion', 'controlled explosion', 'experimental explosion', 'industrial explosion', 'mining explosion', 'quarry blast', 'road cut', 'blasting levee', 'nuclear explosion', 'induced or triggered event', 'rock burst', 'reservoir loading', 'fluid injection', 'fluid extraction', 'crash', 'plane crash', 'train crash', 'boat crash', 'other event', 'atmospheric event', 'sonic boom', 'sonic blast', 'acoustic noise', 'thunder', 'avalanche', 'snow avalanche', 'debris avalanche', 'hydroacoustic event', 'ice quake', 'slide', 'landslide', 'rockslide', 'meteorite', 'volcanic eruption', 'duplicate earthquake', 'rockburst']
.
-
class
DataUsedWaveType
(dummy) → None[source]¶ Any
str
out of['P waves', 'body waves', 'surface waves', 'mantle waves', 'combined', 'unknown']
.
-
class
AmplitudeUnit
(dummy) → None[source]¶ Any
str
out of['m', 's', 'm/s', 'm/(s*s)', 'm*s', 'dimensionless', 'other']
.
-
class
EventDescriptionType
(dummy) → None[source]¶ Any
str
out of['felt report', 'Flinn-Engdahl region', 'local time', 'tectonic summary', 'nearest cities', 'earthquake name', 'region name']
.
-
class
SourceTimeFunctionType
(dummy) → None[source]¶ Any
str
out of['box car', 'triangle', 'trapezoid', 'unknown']
.
-
class
RealQuantity
(**kwargs)[source]¶ Undocumented.
-
♦
value
¶ float
-
♦
uncertainty
¶ float
, optional
-
♦
lower_uncertainty
¶ float
, optional
-
♦
upper_uncertainty
¶ float
, optional
-
♦
confidence_level
¶ float
, optional
-
♦
-
class
IntegerQuantity
(**kwargs)[source]¶ Undocumented.
-
♦
value
¶ int
-
♦
uncertainty
¶ int
, optional
-
♦
lower_uncertainty
¶ int
, optional
-
♦
upper_uncertainty
¶ int
, optional
-
♦
confidence_level
¶ float
, optional
-
♦
-
class
ConfidenceEllipsoid
(**kwargs)[source]¶ Undocumented.
-
♦
semi_major_axis_length
¶ float
-
♦
semi_minor_axis_length
¶ float
-
♦
semi_intermediate_axis_length
¶ float
-
♦
major_axis_plunge
¶ float
-
♦
major_axis_azimuth
¶ float
-
♦
major_axis_rotation
¶ float
-
♦
-
class
TimeQuantity
(**kwargs)[source]¶ Undocumented.
-
♦
value
¶ time_float
-
♦
uncertainty
¶ float
, optional
-
♦
lower_uncertainty
¶ float
, optional
-
♦
upper_uncertainty
¶ float
, optional
-
♦
confidence_level
¶ float
, optional
-
♦
-
class
TimeWindow
(**kwargs)[source]¶ Undocumented.
-
♦
begin
¶ float
-
♦
end
¶ float
-
♦
reference
¶ time_float
-
♦
-
class
ResourceReference
(dummy) → None[source]¶ Any
str
matching pattern"^(smi|quakeml):[\\w\\d][\\w\\d\\-\\.\\*\\(\\)_~']{2,}/[\\w\\d\\-\\.\\*\\(\\)_~'][\\w\\d\\-\\.\\*\\(\\)\\+\\?_~'=,;#/&]*$"
.
-
class
DataUsed
(**kwargs)[source]¶ Undocumented.
-
♦
wave_type
¶ str
(DataUsedWaveType
)
-
♦
station_count
¶ int
, optional
-
♦
component_count
¶ int
, optional
-
♦
shortest_period
¶ float
, optional
-
♦
longest_period
¶ float
, optional
-
♦
-
class
EventDescription
(**kwargs)[source]¶ Undocumented.
-
♦
text
¶ str
-
♦
type
¶ str
(EventDescriptionType
), optional
-
♦
-
class
SourceTimeFunction
(**kwargs)[source]¶ Undocumented.
-
♦
type
¶ str
(SourceTimeFunctionType
)
-
♦
duration
¶ float
-
♦
rise_time
¶ float
, optional
-
♦
decay_time
¶ float
, optional
-
♦
-
class
OriginQuality
(**kwargs)[source]¶ Undocumented.
-
♦
associated_phase_count
¶ int
, optional
-
♦
used_phase_count
¶ int
, optional
-
♦
associated_station_count
¶ int
, optional
-
♦
used_station_count
¶ int
, optional
-
♦
depth_phase_count
¶ int
, optional
-
♦
standard_error
¶ float
, optional
-
♦
azimuthal_gap
¶ float
, optional
-
♦
secondary_azimuthal_gap
¶ float
, optional
-
♦
ground_truth_level
¶ str
(GroundTruthLevel
), optional
-
♦
maximum_distance
¶ float
, optional
-
♦
minimum_distance
¶ float
, optional
-
♦
median_distance
¶ float
, optional
-
♦
-
class
CompositeTime
(**kwargs)[source]¶ Undocumented.
-
♦
year
¶ IntegerQuantity
, optional
-
♦
month
¶ IntegerQuantity
, optional
-
♦
day
¶ IntegerQuantity
, optional
-
♦
hour
¶ IntegerQuantity
, optional
-
♦
minute
¶ IntegerQuantity
, optional
-
♦
second
¶ RealQuantity
, optional
-
♦
-
class
OriginUncertainty
(**kwargs)[source]¶ Undocumented.
-
♦
horizontal_uncertainty
¶ float
, optional
-
♦
min_horizontal_uncertainty
¶ float
, optional
-
♦
max_horizontal_uncertainty
¶ float
, optional
-
♦
azimuth_max_horizontal_uncertainty
¶ float
, optional
-
♦
confidence_ellipsoid
¶ ConfidenceEllipsoid
, optional
-
♦
preferred_description
¶ str
(OriginUncertaintyDescription
), optional
-
♦
confidence_level
¶ float
, optional
-
♦
-
class
CreationInfo
(**kwargs)[source]¶ Undocumented.
-
♦
agency_uri
¶ str
(ResourceReference
), optional
str
(Author
), optional
str
(ResourceReference
), optional
-
♦
creation_time
¶ time_float, optional
-
♦
-
class
StationMagnitudeContribution
(**kwargs)[source]¶ Undocumented.
-
♦
station_magnitude_id
¶ str
(ResourceReference
)
-
♦
residual
¶ float
, optional
-
♦
weight
¶ float
, optional
-
♦
-
class
NodalPlanes
(**kwargs)[source]¶ Undocumented.
-
♦
preferred_plane
¶ int
, optional
-
♦
nodal_plane1
¶ NodalPlane
, optional
-
♦
nodal_plane2
¶ NodalPlane
, optional
-
♦
-
class
WaveformStreamID
(**kwargs)[source]¶ Undocumented.
-
♦
value
¶
-
♦
network_code
¶ str
(AnonymousNetworkCode
)
-
♦
station_code
¶ str
(AnonymousStationCode
)
-
♦
channel_code
¶ str
(AnonymousChannelCode
), optional
-
♦
location_code
¶ str
(AnonymousLocationCode
), optional
-
♦
-
class
Comment
(**kwargs)[source]¶ Undocumented.
-
♦
id
¶ str
(ResourceReference
), optional
-
♦
text
¶ str
-
♦
creation_info
¶ CreationInfo
, optional
-
♦
-
class
MomentTensor
(**kwargs)[source]¶ Undocumented.
-
♦
public_id
¶ str
(ResourceReference
)
-
♦
derived_origin_id
¶ str
(ResourceReference
), optional
-
♦
moment_magnitude_id
¶ str
(ResourceReference
), optional
-
♦
scalar_moment
¶ RealQuantity
, optional
-
♦
variance
¶ float
, optional
-
♦
variance_reduction
¶ float
, optional
-
♦
double_couple
¶ float
, optional
-
♦
clvd
¶ float
, optional
-
♦
iso
¶ float
, optional
-
♦
greens_function_id
¶ str
(ResourceReference
), optional
-
♦
filter_id
¶ str
(ResourceReference
), optional
-
♦
source_time_function
¶ SourceTimeFunction
, optional
-
♦
method_id
¶ str
(ResourceReference
), optional
-
♦
category
¶ str
(MomentTensorCategory
), optional
-
♦
inversion_type
¶ str
(MTInversionType
), optional
-
♦
creation_info
¶ CreationInfo
, optional
-
♦
-
class
Amplitude
(**kwargs)[source]¶ Undocumented.
-
♦
public_id
¶ str
(ResourceReference
)
-
♦
generic_amplitude
¶
-
♦
category
¶ str
(AmplitudeCategory
), optional
-
♦
unit
¶ str
(AmplitudeUnit
), optional
-
♦
method_id
¶ str
(ResourceReference
), optional
-
♦
period
¶ RealQuantity
, optional
-
♦
snr
¶ float
, optional
-
♦
time_window
¶ TimeWindow
, optional
-
♦
pick_id
¶ str
(ResourceReference
), optional
-
♦
waveform_id
¶ WaveformStreamID
, optional
-
♦
filter_id
¶ str
(ResourceReference
), optional
-
♦
scaling_time
¶ TimeQuantity
, optional
-
♦
magnitude_hint
¶ str
(MagnitudeHint
), optional
-
♦
evaluation_mode
¶ str
(EvaluationMode
), optional
-
♦
evaluation_status
¶ str
(EvaluationStatus
), optional
-
♦
creation_info
¶ CreationInfo
, optional
-
♦
-
class
Magnitude
(**kwargs)[source]¶ Undocumented.
-
♦
public_id
¶ str
(ResourceReference
)
-
♦
station_magnitude_contribution_list
¶ list
ofStationMagnitudeContribution
objects, default:[]
-
♦
mag
¶
-
♦
origin_id
¶ str
(ResourceReference
), optional
-
♦
method_id
¶ str
(ResourceReference
), optional
-
♦
station_count
¶ int
, optional
-
♦
azimuthal_gap
¶ float
, optional
-
♦
evaluation_mode
¶ str
(EvaluationMode
), optional
-
♦
evaluation_status
¶ str
(EvaluationStatus
), optional
-
♦
creation_info
¶ CreationInfo
, optional
-
♦
-
class
StationMagnitude
(**kwargs)[source]¶ Undocumented.
-
♦
public_id
¶ str
(ResourceReference
)
-
♦
origin_id
¶ str
(ResourceReference
), optional
-
♦
mag
¶
-
♦
amplitude_id
¶ str
(ResourceReference
), optional
-
♦
method_id
¶ str
(ResourceReference
), optional
-
♦
waveform_id
¶ WaveformStreamID
, optional
-
♦
creation_info
¶ CreationInfo
, optional
-
♦
-
class
Arrival
(**kwargs)[source]¶ Undocumented.
-
♦
public_id
¶ str
(ResourceReference
)
-
♦
pick_id
¶ str
(ResourceReference
)
-
♦
time_correction
¶ float
, optional
-
♦
azimuth
¶ float
, optional
-
♦
distance
¶ float
, optional
-
♦
takeoff_angle
¶ RealQuantity
, optional
-
♦
time_residual
¶ float
, optional
-
♦
horizontal_slowness_residual
¶ float
, optional
-
♦
backazimuth_residual
¶ float
, optional
-
♦
time_weight
¶ float
, optional
-
♦
time_used
¶ int
, optional
-
♦
horizontal_slowness_weight
¶ float
, optional
-
♦
backazimuth_weight
¶ float
, optional
-
♦
earth_model_id
¶ str
(ResourceReference
), optional
-
♦
creation_info
¶ CreationInfo
, optional
-
♦
-
class
Pick
(**kwargs)[source]¶ Undocumented.
-
♦
public_id
¶ str
(ResourceReference
)
-
♦
time
¶
-
♦
waveform_id
¶
-
♦
filter_id
¶ str
(ResourceReference
), optional
-
♦
method_id
¶ str
(ResourceReference
), optional
-
♦
horizontal_slowness
¶ RealQuantity
, optional
-
♦
backazimuth
¶ RealQuantity
, optional
-
♦
slowness_method_id
¶ str
(ResourceReference
), optional
-
♦
polarity
¶ str
(PickPolarity
), optional
-
♦
evaluation_mode
¶ str
(EvaluationMode
), optional
-
♦
evaluation_status
¶ str
(EvaluationStatus
), optional
-
♦
creation_info
¶ CreationInfo
, optional
-
♦
-
class
FocalMechanism
(**kwargs)[source]¶ Undocumented.
-
♦
public_id
¶ str
(ResourceReference
)
-
♦
waveform_id_list
¶ list
ofWaveformStreamID
objects, default:[]
-
♦
moment_tensor_list
¶ list
ofMomentTensor
objects, default:[]
-
♦
triggering_origin_id
¶ str
(ResourceReference
), optional
-
♦
nodal_planes
¶ NodalPlanes
, optional
-
♦
principal_axes
¶ PrincipalAxes
, optional
-
♦
azimuthal_gap
¶ float
, optional
-
♦
station_polarity_count
¶ int
, optional
-
♦
misfit
¶ float
, optional
-
♦
station_distribution_ratio
¶ float
, optional
-
♦
method_id
¶ str
(ResourceReference
), optional
-
♦
evaluation_mode
¶ str
(EvaluationMode
), optional
-
♦
evaluation_status
¶ str
(EvaluationStatus
), optional
-
♦
creation_info
¶ CreationInfo
, optional
-
♦
-
class
Origin
(**kwargs)[source]¶ Undocumented.
-
♦
public_id
¶ str
(ResourceReference
)
-
♦
composite_time_list
¶ list
ofCompositeTime
objects, default:[]
-
♦
origin_uncertainty_list
¶ list
ofOriginUncertainty
objects, default:[]
-
♦
time
¶
-
♦
longitude
¶
-
♦
latitude
¶
-
♦
depth
¶ RealQuantity
, optional
-
♦
depth_type
¶ str
(OriginDepthType
), optional
-
♦
time_fixed
¶ bool
, optional
-
♦
epicenter_fixed
¶ bool
, optional
-
♦
reference_system_id
¶ str
(ResourceReference
), optional
-
♦
method_id
¶ str
(ResourceReference
), optional
-
♦
earth_model_id
¶ str
(ResourceReference
), optional
-
♦
quality
¶ OriginQuality
, optional
-
♦
type
¶ str
(OriginType
), optional
-
♦
evaluation_mode
¶ str
(EvaluationMode
), optional
-
♦
evaluation_status
¶ str
(EvaluationStatus
), optional
-
♦
creation_info
¶ CreationInfo
, optional
-
♦
-
class
Event
(**kwargs)[source]¶ Undocumented.
-
♦
public_id
¶ str
(ResourceReference
)
-
♦
description_list
¶ list
ofEventDescription
objects, default:[]
-
♦
focal_mechanism_list
¶ list
ofFocalMechanism
objects, default:[]
-
♦
station_magnitude_list
¶ list
ofStationMagnitude
objects, default:[]
-
♦
preferred_origin_id
¶ str
(ResourceReference
), optional
-
♦
preferred_magnitude_id
¶ str
(ResourceReference
), optional
-
♦
preferred_focal_mechanism_id
¶ str
(ResourceReference
), optional
-
♦
type_certainty
¶ str
(EventTypeCertainty
), optional
-
♦
creation_info
¶ CreationInfo
, optional
-
♦
-
class
EventParameters
(**kwargs)[source]¶ Undocumented.
-
♦
public_id
¶ str
(ResourceReference
)
-
♦
description
¶ str
, optional
-
♦
creation_info
¶ CreationInfo
, optional
-
♦
-
class
QuakeML
(**kwargs)[source]¶ QuakeML data container.
-
♦
event_parameters
¶ EventParameters
, optional
-
get_pyrocko_events
()[source]¶ Get event information in Pyrocko’s basic event format.
Return type: List of pyrocko.model.event.Event
objects.
-
get_pyrocko_phase_markers
()[source]¶ Get pick information in Pyrocko’s basic marker format.
Return type: List of pyrocko.gui.marker.PhaseMarker
objects.
-
♦