Flexibel for input-file naming now.
This commit is contained in:
parent
a95120ba5e
commit
47b41a1296
@ -135,7 +135,7 @@ def autoPyLoT(inputfile):
|
||||
ttpat)
|
||||
|
||||
# locate the event
|
||||
nll.locate(ctrfile)
|
||||
nll.locate(ctrfile, inputfile)
|
||||
|
||||
# !iterative picking if traces remained unpicked or occupied with bad picks!
|
||||
# get theoretical onset times for picks with weights >= 4
|
||||
@ -194,7 +194,7 @@ def autoPyLoT(inputfile):
|
||||
# remove actual NLLoc-location file to keep only the last
|
||||
os.remove(nllocfile)
|
||||
# locate the event
|
||||
nll.locate(ctrfile)
|
||||
nll.locate(ctrfile, inputfile)
|
||||
print("autoPyLoT: Iteration No. %d finished." % nlloccounter)
|
||||
# get updated NLLoc-location file
|
||||
nllocfile = max(glob.glob(locsearch), key=os.path.getctime)
|
||||
|
Loading…
Reference in New Issue
Block a user