obspy.io.cmtsolution.core

CMTSOLUTION file format support for ObsPy.

copyright

The ObsPy Development Team (devs@obspy.org)

license

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

Private Functions

Warning

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

_buffer_proxy

Calls a function with an open file or file-like object as the first argument.

_get_resource_id

Helper function to create consistent resource ids.

_internal_is_cmtsolution

Checks if the file is a CMTSOLUTION file.

_internal_read_cmtsolution

Reads a CMTSOLUTION file to a Catalog object.

_internal_read_single_cmtsolution

Reads a single CMTSOLUTION file to a Catalog object.

_internal_write_cmtsolution

Write events to a file.

_internal_write_single_cmtsolution

Write an event to a file.

_is_cmtsolution

Checks if the file is a CMTSOLUTION file.

_read_cmtsolution

Reads a CMTSOLUTION file to a Catalog object.

_write_cmtsolution

Write an event to a file.