diff --git a/pylot/core/loc/hyposat.py b/pylot/core/loc/hyposat.py new file mode 100644 index 00000000..e39ae3c5 --- /dev/null +++ b/pylot/core/loc/hyposat.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +from pylot.core.io.phases import writephases +from pylot.core.util.version import get_git_version as _getVersionString + +__version__ = _getVersionString() + +def export(picks, fnout, parameter): + ''' + Take dictionary and exports picking data to a HYPOSAT + without creating an ObsPy event object. + + :param picks: picking data dictionary + :type picks: dict + + :param fnout: complete path to the exporting obs file + :type fnout: str + + :param: parameter, all input information + :type: object + ''' + # write phases to NLLoc-phase file + writephases(picks, 'HYPOSAT', fnout, parameter)