obspy.io.nordic.core.read_nordic
- read_nordic(select_file, return_wavnames=False, encoding='latin-1', nordic_format='UKN', **kwargs)[source]
Read a catalog of events from a Nordic formatted select file.
Generates a series of temporary files for each event in the select file.
- type select_file:
str
- param select_file:
Nordic formatted select.out file to open
- type return_wavnames:
bool
- param return_wavnames:
If True, will return the names of the waveforms that the events are associated with.
- type encoding:
str
- param encoding:
Encoding for file, used to decode from bytes to string
- type nordic_format:
str
- param nordic_format:
‘UKN’, ‘OLD’, or ‘NEW’ (unknown, old, new). For ‘UKN’, the function will find out on its own
- return:
catalog of events
- rtype:
Utility objects.
- Copyright:
Lion Krischer (krischer@geophysik.uni-muenchen.de), 2013
- License:
GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)