obspy.pde.mchedr.Unpickler

class Unpickler[source]

Bases: future.types.newobject.newobject

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

Attributes

__dict__
__doc__ unicode(string [, encoding[, errors]]) -> object
__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.
next

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__
__long__
__native__ Hook for the future.utils.native() function
__nonzero__
__unicode__