Skip to content

Using SWIT with field data #5

Description

@Whitt1985

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/eng01@local.hypertunnel.dom/SWIT-1.0/toolbox/fielddata.py", line 60, in load_field_data_serial
trace = loadsu(loadfile)
File "/home/eng01@local.hypertunnel.dom/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions