obspy.core.stream.Stream.verify

Stream.verify()[source]

Verify all traces of current Stream against available meta data.

Example

>>> from obspy import Trace, Stream
>>> tr = Trace(data=np.array([1, 2, 3, 4]))
>>> tr.stats.npts = 100
>>> st = Stream([tr])
>>> st.verify()  
Traceback (most recent call last):
...
Exception: ntps(100) differs from data size(4)