If several locations done, use the most recent one.

This commit is contained in:
Ludger Küperkoch
2019-09-13 12:29:42 +02:00
parent 813a2c989e
commit e94129ec36
2 changed files with 9 additions and 5 deletions

View File

@@ -3379,7 +3379,6 @@ class MainWindow(QMainWindow):
for station in self.getPicks():
wf_select = wf_copy.select(station=station)
corr_wf = restitute_data(wf_select, self.metadata)
# calculate moment magnitude
moment_mag = MomentMagnitude(corr_wf, self.get_data().get_evt_data(), self.inputs.get('vp'),
self.inputs.get('Qp'), self.inputs.get('rho'), verbosity=True)