specify mseed encoding
Compare changes
+ 2
− 0
@@ -82,6 +82,8 @@ def encode_stream(stream: Stream, encoding: str) -> Stream:
@@ -82,6 +82,8 @@ def encode_stream(stream: Stream, encoding: str) -> Stream:
Fixes bug for processed miniseed channels having mismatched encodings
Avoids the following default behavior from obspy:
UserWarning: The encoding specified in trace.stats.mseed.encoding does not match the dtype of the data. A suitable encoding will be chosen.