[fix] do not calculate moment magnitude for S phases
This commit is contained in:
parent
f34262d931
commit
c73435dec3
@ -988,6 +988,8 @@ class MainWindow(QMainWindow):
|
|||||||
settings.setValue("inventoryFile", fninv)
|
settings.setValue("inventoryFile", fninv)
|
||||||
settings.sync()
|
settings.sync()
|
||||||
for a in o.arrivals:
|
for a in o.arrivals:
|
||||||
|
if a.phase in 'sS':
|
||||||
|
continue
|
||||||
pick = a.pick_id.get_referred_object()
|
pick = a.pick_id.get_referred_object()
|
||||||
station = pick.waveform_id.station_code
|
station = pick.waveform_id.station_code
|
||||||
wf = self.get_data().getWFData().select(station=station)
|
wf = self.get_data().getWFData().select(station=station)
|
||||||
|
Loading…
Reference in New Issue
Block a user