Comments (3)
Just confirmed this is failing on v0.4.0:
(@v1.4) pkg> st
Status `~/.julia/environments/v1.4/Project.toml`
[b372bb87] SeisIO v1.1.0 #master (https://github.com/jpjones76/SeisIO.jl.git)
[8cc7c3c0] SeisNoise v0.4.0
using SeisNoise, SeisIO
C = SeisIO.RandSeis.randSeisChannel(s=true,c=false,fs_min=20.)
ungap!(C)
process_raw!(C,10.)
ERROR: MethodError: no method matching process_raw!(::SeisChannel, ::Float64)
Closest candidates are:
process_raw!(::SeisData, ::Float64; ϕshift) at /home/timclements/.julia/packages/SeisNoise/I9Knu/src/compute_fft.jl:21
Stacktrace:
[1] top-level scope at none:0
but on the master branch it works:
(@v1.4) pkg> st
Status `~/.julia/environments/v1.4/Project.toml`
[b372bb87] SeisIO v1.1.0 #master (https://github.com/jpjones76/SeisIO.jl.git)
[8cc7c3c0] SeisNoise v0.4.1 #master (https://github.com/tclements/SeisNoise.jl.git)
using SeisNoise, SeisIO
C = SeisIO.RandSeis.randSeisChannel(s=true,c=false,fs_min=20.)
ungap!(C)
process_raw!(C,10.)
# test with Array{SeisData,1}
ar = [SeisIO.RandSeis.randSeisData(s=1.,c=0.,fs_min=10.) for _ = 1:5]
process_raw!.(ar,10.)
all(vcat([ar[ii].fs .== 10. for ii = 1:length(ar)]...))
true
I tagged a new version of SeisNoise (v0.4.1) that has these changes. I will add it to the general registry once this build to passes (https://travis-ci.org/github/tclements/SeisNoise.jl/builds/703539782) ~ 1 hour. For now you should be able to use the master branch:
pkg> add SeisNoise#master
from seisnoise.jl.
Found there is an issue with resampling gapless SeisChannel
jpjones76/SeisIO.jl#51. This will give a problem with creating RawData
from SeisChannel
right now. I'll try to get a patch soon.
from seisnoise.jl.
Fixed by #50
from seisnoise.jl.
Related Issues (20)
- shorten! sets wrong maxlag
- io.jl HOT 9
- Load and process multiple traces HOT 3
- Error: rfft not defined HOT 5
- TagBot trigger issue HOT 15
- SeisNoise.correlate corr_type arguments HOT 2
- Autocorrelations HOT 2
- SeisNoise v0.5.3 fails to compile on M1 Mac HOT 3
- Plots/HDF5: Add dependency HOT 3
- FFTW: Pre-calculation of plans HOT 2
- InexactError HOT 1
- process_raw! fails on NodalData HOT 2
- nodalxcorr output HOT 2
- resample! is slow on the gpu HOT 3
- resample! is slow on NodalData HOT 3
- Can't install the package SeisNoise.jl in the Julia.exe for version 1.8.5 HOT 3
- get_date()function get some error HOT 1
- The meaning and usage of each parameter in a function HOT 1
- seeking for help in SeisIO.jl's read_data() function HOT 2
- If the SeisNoise.jl and SeisIO can batch process cross-correlation function between lots of station Seisdata? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seisnoise.jl.