From 1d6d786dbbdb8c89988ceefaaf04d18a4fa3c65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Tue, 17 Nov 2015 17:05:36 +0100 Subject: [PATCH] Modyfied picksExport: additional parameter locrt to choose location routine, i.e. phase-file format. --- pylot/core/loc/nll.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pylot/core/loc/nll.py b/pylot/core/loc/nll.py index 3ecd1211..f45cbfe4 100644 --- a/pylot/core/loc/nll.py +++ b/pylot/core/loc/nll.py @@ -10,16 +10,18 @@ from pylot.core.util.version import get_git_version as _getVersionString __version__ = _getVersionString() -def picksExport(picks, phasefile): +def picksExport(picks, locrt, phasefile): ''' Take dictionary and exports picking data to a NLLOC-obs without creating an ObsPy event object. :param picks: picking data dictionary :type picks: dict + :param locrt: choose location routine + :type locrt: str :param phasefile: complete path to the exporting obs file :type phasefile: str ''' # write phases to NLLoc-phase file - writephases(picks, 'NLLoc', phasefile) + writephases(picks, locrt, phasefile) def modfiyInputFile(fn, root, outpath, phasefn, tttn): '''