Closed ShihChi90 closed 6 months ago
Thanks for reporting this. I will check it ASAP.
I have fixed this bug on v1.3.6. You can update Seispy to solve this problem.
another error occured after fixing depmodel in core/pertmod.py AttributeError: 'DepModel' object has no attribute 'depthsraw'. Did you mean: 'depths'? after renaming the attributes (depthsraw -> depths, vpraw/vsraw -> vp/vs) it looks to work fine.
I have fixed it. Pls update to dev
branch and have a try. Thanks.
Describe the bug I was running the usual workflow doing time to depth migration using rf2depth module, but ran in to arror somewhere reading depmodel. I was using same vmod as I was in seispy 1.3.4, but after updating to 1.3.5 it show this error. I downgrade my package and it worked again.
Expected behavior should run a time migration and output an npy file
Error raised File "/home/scshao/.conda/envs/seispy/lib/python3.11/site-packages/seispy/core/depmodel.py", line 51, in _search_vel_file model[:3, :] = raw_model[:, :]