obspy.io.zmap.core._read_zmap

_read_zmap(filename, **kwargs)[source]

Reads a ZMAP 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.

Parameters

filename (str or file) – ZMAP string, name of ZMAP file to be read or open file-like object.

Return type

Catalog

Returns

An ObsPy Catalog object.