obspy.pde.mchedr.Unpickler

class Unpickler[source]

Bases: object

De-serializes a mchedr string into an ObsPy Catalog object.

Attributes

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

Public Methods

load Reads mchedr file into ObsPy catalog object.
loads Parses mchedr string into ObsPy catalog object.

Private Methods

_angleBetween Returns the angle in degrees between unit vectors ‘u1’ and ‘u2’:
_coordinateSign
_decodeFERegionNumber Converts Flinn-Engdahl region number to string.
_deserialize
_float
_floatUnused
_floatWithFormat
_int
_intUnused
_intZero
_latErrToDeg Convert latitude error from km to degrees
_lonErrToDeg Convert longitude error from km to degrees
_parseRecordA Parses the ‘additional parameters’ record A
_parseRecordAE Parses the ‘additional hypocenter error and magnitude record’ AE
_parseRecordAH Parses the ‘additional hypocenter’ record AH
_parseRecordC Parses the ‘general comment’ record C
_parseRecordDa Parses the ‘source parameter data - principal axes and
_parseRecordDc Parses the ‘source parameter data - comment’ record Dc
_parseRecordDp Parses the ‘source parameter data - primary’ record Dp
_parseRecordDt Parses the ‘source parameter data - tensor’ record Dt
_parseRecordE Parses the ‘error and magnitude’ record E
_parseRecordHY Parses the ‘hypocenter’ record HY
_parseRecordL Parses the ‘90 percent error ellipse’ record L
_parseRecordM Parses the ‘surface wave record’ M
_parseRecordP Parses the ‘primary phase record’ P
_parseRecordS Parses the ‘secondary phases’ record S
_sphericalToCartesian
_storeUncertainty
_tensorCodeSign Converts tensor from ‘x,y,z’ system to ‘r,t,p’
_tensorStore
_toDeg
_toRad

Special Methods

__init__

This Page