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)
wapp = np.max(sqH[iwin])
if self.verbose:
print("Determined Wood-Anderson peak-to-peak amplitude: {0} "
"mm".format(wapp))
print("Determined Wood-Anderson peak-to-peak amplitude for station {0}: {1} "
"mm".format(st[0].stats.station, wapp))
# check for plot flag (for debugging only)
if self.plot_flag > 1: