[bugfix] set simple phase hint (P or S)
This commit is contained in:
parent
b9adb182ad
commit
a9aeb7aaa3
@ -280,6 +280,7 @@ def picksdict_from_picks(evt):
|
|||||||
infile = os.path.join(os.path.expanduser('~'), '.pylot', 'pylot.in')
|
infile = os.path.join(os.path.expanduser('~'), '.pylot', 'pylot.in')
|
||||||
print('Using default input file {}'.format(infile))
|
print('Using default input file {}'.format(infile))
|
||||||
parameter = PylotParameter(infile)
|
parameter = PylotParameter(infile)
|
||||||
|
pick.phase_hint = identifyPhase(pick.phase_hint)
|
||||||
if pick.phase_hint == 'P':
|
if pick.phase_hint == 'P':
|
||||||
errors = parameter['timeerrorsP']
|
errors = parameter['timeerrorsP']
|
||||||
elif pick.phase_hint == 'S':
|
elif pick.phase_hint == 'S':
|
||||||
|
Loading…
Reference in New Issue
Block a user