Marginal changes.

This commit is contained in:
Ludger Küperkoch 2015-08-27 09:53:05 +02:00
parent 0f4d13b8a5
commit 4bfe4ce047

View File

@ -163,7 +163,7 @@ def autopickstation(wfstream, pickparam):
if Ldiff < 0: if Ldiff < 0:
print 'autopickstation: Cutting times are too large for actual ' \ print 'autopickstation: Cutting times are too large for actual ' \
'waveform!' 'waveform!'
print 'Use entire waveform instead!' print 'Using entire waveform instead!'
pstart = 0 pstart = 0
pstop = len(zdat[0].data) * zdat[0].stats.delta pstop = len(zdat[0].data) * zdat[0].stats.delta
cuttimes = [pstart, pstop] cuttimes = [pstart, pstop]
@ -200,7 +200,7 @@ def autopickstation(wfstream, pickparam):
# both horizontal traces needed # both horizontal traces needed
if len(ndat) == 0 or len(edat) == 0: if len(ndat) == 0 or len(edat) == 0:
print 'One or more horizontal components missing!' print 'One or more horizontal components missing!'
print 'Skip control function checkZ4S.' print 'Skipping control function checkZ4S.'
else: else:
# filter and taper horizontal traces # filter and taper horizontal traces
trH1_filt = edat.copy() trH1_filt = edat.copy()
@ -297,14 +297,14 @@ def autopickstation(wfstream, pickparam):
Sflag = 1 Sflag = 1
else: else:
print 'Bad initial (AIC) P-pick, skip this onset!' print 'Bad initial (AIC) P-pick, skipping this onset!'
print 'AIC-SNR=', aicpick.getSNR(), 'AIC-Slope=', aicpick.getSlope(), 'counts/s' print 'AIC-SNR=', aicpick.getSNR(), 'AIC-Slope=', aicpick.getSlope(), 'counts/s'
print '(min. AIC-SNR=', minAICPSNR, ', min. AIC-Slope=', minAICPslope, 'counts/s)' print '(min. AIC-SNR=', minAICPSNR, ', min. AIC-Slope=', minAICPslope, 'counts/s)'
Sflag = 0 Sflag = 0
else: else:
print 'autopickstation: No vertical component data availabler!, ' \ print 'autopickstation: No vertical component data available!, ' \
'Skip station!' 'Skipping station!'
if edat is not None and ndat is not None and len(edat) > 0 and len( if edat is not None and ndat is not None and len(edat) > 0 and len(
ndat) > 0 and Pweight < 4: ndat) > 0 and Pweight < 4:
@ -503,7 +503,7 @@ def autopickstation(wfstream, pickparam):
Sweight, SNRS, SNRSdB) Sweight, SNRS, SNRSdB)
else: else:
print 'Bad initial (AIC) S-pick, skip this onset!' print 'Bad initial (AIC) S-pick, skipping this onset!'
print 'AIC-SNR=', aicarhpick.getSNR(), \ print 'AIC-SNR=', aicarhpick.getSNR(), \
'AIC-Slope=', aicarhpick.getSlope(), 'counts/s' 'AIC-Slope=', aicarhpick.getSlope(), 'counts/s'
print '(min. AIC-SNR=', minAICSSNR, ', min. AIC-Slope=', \ print '(min. AIC-SNR=', minAICSSNR, ', min. AIC-Slope=', \