From 47b41a12968e42152aa7531cdb14b959f1ebd711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Wed, 15 Mar 2017 14:17:02 +0100 Subject: [PATCH] Flexibel for input-file naming now. --- autoPyLoT.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)