Lokale Variable "phases" #16

Closed
opened 2021-07-09 12:12:24 +02:00 by tommy · 0 comments
Collaborator

ZU dieser Variable habe ich verschiedene Fehlermeldungen bekommen, wenn ich die Praktikumsdaten neu eingelesen habe:

Erstes Auftreten:
No phases for TauPy selected in Preferences.
Warning: Could not init expected picks from taup: local variable 'phases' referenced before assignment
Traceback (most recent call last):
File "/Users/tommy/git/pylot/pylot/core/util/widgets.py", line 1724, in init
self.get_arrivals()
File "/Users/tommy/git/pylot/pylot/core/util/widgets.py", line 1962, in get_arrivals
phases = self.prepare_phases()
File "/Users/tommy/git/pylot/pylot/core/util/widgets.py", line 1999, in prepare_phases
phases = phases.split(',')
UnboundLocalError: local variable 'phases' referenced before assignment

Zweites Auftreten:
earllatepicker: Get earliest and latest possible pick relative to most likely pick ...
SNR of final pick: 3736.156130121646
fmpicker: Get first motion (polarity) of onset using unfiltered seismogram...
fmpicker: Onset on filtered trace too emergent for first motion determination!
fmpicker: Found polarity N
No phases for TauPy selected in Preferences.
Warning: Could not init expected picks from taup: local variable 'phases' referenced before assignment
Traceback (most recent call last):
File "/Users/tommy/git/pylot/pylot/core/util/widgets.py", line 1724, in init
self.get_arrivals()
File "/Users/tommy/git/pylot/pylot/core/util/widgets.py", line 1962, in get_arrivals
phases = self.prepare_phases()
File "/Users/tommy/git/pylot/pylot/core/util/widgets.py", line 1999, in prepare_phases
phases = phases.split(',')
UnboundLocalError: local variable 'phases' referenced before assignment

Das scheint bei jedem Pick zu passieren. Ich nehme mal an, dass er heir erwartet das er von Taupy immer Phasen geliefert bekommt.

ZU dieser Variable habe ich verschiedene Fehlermeldungen bekommen, wenn ich die Praktikumsdaten neu eingelesen habe: Erstes Auftreten: No phases for TauPy selected in Preferences. Warning: Could not init expected picks from taup: local variable 'phases' referenced before assignment Traceback (most recent call last): File "/Users/tommy/git/pylot/pylot/core/util/widgets.py", line 1724, in __init__ self.get_arrivals() File "/Users/tommy/git/pylot/pylot/core/util/widgets.py", line 1962, in get_arrivals phases = self.prepare_phases() File "/Users/tommy/git/pylot/pylot/core/util/widgets.py", line 1999, in prepare_phases phases = phases.split(',') UnboundLocalError: local variable 'phases' referenced before assignment Zweites Auftreten: earllatepicker: Get earliest and latest possible pick relative to most likely pick ... SNR of final pick: 3736.156130121646 fmpicker: Get first motion (polarity) of onset using unfiltered seismogram... fmpicker: Onset on filtered trace too emergent for first motion determination! fmpicker: Found polarity N No phases for TauPy selected in Preferences. Warning: Could not init expected picks from taup: local variable 'phases' referenced before assignment Traceback (most recent call last): File "/Users/tommy/git/pylot/pylot/core/util/widgets.py", line 1724, in __init__ self.get_arrivals() File "/Users/tommy/git/pylot/pylot/core/util/widgets.py", line 1962, in get_arrivals phases = self.prepare_phases() File "/Users/tommy/git/pylot/pylot/core/util/widgets.py", line 1999, in prepare_phases phases = phases.split(',') UnboundLocalError: local variable 'phases' referenced before assignment Das scheint bei jedem Pick zu passieren. Ich nehme mal an, dass er heir erwartet das er von Taupy immer Phasen geliefert bekommt.
kaan referenced this issue from a commit 2021-08-12 15:43:31 +02:00
kaan closed this issue 2021-08-12 15:44:01 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 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#16
No description provided.