obspy.io.sh.evt._read_evt

_read_evt(filename, encoding='utf-8', **kwargs)[source]

Read a SeismicHandler EVT file and returns an ObsPy Catalog object.

Warning

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

param str encoding:

encoding used (default: utf-8)

rtype:

Catalog

return:

An ObsPy Catalog object.

Note

The following fields are supported by this function: [‘applied filter’, ‘component’, ‘depth (km)’, ‘distance (deg)’, ‘error ellipse major’, ‘error ellipse minor’, ‘error ellipse strike’, ‘error in depth (km)’, ‘error in latitude (km)’, ‘error in longitude (km)’, ‘error in origin time’, ‘event id’, ‘event type’, ‘latitude’, ‘longitude’, ‘magnitude (M?)’, ‘mean magnitude (M?)’, ‘no. of stations used’, ‘onset time’, ‘onset type’, ‘origin time’, ‘phase flags’, ‘phase name’, ‘pick type’, ‘sign’, ‘source region’, ‘station code’, ‘theo. azimuth (deg)’, ‘weight’].

Compare with http://www.seismic-handler.org/wiki/ShmDocFileEvt

Utility objects.

Copyright:

Lion Krischer (krischer@geophysik.uni-muenchen.de), 2013

License:

GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)