-
Notifications
You must be signed in to change notification settings - Fork 134
Description
Seisflows version: 2.3.1
pyatoa version: 0.2.2
pysep-adjtomo version: 0.4.1
I am running a simulation in SpecFEM2D with a high sampling rate (4,975 Hz). I have no issues modeling the observed data, but when I try to create synthetic traces, I receive the following error:
py3.11.egg/pysep/utils/fmt.py", line 34, in channel_code
raise KeyError("Channel code does not exist for this value of 'dt'")
KeyError: "Channel code does not exist for this value of 'dt'"
Based on the channel code appendix in the SpecFEM2D documentation, this should fall into the F band code and thus proceed to find this as the appropriate channel code. I noticed that the observed data deposited in scratch/solver/001/traces/obs uses the B channel instead of F as it should based on the time step defined in the Par_file. What causes this? Is there a workaround to force the channel code so pysep does not throw an error?
After initially configuring the parameter.yml, I update with the following parameters where I try set client to null as a workaround to this issue:
!seisflows par ntask 1
!seisflows par nproc 1
!seisflows par materials acoustic
!seisflows par start 1
!seisflows par end 3
!seisflows par data_case synthetic # need both INIT and TRUE models
!seisflows par components Z # Z-component seismograms
!seisflows par adj_src_type cc_traveltime # options: 'cc': cross-correlation, 'mt': multitaper, 'wav': waveform
!seisflows par step_count_max 10 # limit the number of steps in the line search
!seisflows par smooth_h 5000 # smoothing distance
!seisflows par smooth_v 5000 # smoothing distance
!seisflows par min_period 0.025 # minimum period of the filter
!seisflows par max_period 0.200 # maximum period of the filter
!seisflows par client None # no client
!seisflows par filter_corners 4 # limit the number of steps in the line search
!seisflows par plot True # plot waveform figures and source receiver maps during the preprocessing stage