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
obspy-scan: plot and print overlaps #1366
Conversation
Current coverage is
|
makes life easier afterwards when checking for gaps/overlaps +- a user specified margin in seconds (not having to pass in the sampling rate again)
merge_overlaps=False) overlaps were always merged, regardless of `merge_overlaps` setting. now also a threshold in seconds can be set that has to be exceeded to trigger an overlap.
(gap_at_start already implies args.start_time)
(warn if loading old npz, because of tiny change in endtime handling)
Rebased. No objections so far, gonna merge this when CI passes. |
I'll do it. I was gonna object to the ugly colors ;-) But matplotlib 2.0 will change all styles in any case so we can revamp our plots when its released. |
Only color I added is ordinary blue.. ;-) But yeah.. getting rid of these old mpl colors will be good to see. |
This adds plotting (blue bars, like the red bars for gaps) and also printing (with option
"--print-gaps"
) of overlaps.compress_start_end
helper function: overlaps were actually always merged, even withmerge_overlaps=False
--print-gaps