Cosmetics

This commit is contained in:
Ludger Küperkoch
2017-08-11 15:02:47 +02:00
parent 571b90e5b7
commit fe2957f76d
2 changed files with 15 additions and 19 deletions

View File

@@ -205,6 +205,8 @@ def picksdict_from_picks(evt):
station = pick.waveform_id.station_code
channel = pick.waveform_id.channel_code
network = pick.waveform_id.network_code
mpp = pick.time
spe = pick.time_errors.uncertainty
try:
picker = str(pick.method_id)
if picker.startswith('smi:local/'):
@@ -216,8 +218,6 @@ def picksdict_from_picks(evt):
except KeyError as e:
# print(e)
onsets = {}
mpp = pick.time
spe = pick.time_errors.uncertainty
try:
lpp = mpp + pick.time_errors.upper_uncertainty
epp = mpp - pick.time_errors.lower_uncertainty