Lokale Variable "phases" #16
Labels
No Label
analysis
bug
documentation
enhancement
feature
incompatibility
management
Priority:0
Priority:1
Priority:2
Priority:3
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: marcel/pylot#16
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?
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.