# obspy.io.pde.mchedr.Unpickler

class `Unpickler`

  Bases: `builtins.object`

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

  Attributes

  `__dict__` |
  `__doc__` | str(object=’‘) -> str
  `__module__` | str(object=’‘) -> str
  `__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

  Warning

  Private methods are mainly for internal/developer use and their API might change without notice.

  `_angle_between` | Returns the angle in degrees between unit vectors ‘u1’ and ‘u2’:
  `_coordinate_sign` |
  `_decode_fe_region_number` | Converts Flinn-Engdahl region number to string.
  `_deserialize` |
  `_float` |
  `_float_unused` |
  `_float_with_format` |
  `_int` |
  `_int_unused` |
  `_int_zero` |
  `_lat_err_to_deg` | Convert latitude error from km to degrees
  `_lon_err_to_deg` | Convert longitude error from km to degrees
  `_parse_record_a` | Parses the ‘additional parameters’ record A
  `_parse_record_ae` | Parses the ‘additional hypocenter error and magnitude record’ AE
  `_parse_record_ah` | Parses the ‘additional hypocenter’ record AH
  `_parse_record_c` | Parses the ‘general comment’ record C
  `_parse_record_da` | Parses the ‘source parameter data - principal axes and
  `_parse_record_dc` | Parses the ‘source parameter data - comment’ record Dc
  `_parse_record_dp` | Parses the ‘source parameter data - primary’ record Dp
  `_parse_record_dt` | Parses the ‘source parameter data - tensor’ record Dt
  `_parse_record_e` | Parses the ‘error and magnitude’ record E
  `_parse_record_hy` | Parses the ‘hypocenter’ record HY
  `_parse_record_l` | Parses the ‘90 percent error ellipse’ record L
  `_parse_record_m` | Parses the ‘surface wave record’ M
  `_parse_record_p` | Parses the ‘primary phase record’ P
  `_parse_record_s` | Parses the ‘secondary phases’ record S
  `_spherical_to_cartesian` |
  `_store_uncertainty` |
  `_tensor_code_sign` | Converts tensor from ‘x,y,z’ system to ‘r,t,p’
  `_tensor_store` |
  `_to_deg` |
  `_to_rad` |

  Special Methods

  `__dir__` | default dir() implementation
  `__format__` | default object formatter
  `__init__` |
  `__new__` | Create and return a new object.
  `__reduce__` | helper for pickle
  `__reduce_ex__` | helper for pickle
  `__sizeof__` | size of object in memory, in bytes
  `__subclasshook__` | Abstract classes can override this to customize issubclass().

### Thank you!

We would like to thank our contributors, whose efforts make this software what it is. These people have helped by writing code and documentation, and by testing. They have created and maintained this product, its associated libraries and applications, our build tools and our web sites.

#### Contributors

- Ackerley, Nick
- Allgeyer, Sebastien
- Ammon, Charles J.
- Antunes, Emanuel
- Arnarsson, Ólafur St.
- Bank, Markus
- Barsch, Robert
- Behr, Yannik
- Bernardi, Fabrizio
- Bernauer, Felix
- Bes de Berc, Maxime
- Beyreuther, Moritz
- Boltz, Shawn
- Bonaimé, Sébastien
- Carothers, Lloyd
- Chamberlain, Calum
- Chambers, Derrick
- Chen, Zhao
- Clark, Adam
- Danecek, Peter
- Egdorf, Sven
- Engels, Fabian
- Ermert, Laura
- Eulenfeld, Tom

- Fabbri, Tommaso
- Falco, Nicholas
- Fee, Jeremy
- Grellier, Clément
- Grunberg, Marc
- Hammer, Conny
- Heimann, Sebastian
- Heiniger, Lukas
- Hope, Gaute
- Igel, Heiner
- Inza, Adolfo
- Isken, Marius
- Ketchum, David
- Koymans, Mathijs
- Kremers, Simon
- Kress, Victor
- Krieger, Lars
- Krischer, Lion
- Kula, Damian
- Käufl, Paul
- Köhler, Andreas
- Lecocq, Thomas
- Leeman, John
- Legovini, Paride

- Lesage, Philippe
- Li, Yulin
- Lomax, Anthony
- Lopes, Rui L.
- MacCarthy, Jonathan
- Maggi, Alessia
- Martin, Henri
- Medlin, Andrew
- Megies, Tobias
- Meschede, Matthias
- Michelini, Alberto
- Miller, Nathaniel C.
- Morgenstern, Bernhard
- Nof, Ran Novitsky
- Panning, Mark P.
- Parker, Tom
- Pestourie, Romain
- Rapagnani, Giovanni
- Reyes, Celso
- Ringler, Adam
- Rothenhäusler, Nicolas
- Russo, Emiliano
- Sales de Andrade, Elliott

- Satriano, Claudio
- Saul, Joachim
- Scheingraber, Chris
- Schneider, Simon
- Sippl, Christian
- Snoke, Arthur
- Stange, Stefan
- Stähler, Simon C.
- Sullivan, Benjamin
- Tian, Dongdong
- Trabant, Chad
- Trani, Luca
- Uieda, Leonardo
- Walker, Andrew
- Walther, Marcus
- Wassermann, Joachim
- Williams, Mark C.
- Winkelman, Andrew
- Zaccarelli, Riccardo
- Zad, Seyed Kasra Hosseini
- Zhu, Lijun
- van Driel, Martin
- van Wijk, Kasper

#### Funds

ObsPy was partially funded by the

- German Science Foundation (DFG) via grant DFG IG 16/9-1
- German Ministry for Education and Research (BMBF), GEOTECHNOLOGIEN grant 03G0646H.
- NERA project (Network of European Research Infrastructures for Earthquake Risk Assessment and Mitigation) under the European Community's Seventh Framework Programme (FP7/2007-2013) grant agreement n° 262330
- Leibniz Institute for Applied Geophysics (LIAG)
- VERCE EU-FP7 project (no. 283543)