obspy.io.nordic.core¶
Nordic 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)
Note
Currently does not read nor write moment tensors or focal mechanism solutions from/to Nordic files.
Note
Pick time-residuals are handled in event.origins[0].arrivals, with the arrival.pick_id linking the arrival (which contain calculated information) with the pick.resource_id (where the pick contains only physical measured information).
Public Functions
Generate an empty s-file with a populated header for a given waveform. |
|
Format picks in an |
|
Read a catalog of events from a Nordic formatted select file. |
|
Read spectral info from an sfile. |
|
Read header information from a seisan nordic format S-file. |
|
Extract the waveform filename from the s-file. |
|
Function to write a catalog to a select file in nordic format. |
Private Functions
Warning
Private functions are mainly for internal/developer use and their API might change without notice.
Switch from obspy event magnitude types to seisan syntax. |
|
Convenience tool to convert from string to float. |
|
Convenience tool to convert from string to integer. |
|
Basic test of whether the file is nordic format or not. |
|
Switch from nordic type magnitude notation to obspy event magnitudes. |
|
Internal pick reader. |
|
Internal spectral reader. |
|
Internal header reader. |
|
Internal wave-name reader. |
|
Convenience tool to convert a number, either float or int into a string. |
|
Write an |
Exceptions
Internal general error for IO operations in obspy.core.io.nordic. |