Reads a NEIC PDE mchedr (machine-readable Earthquake Data Report) file and returns a ObsPy Catalog object.


This function should NOT be called directly, it registers via the ObsPy read_events() function, call this instead.

Parameters:filename (str) mchedr file to be read.
Return type:Catalog
Returns:An ObsPy Catalog object.


>>> from obspy.core.event import read_events
>>> cat = read_events('/path/to/mchedr.dat')
>>> print(cat)
1 Event(s) in Catalog:
2012-01-01T05:27:55.980000Z | +31.456, +138.072 | 6.2 Mb