diff --git a/autoPyLoT.py b/autoPyLoT.py index 13fd3c81..e8e31a06 100755 --- a/autoPyLoT.py +++ b/autoPyLoT.py @@ -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)