[change] updated parameters of function call exportEvent in autoPyLoT
This commit is contained in:
parent
52f9e61c9f
commit
547355fbdf
@ -361,7 +361,7 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even
|
|||||||
evt.resource_id = ResourceIdentifier('smi:local/' + event_id)
|
evt.resource_id = ResourceIdentifier('smi:local/' + event_id)
|
||||||
data.applyEVTData(evt, 'event')
|
data.applyEVTData(evt, 'event')
|
||||||
fnqml = '%s/PyLoT_%s' % (event, evID)
|
fnqml = '%s/PyLoT_%s' % (event, evID)
|
||||||
data.exportEvent(fnqml, fnext='.xml', fcheck='manual')
|
data.exportEvent(fnqml, fnext='.xml', fcheck=['auto', 'magnitude', 'origin'])
|
||||||
if locflag == 1:
|
if locflag == 1:
|
||||||
# HYPO71
|
# HYPO71
|
||||||
hypo71file = '%s/PyLoT_%s_HYPO71_phases' % (event, evID)
|
hypo71file = '%s/PyLoT_%s_HYPO71_phases' % (event, evID)
|
||||||
|
@ -188,10 +188,10 @@ class Data(object):
|
|||||||
def exportEvent(self, fnout, fnext='.xml', fcheck='auto', upperErrors=None):
|
def exportEvent(self, fnout, fnext='.xml', fcheck='auto', upperErrors=None):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
:param fnout:
|
:param fnout: basename of file
|
||||||
:param fnext:
|
:param fnext: file extension
|
||||||
:param fcheck:
|
:param fcheck: check and delete existing information
|
||||||
:raise KeyError:
|
can be a str or a list of strings of ['manual', 'auto', 'origin', 'magnitude']
|
||||||
"""
|
"""
|
||||||
from pylot.core.util.defaults import OUTPUTFORMATS
|
from pylot.core.util.defaults import OUTPUTFORMATS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user