Hi! I'm kind of new to obspy, and I was wondering if it is possible to save files of a given time duration? Let's say I am receiving miniSEED files from a Ringserver. After receiving 10 minutes worth of data, I want to save them in a single .sac file after merging them.
My first approach would be to look at the miniSEED files timestamps, save each trace contained in the miniSEED files inside a stream, and after I received 10 minutes of data I would save the stream into a .sac file (after merging the traces with the Stream.merge() function to avoid gaps). Then I would start over with another stream and so on. Or I guess I could do something similar by using the sampling frequency and number of samples in the packet.
I feel like the approach is kind of clunky though, and I was wondering if there is maybe a better way or a dedicated function?
I want to load a request client for specific data structure archive on local filesystem. The structure is:
Do you know any way to do this?
Thank you very much for your help.
if prewhiten==1instead of
if method==1? It would seem logic to me and I don't see where prewhiten is used otherwise. Please correct me if I am wrong.
.was ending maybe it is something like that, not sure
I have been experimenting with the PPSD spectral_estimation.py code, adding some colorization to the various plot overlays such as the mean, mode, and percentile graphs. I want to add a little bit of optimization to the PPSD plot, as the overlays default to black. How would I go about becoming a first-time contributor to the project ?