Skip to content

Commit

Permalink
Update SPECFEM3D_SAC.py
Browse files Browse the repository at this point in the history
Add event depth to EXT_FORCE GFs path.
  • Loading branch information
SeismoFelix committed Nov 9, 2023
1 parent 3702a45 commit a27eb8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtuq/io/clients/SPECFEM3D_SAC.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def _get_greens_tensor(self, station=None, origin=None):
if self.include_force:
for suffix in EXT_FORCE:
trace = obspy.read(
self.path+'/'+prefix+'.'+suffix+'.sac', format='sac')[0]
self.path+'/'+dep+'/'+prefix+'.'+suffix+'.sac', format='sac')[0]
trace.stats.channel = suffix
trace.stats._component = suffix[0]
stream += trace
Expand Down

0 comments on commit a27eb8a

Please sign in to comment.