diff --git a/autoPyLoT.py b/autoPyLoT.py index 3084f1ad..767881af 100755 --- a/autoPyLoT.py +++ b/autoPyLoT.py @@ -13,6 +13,7 @@ from pylot.core.read.data import Data from pylot.core.read.inputs import AutoPickParameter from pylot.core.util.structure import DATASTRUCTURE from pylot.core.pick.autopick import autopickevent +from pylot.core.pick.utils import writephases __version__ = _getVersionString() @@ -85,6 +86,9 @@ def autoPyLoT(inputfile): # !automated picking starts here! picks = autopickevent(wfdat, parameter) + # write phases to NLLoc-phase file + writephases(wd_checked_onsets, 'NLLoc', phasefile) + print '------------------------------------------' print '-----Finished event %s!-----' % event print '------------------------------------------' @@ -100,6 +104,9 @@ def autoPyLoT(inputfile): # !automated picking starts here! picks = autopickevent(wfdat, parameter) + # write phases to NLLoc-phase file + writephases(wd_checked_onsets, 'NLLoc', phasefile) + print '------------------------------------------' print '-------Finished event %s!-------' % parameter.getParam('eventID') print '------------------------------------------'