You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello all
I am trying to run prf command with 619, but error as bellow:
2024-08-09 01:14:59,301 [RF] ERROR: o
Traceback (most recent call last):
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/obspy/core/util/attribdict.py", line 140, in getattr
return self.getitem(name, default)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/obspy/core/util/attribdict.py", line 96, in getitem
return self.dict[name]
~~~~~~~~~~~~~^^^^^^
KeyError: 'o'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/squ/Desktop/apps/envs/seispy/bin/prf", line 8, in
sys.exit(prf())
^^^^^
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/seispy/scripts.py", line 174, in prf
pjt.match_eq()
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/seispy/rf.py", line 394, in match_eq
raise e
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/seispy/rf.py", line 387, in match_eq
self.eqs = match_eq(self.eq_lst, self.para.datapath, self.para.stainfo.stla,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/seispy/rf.py", line 219, in match_eq
sac_files.append([datestr, tr.stats.starttime-tr.stats.sac.b, tr.stats.sac.o])
^^^^^^^^^^^^^^
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/obspy/core/util/attribdict.py", line 142, in getattr
raise AttributeError(e.args[0])
AttributeError: o
However, when I run with 5 earthquakes, the prf command work properly or correctly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello all
I am trying to run prf command with 619, but error as bellow:
2024-08-09 01:14:59,301 [RF] ERROR: o
Traceback (most recent call last):
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/obspy/core/util/attribdict.py", line 140, in getattr
return self.getitem(name, default)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/obspy/core/util/attribdict.py", line 96, in getitem
return self.dict[name]
~~~~~~~~~~~~~^^^^^^
KeyError: 'o'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/squ/Desktop/apps/envs/seispy/bin/prf", line 8, in
sys.exit(prf())
^^^^^
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/seispy/scripts.py", line 174, in prf
pjt.match_eq()
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/seispy/rf.py", line 394, in match_eq
raise e
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/seispy/rf.py", line 387, in match_eq
self.eqs = match_eq(self.eq_lst, self.para.datapath, self.para.stainfo.stla,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/seispy/rf.py", line 219, in match_eq
sac_files.append([datestr, tr.stats.starttime-tr.stats.sac.b, tr.stats.sac.o])
^^^^^^^^^^^^^^
File "/Users/squ/Desktop/apps/envs/seispy/lib/python3.12/site-packages/obspy/core/util/attribdict.py", line 142, in getattr
raise AttributeError(e.args[0])
AttributeError: o
However, when I run with 5 earthquakes, the prf command work properly or correctly.
please help
Beta Was this translation helpful? Give feedback.
All reactions