Skip to content

Writing correlations #73

Answered by PeterMakus
Olango1 asked this question in Q&A
Sep 16, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hey Emerald,
Ah that makes it a little clearer thanks.

So the reason why you are getting issues is that your CorrTraces do not have any headers. So you either have to provide the kwarg _header(containing the header of the CorrTrace itself, which follows the SEED combination logic (see docs).

This is because SeisMIC will store CorrTraces within the hdf5 file in a hierarchy that depends on the header (also discussed in the link above). If you only provide a numpy array, which is essentially what you are doing, it will not know what to do with the data. Also, you will have to ask yourself, how wise it is to store data without knowing the sampling rate, recording time, station name, etc..

So …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Olango1
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by PeterMakus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants