Read SAC XY files (ascii)
Parameters: | f filename (SAC ascii). |
---|
>>> from obspy.sac import SacIO
>>> tr = SacIO()
>>> tr.ReadSacXY('testxy.sac')
>>> tr.GetHvalue('npts')
100
This is equivalent to:
>>> tr = SacIO('testxy.sac',alpha=True)
Reading only the header portion of alphanumeric SAC-files is currently not supported.