obspy.io.quakeml.core.Pickler¶
-
class
Pickler
(nsmap=None)[source]¶ Bases:
object
Serializes an ObsPy Catalog object into QuakeML format.
Attributes
__dict__
__doc__
__module__
__weakref__
list of weak references to the object (if defined)
Public Methods
Writes ObsPy Catalog into given file.
Returns QuakeML string of given ObsPy Catalog object.
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
Converts an Amplitude into etree.Element object.
Converts an Arrival into etree.Element object.
Add information stored in obj.extra as custom tags/attributes in non-quakeml namespace.
Converts a FocalMechanism into etree.Element object.
Converts an Magnitude into etree.Element object.
Converts a MomentTensor into etree.Element object.
Converts a NodalPlanes into etree.Element object.
Converts an Origin into etree.Element object.
Converts a Pick into etree.Element object.
Converts a PrincipalAxes into etree.Element object.
Converts a Catalog object into XML string.
Converts an StationMagnitude into etree.Element object.
Special Methods
Default dir() implementation.
Default object formatter.
Initialize self.
This method is called when a class is subclassed.
Create and return a new object.
Helper for pickle.
Helper for pickle.
Size of object in memory, in bytes.
Abstract classes can override this to customize issubclass().