Additional screen output to inform the user about pick saving details.
This commit is contained in:
parent
6e2861fe24
commit
2a0cb9f6c8
@ -202,8 +202,9 @@ class Data(object):
|
|||||||
print("Pick uncertainty: {}".format(
|
print("Pick uncertainty: {}".format(
|
||||||
max([evtdata_copy.picks[i].time_errors['lower_uncertainty'],
|
max([evtdata_copy.picks[i].time_errors['lower_uncertainty'],
|
||||||
evtdata_copy.picks[i].time_errors['upper_uncertainty']])))
|
evtdata_copy.picks[i].time_errors['upper_uncertainty']])))
|
||||||
print("P-Pick of station {} will not be saved in outputfile".format(
|
print("{1} P-Pick of station {0} will not be saved in outputfile".format(
|
||||||
evtdata_copy.picks[i].waveform_id.station_code))
|
evtdata_copy.picks[i].waveform_id.station_code,
|
||||||
|
evtdata_copy.picks[i].method_id))
|
||||||
del evtdata_copy.picks[i]
|
del evtdata_copy.picks[i]
|
||||||
break
|
break
|
||||||
if evtdata_copy.picks[i].phase_hint[0] == 'S':
|
if evtdata_copy.picks[i].phase_hint[0] == 'S':
|
||||||
@ -214,8 +215,9 @@ class Data(object):
|
|||||||
print("Pick uncertainty: {}".format(
|
print("Pick uncertainty: {}".format(
|
||||||
max([evtdata_copy.picks[i].time_errors['lower_uncertainty'],
|
max([evtdata_copy.picks[i].time_errors['lower_uncertainty'],
|
||||||
evtdata_copy.picks[i].time_errors['upper_uncertainty']])))
|
evtdata_copy.picks[i].time_errors['upper_uncertainty']])))
|
||||||
print("S-Pick of station {} will not be saved in outputfile".format(
|
print("{1} S-Pick of station {0} will not be saved in outputfile".format(
|
||||||
evtdata_copy.picks[i].waveform_id.station_code))
|
evtdata_copy.picks[i].waveform_id.station_code,
|
||||||
|
evtdata_copy.picks[i].method_id))
|
||||||
del evtdata_copy.picks[i]
|
del evtdata_copy.picks[i]
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user