Bug during locating/restitution #37

Open
opened 2023-09-18 16:14:02 +02:00 by ludger · 3 comments
Collaborator

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.

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.
Owner

Please provide some example files to reproduce the error!

Please provide some example files to reproduce the error!
Author
Collaborator

Please find attached example waveform and corresponding meta data.

Please find attached example waveform and corresponding meta data.
ludger reopened this issue 2023-09-18 16:32:20 +02:00
Author
Collaborator

I forgot to provide NonLinLoc-Inputfile, please find it attached.

I forgot to provide NonLinLoc-Inputfile, please find it attached.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: marcel/pylot#37
No description provided.