Skip to content

FileNotFoundError: [Errno 2] No such file or directory: '.../Nepal_forward_test/output/ruptures/nepal.log' #82

@cchuang123456

Description

@cchuang123456

hello dmelgarm:

I am trying to run A simple forward computation using nepal.fwd.py according to wiki. when finished runing the green functions and synthetics,I want to solve forward problem , I got the error:

Traceback (most recent call last):

File "/home/ccoba/fake_quake/MudPy/examples/forward_modeling/nepal.fwd.py", line 84, in
forward.waveforms_fakequakes(home,project_name,fault_name,None,GF_list,

File "/home/ccoba/fake_quake/MudPy/src/python/mudpy/forward.py", line 325, in waveforms_fakequakes
write_fakequakes_waveforms(home,project_name,rupture_name,waveforms,GF_list,NFFT,time_epi,dt)

File "/home/ccoba/fake_quake/MudPy/src/python/mudpy/forward.py", line 1286, in write_fakequakes_waveforms
epicenter,time_epi,Mw=read_fakequakes_hypo_time(home,project_name,rupture_name,get_Mw=True)

File "/home/ccoba/fake_quake/MudPy/src/python/mudpy/forward.py", line 3462, in read_fakequakes_hypo_time
f=open(log_file,'r')

FileNotFoundError: [Errno 2] No such file or directory: '/home/ccoba/exprience/Nepal_forward_test/output/ruptures/nepal.log'

I checked the code, there is no nepal.log generated in Nepal_forward_test/output/ruptures/。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions