Some cosmetics.
This commit is contained in:
parent
8e54594260
commit
cb0b8c5735
@ -157,7 +157,7 @@ def autopickstation(wfstream, pickparam, verbose=False):
|
|||||||
ndat = wfstream.select(component="1")
|
ndat = wfstream.select(component="1")
|
||||||
|
|
||||||
if algoP == 'HOS' or algoP == 'ARZ' and zdat is not None:
|
if algoP == 'HOS' or algoP == 'ARZ' and zdat is not None:
|
||||||
msg = '##########################################\nautopickstation:' \
|
msg = '##################################################\nautopickstation:' \
|
||||||
' Working on P onset of station {station}\nFiltering vertical ' \
|
' Working on P onset of station {station}\nFiltering vertical ' \
|
||||||
'trace ...\n{data}'.format(station=zdat[0].stats.station,
|
'trace ...\n{data}'.format(station=zdat[0].stats.station,
|
||||||
data=str(zdat))
|
data=str(zdat))
|
||||||
@ -552,7 +552,7 @@ def autopickstation(wfstream, pickparam, verbose=False):
|
|||||||
|
|
||||||
print('autopickstation: S-weight: {0}, SNR: {1}, '
|
print('autopickstation: S-weight: {0}, SNR: {1}, '
|
||||||
'SNR[dB]: {2}\n'
|
'SNR[dB]: {2}\n'
|
||||||
'################################################'
|
'##################################################'
|
||||||
''.format(Sweight, SNRS, SNRSdB))
|
''.format(Sweight, SNRS, SNRSdB))
|
||||||
################################################################
|
################################################################
|
||||||
# get Wood-Anderson peak-to-peak amplitude
|
# get Wood-Anderson peak-to-peak amplitude
|
||||||
@ -566,7 +566,7 @@ def autopickstation(wfstream, pickparam, verbose=False):
|
|||||||
'AIC-SNR={0}, AIC-Slope={1}counts/s\n' \
|
'AIC-SNR={0}, AIC-Slope={1}counts/s\n' \
|
||||||
'(min. AIC-SNR={2}, ' \
|
'(min. AIC-SNR={2}, ' \
|
||||||
'min. AIC-Slope={3}counts/s)\n' \
|
'min. AIC-Slope={3}counts/s)\n' \
|
||||||
'################################################' \
|
'##################################################' \
|
||||||
''.format(aicarhpick.getSNR(),
|
''.format(aicarhpick.getSNR(),
|
||||||
aicarhpick.getSlope(),
|
aicarhpick.getSlope(),
|
||||||
minAICSSNR,
|
minAICSSNR,
|
||||||
@ -804,7 +804,7 @@ def iteratepicker(wf, NLLocfile, picks, badpicks, pickparameter):
|
|||||||
:param pickparameter: picking parameters from autoPyLoT-input file
|
:param pickparameter: picking parameters from autoPyLoT-input file
|
||||||
'''
|
'''
|
||||||
|
|
||||||
msg = '#######################################################\n' \
|
msg = '##################################################\n' \
|
||||||
'autoPyLoT: Found {0} bad onsets at station(s) {1}, ' \
|
'autoPyLoT: Found {0} bad onsets at station(s) {1}, ' \
|
||||||
'starting re-picking them ...'.format(len(badpicks), badpicks)
|
'starting re-picking them ...'.format(len(badpicks), badpicks)
|
||||||
print(msg)
|
print(msg)
|
||||||
@ -823,7 +823,7 @@ def iteratepicker(wf, NLLocfile, picks, badpicks, pickparameter):
|
|||||||
badpicks[i][1] = picks[badpicks[i][0]]['P']['mpp'] - float(res)
|
badpicks[i][1] = picks[badpicks[i][0]]['P']['mpp'] - float(res)
|
||||||
|
|
||||||
# get corresponding waveform stream
|
# get corresponding waveform stream
|
||||||
msg = '#######################################################\n' \
|
msg = '##################################################\n' \
|
||||||
'iteratepicker: Re-picking station {0}'.format(badpicks[i][0])
|
'iteratepicker: Re-picking station {0}'.format(badpicks[i][0])
|
||||||
print(msg)
|
print(msg)
|
||||||
wf2pick = wf.select(station=badpicks[i][0])
|
wf2pick = wf.select(station=badpicks[i][0])
|
||||||
|
Loading…
Reference in New Issue
Block a user