obspy.io.y.core._read_y
- _read_y(filename, headonly=False, **kwargs)[source]
Reads a Nanometrics Y 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:
- Return type:
- Returns:
A ObsPy Stream object.
Example
>>> from obspy import read >>> st = read("/path/to/YAYT_BHZ_20021223.124800") >>> st <obspy.core.stream.Stream object at 0x...> >>> print(st) 1 Trace(s) in Stream: .AYT..BHZ | 2002-12-23T12:48:00.000100Z - ... | 100.0 Hz, 18000 samples