Implemented output formated for further VELEST processing.

This commit is contained in:
Ludger Küperkoch 2017-03-02 09:19:42 +01:00
parent 44d2acf331
commit 008d730609

View File

@ -12,6 +12,7 @@ from obspy import read_events
import pylot.core.loc.hyposat as hyposat
import pylot.core.loc.hypo71 as hypo71
import pylot.core.loc.velest as velest
import pylot.core.loc.nll as nll
from pylot.core.analysis.magnitude import MomentMagnitude, RichterMagnitude
from pylot.core.io.data import Data
@ -234,6 +235,9 @@ def autoPyLoT(inputfile):
# HYPOSAT
hyposatfile = '%s/autoPyLoT_HYPOSAT_phases' % event
hyposat.export(picks, hyposatfile, parameter)
# VELEST
velestfile = '%s/autoPyLoT_VELEST_phases.cnv' % event
velest.export(picks, velestfile, parameter, evt)
# ObsPy event object
data.applyEVTData(picks)
if evt is not None: