[bugfix] start/endtimes modified for taupy were not used at all
This commit is contained in:
parent
34ca64ee17
commit
7382ca5d47
@ -780,7 +780,6 @@ class AutopickStation(object):
|
|||||||
self.tr_filt_z_bpz2 = tr_filt
|
self.tr_filt_z_bpz2 = tr_filt
|
||||||
|
|
||||||
if get_Bool(self.pickparams['use_taup']) is True and self.origin is not None:
|
if get_Bool(self.pickparams['use_taup']) is True and self.origin is not None:
|
||||||
Lc = np.inf
|
|
||||||
try:
|
try:
|
||||||
# modify pstart, pstop to be around theoretical onset if taupy should be used, else does nothing
|
# modify pstart, pstop to be around theoretical onset if taupy should be used, else does nothing
|
||||||
self.modify_starttimes_taupy()
|
self.modify_starttimes_taupy()
|
||||||
@ -788,8 +787,8 @@ class AutopickStation(object):
|
|||||||
print(ae)
|
print(ae)
|
||||||
except MissingTraceException as mte:
|
except MissingTraceException as mte:
|
||||||
print(mte)
|
print(mte)
|
||||||
else:
|
|
||||||
Lc = self.pickparams['pstop'] - self.pickparams['pstart']
|
Lc = self.pickparams['pstop'] - self.pickparams['pstart']
|
||||||
|
|
||||||
Lwf = self.ztrace.stats.endtime - self.ztrace.stats.starttime
|
Lwf = self.ztrace.stats.endtime - self.ztrace.stats.starttime
|
||||||
if Lwf < 0:
|
if Lwf < 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user