obspy.io.seisan.core._read_seisan
- _read_seisan(filename, headonly=False, **kwargs)[source]
Reads a SEISAN file and returns an ObsPy Stream object.
Warning
This function should NOT be called directly, it registers via the ObsPy
read()
function, call this instead.- Parameters
filename (str) – SEISAN file to be read.
- Return type
- Returns
A ObsPy Stream object.
Example
>>> from obspy import read >>> st = read("/path/to/2001-01-13-1742-24S.KONO__004") >>> st <obspy.core.stream.Stream object at 0x...> >>> print(st) 4 Trace(s) in Stream: .KONO.0.B0Z | 2001-01-13T17:45:01.999000Z - ... | 20.0 Hz, 6000 samples .KONO.0.L0Z | 2001-01-13T17:42:24.924000Z - ... | 1.0 Hz, 3542 samples .KONO.0.L0N | 2001-01-13T17:42:24.924000Z - ... | 1.0 Hz, 3542 samples .KONO.0.L0E | 2001-01-13T17:42:24.924000Z - ... | 1.0 Hz, 3542 samples