g2e / seizmo

passive(ly maintained) seismology toolbox for Matlab & GNU Octave
67 stars 55 forks source link

meld doesn't work with unevenly sampled data #5

Closed g2e closed 10 years ago

g2e commented 12 years ago

Meld (was merge) works well with evenly sampled recordings but will fail at merging unevenly sampled recordings. This should be as simple as a concatenation of the .dep & .ind fields followed by a unique on .ind to sort by time & drop time duplicates (or warn about them). Integrating it into the rather complex meld internals makes this a more difficult task.

This will also bring support for merging records sampled at different rates through an even to uneven conversion.

g2e commented 10 years ago

Fixed in commit 281. https://github.com/g2e/seizmo/commit/c6f96a6bdb4c6f5f2d9dddde909a0ea9c182996c