Merge mseed files

Hello,

I have to create one miniSEED file from data that may have gaps in it. The best way I've found to achieve this is to use obspy to create one MiniSEED files for each part of continuous data, and then merge them to have one single file.

Therefore I need a method to merge MiniSEED files. Additional treatment is needed to rewrite the sequence number of the records, since each input file starts over at 1.

I haven't seen anything about it in obspy (maybe I've missed it?) but I can code it. My question is: would it have a sense to add it to obspy? If no, I'll just create it for myself. Otherwise, I'll make a pull request to obspy. In that case, I will add support for multi-traces MiniSEED files (probably sorting them by trace and by date).

Cheers,

SF
True. We should change those as well - it just feels wrong. They are left-overs from the beginnings of ObsPy when we were still learning how to do stuff. Feel free to change them or I can also do it once your PR is merged. I don't think it can have an effect on users.