Hi community,
I have messy files containing many gaps & overlaps of different lengths. I want to use ObsPy’s merge function to correct these gaps & overlaps, however, I would like to limit the corrections to gaps & overlaps of lengths smaller than, e.g., 5 samples.
So something like this:
st.merge(method=1, fill_value=‘interpolate’, interpolation_samples=-1, max_gap=5, max_overlap=5)
The st.get_gaps() function has such parameter, the st.merge() doesn’t appear so. Can ObsPy handle such a thing or would I need to craft a hack myself?
Thanks a lot in advance!
John