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:
|
||||
if arrivals[key]['P']['weight'] < 4:
|
||||
fm = arrivals[key]['P']['fm']
|
||||
if fm == None:
|
||||
fm = '?'
|
||||
onset = arrivals[key]['P']['mpp']
|
||||
year = onset.year
|
||||
month = onset.month
|
||||
|
Loading…
Reference in New Issue
Block a user