Closed tclements closed 4 years ago
Adding this to Issue #50 to-do list, which I'm currently working on. I've been investigating resample!
behavior in the last few days, and I'm no longer certain that SeisIO should use DSP.jl resample
as a model framework. I'm thinking of rewriting it. I'm going to start a new thread about this; any feedback your group can give me (here, or on Skype) would be appreciated.
Fixed on dev, will merge into master if tests pass.
Do you mind pushing a patch release for the resample!
update?
Ok! I'm working on this right now. It will happen today (Pacific time).
Awesome, thank you!
Should be done ... with 28 minutes to spare, even. Is it OK to close this issue once the Julia registry updates to the new version?
Yes, for sure - thanks!
On v1.0.0 resampling a gapless
SeisChannel
does not update the.t
field. This does not affectSeisChannel
with gaps or anySeisData
.A quick fix would be adding
C.t[2,1] = length(C.x)
after https://github.com/jpjones76/SeisIO.jl/blob/99912ee61b2ea0f60db6b9fa9f19c5355bdcd40e/src/Processing/resample.jl#L152-L167and adding a test with a gapless
SeisChannel
. Happy to submit a PR on this, if needed.