Additional screen output in verbose mode.

This commit is contained in:
Ludger Küperkoch 2016-10-21 14:16:45 +02:00
parent cb0b8c5735
commit 18d2654029

View File

@ -200,8 +200,8 @@ class RichterMagnitude(Magnitude):
iwin = getsignalwin(th, t0 - stime, self.calc_win) iwin = getsignalwin(th, t0 - stime, self.calc_win)
wapp = np.max(sqH[iwin]) wapp = np.max(sqH[iwin])
if self.verbose: if self.verbose:
print("Determined Wood-Anderson peak-to-peak amplitude: {0} " print("Determined Wood-Anderson peak-to-peak amplitude for station {0}: {1} "
"mm".format(wapp)) "mm".format(st[0].stats.station, wapp))
# check for plot flag (for debugging only) # check for plot flag (for debugging only)
if self.plot_flag > 1: if self.plot_flag > 1: