jpjones76 / SeisIO.jl

Julia language support for geophysical time series data
http://seisio.readthedocs.org
Other
47 stars 21 forks source link

Fix NodalData resample! methods #68

Closed tclements closed 3 years ago

tclements commented 3 years ago

This PR fixes #65 by reshaping NodalData.data all at once as a matrix during a call to resample rather than channel by channel as before. This fixes the error where calling cheap_resample on a column of NodalData.data can't call deleteat on part of a 2d array.

Files changed: src/Submodules/Nodal/imports.jl src/Submodules/Nodal/exports.jl test/Nodal/test_processing.jl

Files added: src/Submodules/Nodal/Utils/resample.jl

Resubmitting this PR to dev branch.

jpjones76 commented 3 years ago

I'll merge this one tomorrow. Travis-CI was running at the speed of a frozen snail today; I suspect that they had an unusually high server load.