Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using SWIT with field data #5

Open
Whitt1985 opened this issue Jan 26, 2024 · 0 comments
Open

Using SWIT with field data #5

Whitt1985 opened this issue Jan 26, 2024 · 0 comments

Comments

@Whitt1985
Copy link

Hi,

I've prepped my field data according to your MATLAB script. How do I add it in to the inversion script in SWIT?

This is what I have so far but it doesn't get very in the processing and crashes out quickly

begin inversion

load_field_data(simu,'shot001.su',150,1150)
process_workflow(simu, optim, simu_type='obs')

multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/home/[email protected]/SWIT-1.0/toolbox/fielddata.py", line 60, in load_field_data_serial
trace = loadsu(loadfile)
File "/home/[email protected]/SWIT-1.0/toolbox/tools.py", line 95, in loadsu
traces = obspy.read(filename, format='SU', byteorder='<')
File "/usr/local/lib/python3.10/dist-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/local/lib/python3.10/dist-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/obspy/core/stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/obspy/core/util/base.py", line 656, in _generic_reader
raise IOError(2, "No such file or directory", pathname)
FileNotFoundError: [Errno 2] No such file or directory: 's'
"""

Thanks
James

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant