Hi there,
I have a new problem with this file conversion. What I am using to open these miniSEEDs after conversion is the program SEISAN, which needs integer numbers and the encoding STEIM2
(11
).
I found this post in the forum which explains a bit the issue, but it does not solve it for me:
I tried:
- Using line stat before write command:
ST.stat.mseed = {‘encoding’: ‘STEIM2’, ‘byteorder’: ‘>’}
ST.write(‘Eq89.mseed’, format=‘MSEED’, encoding=11)
I got in the first line this error:
AttributeError: ‘Stream’ object has no attribute ‘stat’
- Using directly command: ST.write(‘Eq89.mseed’, format=‘MSEED’, encoding=11)
I get this other error:
Exception:
Wrong dtype for Stream[0].data for encoding INT32.
Please change the dtype of your data or use an appropriate
encoding. See the obspy.io.mseed documentation for more
information.
Any help will be very much appreciated!
Thank you!
Best, Marianna.