diff --git a/inputs/autoPyLoT_local.in b/inputs/autoPyLoT_local.in index 329a0fe2..725a9dec 100644 --- a/inputs/autoPyLoT_local.in +++ b/inputs/autoPyLoT_local.in @@ -11,6 +11,7 @@ EVENT_DATA/LOCAL #datapath# %data path /DATA/Insheim/STAT_INFO #invdir# %full path to inventory or dataless-seed file PILOT #datastructure#%choose data structure 0 #iplot# %flag for plotting: 0 none, 1 partly, >1 everything +True #apverbose# %choose 'True' or 'False' for terminal output %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% #NLLoc settings# /home/ludger/NLLOC #nllocbin# %path to NLLoc executable diff --git a/pylot/core/pick/autopick.py b/pylot/core/pick/autopick.py index 9879feb7..efbceff8 100755 --- a/pylot/core/pick/autopick.py +++ b/pylot/core/pick/autopick.py @@ -31,6 +31,7 @@ def autopickevent(data, param): wdttolerance = param.get('wdttolerance') mdttolerance = param.get('mdttolerance') iplot = param.get('iplot') + apverbose = param.get('apverbose') for n in range(len(data)): station = data[n].stats.station if station not in stations: @@ -40,7 +41,7 @@ def autopickevent(data, param): for station in stations: topick = data.select(station=station) - all_onsets[station] = autopickstation(topick, param) + all_onsets[station] = autopickstation(topick, param, verbose=apverbose) # quality control # median check and jackknife on P-onset times @@ -366,7 +367,6 @@ def autopickstation(wfstream, pickparam, verbose=False): round(min([mpickP + sstop, Lwf]))] if algoS == 'ARH': - if verbose: print(edat, ndat) # re-create stream object including both horizontal components hdat = edat.copy() hdat += ndat @@ -383,7 +383,6 @@ def autopickstation(wfstream, pickparam, verbose=False): h_copy[0].data = trH1_filt.data h_copy[1].data = trH2_filt.data elif algoS == 'AR3': - if verbose: print(zdat, edat, ndat) # re-create stream object including all components hdat = zdat.copy() hdat += edat