obspy.io.pde.mchedr.Unpickler¶
-
class
Unpickler
[source]¶ Bases:
object
De-serializes a mchedr string into an ObsPy Catalog object.
Attributes
__dict__
__doc__
__module__
__weakref__
list of weak references to the object (if defined)
Public Methods
Reads mchedr file into ObsPy catalog object.
Parses mchedr string into ObsPy catalog object.
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
Returns the angle in degrees between unit vectors ‘u1’ and ‘u2’: Source: https://stackoverflow.com/q/2827393
Converts Flinn-Engdahl region number to string.
Convert latitude error from km to degrees using a simple formula
Convert longitude error from km to degrees using a simple formula
Parses the ‘additional parameters’ record A
Parses the ‘additional hypocenter error and magnitude record’ AE
Parses the ‘additional hypocenter’ record AH
Parses the ‘general comment’ record C
Parses the ‘source parameter data - principal axes and nodal planes’ record Da
Parses the ‘source parameter data - comment’ record Dc
Parses the ‘source parameter data - primary’ record Dp
Parses the ‘source parameter data - tensor’ record Dt
Parses the ‘error and magnitude’ record E
Parses the ‘hypocenter’ record HY
Parses the ‘90 percent error ellipse’ record L
Parses the ‘surface wave record’ M
Parses the ‘primary phase record’ P
Parses the ‘secondary phases’ record S
Converts tensor from ‘x,y,z’ system to ‘r,t,p’ and translates ‘f’ code to ‘p’
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().