obspy.io.pdas.core._read_pdas

_read_pdas(filename, **kwargs)[source]

Reads a PDAS 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) – PDAS file to be read.

Return type:

Stream

Returns:

An ObsPy Stream object.

Example

>>> from obspy import read
>>> st = read("/path/to/p1246001.108")
>>> st  
<obspy.core.stream.Stream object at 0x...>
>>> print(st)  
1 Trace(s) in Stream:
... | 1994-04-18T00:00:00.000000Z - ... | 200.0 Hz, 500 samples