Debuged writephases: if first motion (fm) is None, ? is written to NLLoc-phase file.
This commit is contained in:
parent
2ea2db0791
commit
b5b7453214
@ -963,6 +963,8 @@ def writephases(arrivals, fformat, filename):
|
|||||||
for key in arrivals:
|
for key in arrivals:
|
||||||
if arrivals[key]['P']['weight'] < 4:
|
if arrivals[key]['P']['weight'] < 4:
|
||||||
fm = arrivals[key]['P']['fm']
|
fm = arrivals[key]['P']['fm']
|
||||||
|
if fm == None:
|
||||||
|
fm = '?'
|
||||||
onset = arrivals[key]['P']['mpp']
|
onset = arrivals[key]['P']['mpp']
|
||||||
year = onset.year
|
year = onset.year
|
||||||
month = onset.month
|
month = onset.month
|
||||||
|
Loading…
Reference in New Issue
Block a user