obspy.io.scardec.core

SCARDEC file format support for ObsPy. These files contain source solutions calculated at IPGP using the SCARDEC method [Vallee2011]. These solutions contain a focal mechanism and a source time function in form of a regularly sampled moment rate. An equivalent moment tensor is automatically calculated. Writing of SCARDEC files is only possible, if the event contains a moment rate function.

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_scardec

Checks if the file is a SCARDEC file.

_internal_read_scardec

Reads a SCARDEC file to a Catalog object.

_internal_read_single_scardec

Reads a single SCARDEC file to a Catalog object.

_internal_write_scardec

Write events to a file.

_internal_write_single_scardec

Write an event to a file.

_is_scardec

Checks if the file is a SCARDEC file.

_read_scardec

Reads a SCARDEC file to a Catalog object.

_write_scardec

Write an event to a file.