Some Cosmetics.

This commit is contained in:
Ludger Küperkoch 2015-06-24 10:23:24 +02:00
parent 61c745cd79
commit b44fbe0b02

View File

@ -13,6 +13,7 @@ from pylot.core.read import Data, AutoPickParameter
from pylot.core.pick.run_autopicking import run_autopicking from pylot.core.pick.run_autopicking import run_autopicking
from pylot.core.util.structure import DATASTRUCTURE from pylot.core.util.structure import DATASTRUCTURE
from pylot.core.pick.utils import wadaticheck from pylot.core.pick.utils import wadaticheck
import pdb
__version__ = _getVersionString() __version__ = _getVersionString()
@ -30,6 +31,18 @@ def autoPyLoT(inputfile):
.. rubric:: Example .. rubric:: Example
''' '''
print '************************************'
print '*********autoPyLoT starting*********'
print 'The Python picking and Location Tool'
print ' Version ', _getVersionString(), '2015'
print '**Authors:'
print '**S. Wehling-Benatelli'
print '** Ruhr-University Bochum'
print '**L. Kueperkoch'
print '** BESTEC GmbH'
print '**K. Olbert'
print '** Christian-Albrechts University Kiel'
print '************************************'
# reading parameter file # reading parameter file
@ -115,7 +128,6 @@ def autoPyLoT(inputfile):
station = wfdat[0].stats.station station = wfdat[0].stats.station
allonsets = {station: picks} allonsets = {station: picks}
for i in range(len(wfdat)): for i in range(len(wfdat)):
#for i in range(0,5):
stationID = wfdat[i].stats.station stationID = wfdat[i].stats.station
#check if station has already been processed #check if station has already been processed
if stationID not in procstats: if stationID not in procstats:
@ -139,6 +151,10 @@ def autoPyLoT(inputfile):
print '-------Finished event %s!-------' % parameter.getParam('eventID') print '-------Finished event %s!-------' % parameter.getParam('eventID')
print '------------------------------------------' print '------------------------------------------'
print '************************************'
print '*********autoPyLoT terminates*******'
print 'The Python picking and Location Tool'
print '************************************'
if __name__ == "__main__": if __name__ == "__main__":
# parse arguments # parse arguments