Hi, I am trying to convert some MATLAB codes to python where we use ReadMSEEDFast.m
created by Martin Mityska to read mseed files, everything is okay. However, I use obspy.read()
to read the same mseed file in jupyter-notebook like this,
from obspy import read
tr = read("data.mseed")
print(tr)
it keeps throwing warnings,
C:\ProgramData\Anaconda3\lib\site-packages\obspy\io\mseed\headers.py:828: InternalMSEEDWarning: readMSEEDBuffer(): Not a SEED record. Will skip bytes 512 to 639.
warnings.warn(_w, InternalMSEEDWarning)
C:\ProgramData\Anaconda3\lib\site-packages\obspy\io\mseed\headers.py:828: InternalMSEEDWarning: readMSEEDBuffer(): Not a SEED record. Will skip bytes 640 to 767.
warnings.warn(_w, InternalMSEEDWarning)
...
C:\ProgramData\Anaconda3\lib\site-packages\obspy\io\mseed\headers.py:828: InternalMSEEDWarning: readMSEEDBuffer(): Not a SEED record. Will skip bytes 17854592 to 17854719.
warnings.warn(_w, InternalMSEEDWarning)
IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.
Current values:
NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
NotebookApp.rate_limit_window=3.0 (secs)
When I rerun the code, it just prints out two traces(first and last trace),
2 Trace(s) in Stream:
GD.HMB.01.EHE | 2019-01-02T00:00:00.000000Z - 2019-01-02T00:00:00.670000Z | 200.0 Hz, 135 samples
GD.HMB.01.EHE | 2019-01-02T23:59:58.885000Z - 2019-01-02T23:59:59.995000Z | 200.0 Hz, 223 samples
Is mseed file invalid or how can I solve this problem?
The mseed file is here.