Bug during locating/restitution #37
Labels
No Label
analysis
bug
documentation
enhancement
feature
incompatibility
management
Priority:0
Priority:1
Priority:2
Priority:3
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: marcel/pylot#37
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The following error occurs when locating/restituting event/waveforms (after click on location button):
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/ludger/gitea/pylot/pylot/core/util/dataprocessing.py", line 614, in restitute_trace
tr.attach_response(inventory)
File "/home/ludger/anaconda3/envs/pylot_38/lib/python3.8/site-packages/obspy/core/trace.py", line 2671, in attach_response
self.stats.response = self._get_response(inventories)
File "/home/ludger/anaconda3/envs/pylot_38/lib/python3.8/site-packages/obspy/core/trace.py", line 2637, in _get_response
raise ValueError(msg)
ValueError: No matching response information found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ludger/anaconda3/envs/pylot_38/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/home/ludger/gitea/pylot/pylot/core/util/dataprocessing.py", line 624, in restitute_trace
if msg0 not in e.message or msg1 not in e.message:
AttributeError: 'ValueError' object has no attribute 'message'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "./PyLoT.py", line 3161, in locate_event
for event in self.calc_magnitude():
File "./PyLoT.py", line 3572, in calc_magnitude
corr_wf = restitute_data(wf_select, self.metadata)
File "/home/ludger/gitea/pylot/pylot/core/util/dataprocessing.py", line 657, in restitute_data
for tr, remove_trace in result:
File "/home/ludger/anaconda3/envs/pylot_38/lib/python3.8/multiprocessing/pool.py", line 868, in next
raise value
AttributeError: 'ValueError' object has no attribute 'message'
Meta data of all stations are available and have already been used.
Please provide some example files to reproduce the error!
Please find attached example waveform and corresponding meta data.
I forgot to provide NonLinLoc-Inputfile, please find it attached.