obspy.core.quakeml.Pickler

class Pickler[source]

Bases: object

Serializes an ObsPy Catalog object into QuakeML format.

Attributes

__dict__
__doc__ str(object) -> string
__module__ str(object) -> string
__weakref__ list of weak references to the object (if defined)

Public Methods

dump Writes ObsPy Catalog into given file.
dumps Returns QuakeML string of given ObsPy Catalog object.

Private Methods

_arrival Converts an Arrival into etree.Element object.
_bool
_comments
_creation_info
_focal_mechanism Converts a FocalMechanism into etree.Element object.
_id
_magnitude Converts an Magnitude into etree.Element object.
_moment_tensor Converts a MomentTensor into etree.Element object.
_nodal_planes Converts a NodalPlanes into etree.Element object.
_origin Converts an Origin into etree.Element object.
_pick Converts a Pick into etree.Element object.
_principal_axes Converts a PrincipalAxes into etree.Element object.
_serialize Converts a Catalog object into XML string.
_station_magnitude Converts an StationMagnitude into etree.Element object.
_station_magnitude_contributions
_str
_time
_value
_waveform_id

This Page