[bugfix] start/endtimes modified for taupy were not used at all

This commit is contained in:
Marcel Paffrath 2019-09-02 10:44:25 +02:00
parent 34ca64ee17
commit 7382ca5d47

View File

@ -780,7 +780,6 @@ class AutopickStation(object):
self.tr_filt_z_bpz2 = tr_filt
if get_Bool(self.pickparams['use_taup']) is True and self.origin is not None:
Lc = np.inf
try:
# modify pstart, pstop to be around theoretical onset if taupy should be used, else does nothing
self.modify_starttimes_taupy()
@ -788,7 +787,7 @@ class AutopickStation(object):
print(ae)
except MissingTraceException as mte:
print(mte)
else:
Lc = self.pickparams['pstop'] - self.pickparams['pstart']
Lwf = self.ztrace.stats.endtime - self.ztrace.stats.starttime