obspy.io.nlloc.core

NonLinLoc 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)

Public Functions

is_nlloc_hyp

Checks that a file is actually a NonLinLoc Hypocenter-Phase file.

read_nlloc_hyp

Reads a NonLinLoc Hypocenter-Phase file to a

write_nlloc_obs

Write a NonLinLoc Phase file (NLLOC_OBS) from a Catalog object.

Private Functions

Warning

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

_read_single_hypocenter

Given a list of lines (starting with a 'NLLOC' line and ending with a 'END_NLLOC' line), parse them into an Event.