[bugfix] automatic data with the S-P time saved in the pickdict caused Exception in the ProbabilityDensityFunction constructor
This commit is contained in:
parent
14cd175297
commit
be326cba7b
@ -270,6 +270,8 @@ class PDFDictionary(object):
|
|||||||
|
|
||||||
for station, phases in pdf_picks.items():
|
for station, phases in pdf_picks.items():
|
||||||
for phase, values in phases.items():
|
for phase, values in phases.items():
|
||||||
|
if phase not in 'PS':
|
||||||
|
continue
|
||||||
phases[phase] = ProbabilityDensityFunction.from_pick(
|
phases[phase] = ProbabilityDensityFunction.from_pick(
|
||||||
values['epp'],
|
values['epp'],
|
||||||
values['mpp'],
|
values['mpp'],
|
||||||
|
Loading…
Reference in New Issue
Block a user