SeisNoise.jl icon indicating copy to clipboard operation
SeisNoise.jl copied to clipboard

InexactError

Open rkoireng opened this issue 2 years ago • 1 comments

Hi! ,

I am trying to slice a single channel into 70 secs windows but RawData() is showing InexactError. Is this because of some constraint on cc_len and cc_step values? Screenshot (96)

rkoireng avatar Nov 19 '22 21:11 rkoireng

Hi! RawData has a check that cc_len * S.fs is an integer value. Which version of SeisNoise do you have installed? You may have an older version installed. You can check your version by typing ] at the repl and then typing status. The other thing issue is that the year in the SeisData (S.t) above is -12381. Incorrect time could cause problems.

tclements avatar Nov 21 '22 17:11 tclements