-
Notifications
You must be signed in to change notification settings - Fork 7
MSEED files support #283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
MSEED files support #283
Conversation
|
I'm still trying to figure out a way of creating small mseed files on the fly for adding the feature to the test suite. |
|
I think @cazaudo is better suited to review this PR. |
|
Note for 2026: I tried to isolate the obspy-dependent part to keep basic users from the obspy/windows hell. I still have some tests that don't pass: maybe it is because i changed the data returned by get_data() to a 2D array? I'll have to look back at it in january! |
🐳 What's new?
This PR adds support for accessing MiniSEED data within the osekit ecosystem.
🐳 How does it work?
The metadata/data access is based on ObsPy.
The osekit AudioFileManager has been tweaked so that reading .mseed info/data use ObsPy rather than soundlib.
As ObsPy doesn't access data lazily with frame indexes, the AudioFileManager loads the entire file data and returns the requested frames afterwards.
🐳 Note
The MiniSEED data seems to be stored as large integer values (at least, that is the case with the OOI dataset). Hence, I'd recommend normalizing the data with
Normalization.PEAKto get it back into the WAV data[0.,1.]range.resolve #282