Read and manipulate miniSEED records
scmssort reads unsorted (and possibly multiplexed) MiniSEED files and sorts the individual records by time. This is useful e.g. for simulating data acquisition and playbacks. Removing of duplicate data and trimming of time window is available.
scmssort reads single files and output to the command line. Cat many files to read them at the same time. In this way huge amount of data can be processed efficiently.
Read a single file. The records are sorted by endtime. Duplicated records are removed.
scmssort -u -E -v unsorted.mseed > sorted.mseed
Read all files ending with “.mseed” at the same time. The data are trimmed to a time window and duplicated data are removed
cat *.mseed | scmssort -u -E -v -t '2020-03-28 15:48~2020-03-28 16:18' > sorted.mseed
scmssort [options] input
Show the command-line help and exit.
Run in verbose mode.
Sort by end time.
Ensure uniqueness of output, i.e. skip duplicate records.
Specify time window (as one -properly quoted- string). Times are of course UTC and separated by a tilde ~
‘2020-03-28 15:48~2020-03-28 16:18’