Skip to content

remove merge, index; retrieve gaps, overlap; plot gap;overlap with different color

Lan Dam requested to merge gaps_overlaps into master
  • Read header to check for available data; start all data dict for the channel so that if even no data, the requested channels if available will still be plotted with empty lines; add header to the channel's stream to retrieve gap/overlap after all data are read.
  • Read data of a file right after the file's trace headers are checked so the process of indexing and reading from index will be removed.
  • All data (soh, mass pos, waveform) are treated in the same way, only distinguish sample rates >1 or <=1
  • Modify squash gap to consider overlap. Plot overlaps in orange, gaps in red. Fix bugs off recalculate number of gaps when zoom in.
  • Sorting all data by traces' start time.
  • Remove obspy's merge which slow down performance and remove the overlaps in data. Instead, use np.hstack() to combine data. However, data will be split at overlaps to plot them separately to avoid graph going back and forth.
  • Gather all final tasks to finalize_data() to serve in case of reading more than one folder.
Edited by Lan Dam

Merge request reports