Modyfied picksExport: additional parameter locrt to choose location routine, i.e. phase-file format.
This commit is contained in:
parent
19e60e5f0c
commit
1d6d786dbb
@ -10,16 +10,18 @@ from pylot.core.util.version import get_git_version as _getVersionString
|
|||||||
|
|
||||||
__version__ = _getVersionString()
|
__version__ = _getVersionString()
|
||||||
|
|
||||||
def picksExport(picks, phasefile):
|
def picksExport(picks, locrt, phasefile):
|
||||||
'''
|
'''
|
||||||
Take <picks> dictionary and exports picking data to a NLLOC-obs <phasefile> without creating an ObsPy event object.
|
Take <picks> dictionary and exports picking data to a NLLOC-obs <phasefile> without creating an ObsPy event object.
|
||||||
:param picks: picking data dictionary
|
:param picks: picking data dictionary
|
||||||
:type picks: dict
|
:type picks: dict
|
||||||
|
:param locrt: choose location routine
|
||||||
|
:type locrt: str
|
||||||
:param phasefile: complete path to the exporting obs file
|
:param phasefile: complete path to the exporting obs file
|
||||||
:type phasefile: str
|
:type phasefile: str
|
||||||
'''
|
'''
|
||||||
# write phases to NLLoc-phase file
|
# write phases to NLLoc-phase file
|
||||||
writephases(picks, 'NLLoc', phasefile)
|
writephases(picks, locrt, phasefile)
|
||||||
|
|
||||||
def modfiyInputFile(fn, root, outpath, phasefn, tttn):
|
def modfiyInputFile(fn, root, outpath, phasefn, tttn):
|
||||||
'''
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user