Claculation of Wood-Anderson amplitude only, if S-weight < 4.

This commit is contained in:
Ludger Küperkoch 2015-08-28 11:39:39 +02:00
parent 827a07a7ef
commit eb592a3426

View File

@ -507,6 +507,7 @@ def autopickstation(wfstream, pickparam):
print 'autopickstation: S-weight: %d, SNR: %f, SNR[dB]: %f' % ( print 'autopickstation: S-weight: %d, SNR: %f, SNR[dB]: %f' % (
Sweight, SNRS, SNRSdB) Sweight, SNRS, SNRSdB)
################################################################## ##################################################################
if Sweight < 4:
# get Wood-Anderson peak-to-peak amplitude # get Wood-Anderson peak-to-peak amplitude
print "################################################" print "################################################"
# initialize Data object # initialize Data object