Some cosmetics.

This commit is contained in:
Ludger Küperkoch 2015-06-02 13:42:44 +02:00
parent 15b245c2e8
commit ce75a82f5b

View File

@ -12,6 +12,7 @@ from pylot.core.util import _getVersionString
from pylot.core.read import Data, AutoPickParameter 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
import pdb
__version__ = _getVersionString() __version__ = _getVersionString()
@ -77,10 +78,13 @@ def autoPyLoT(inputfile):
#find corresponding streams #find corresponding streams
statdat = wfdat.select(station=stationID) statdat = wfdat.select(station=stationID)
run_autopicking(statdat, parameter) run_autopicking(statdat, parameter)
print '------------------------------------------'
print '-----Finished event %s!-----' % event
print '------------------------------------------'
#for single event processing #for single event processing
else: else:
data.setWFData(glob.glob(os.path.join(datapath, parameter.getParam('eventID'), '*'))) data.setWFData(glob.glob(os.path.join(datapath, parameter.getParam('eventID'), 'ROTT*')))
print 'Working on event ', parameter.getParam('eventID') print 'Working on event ', parameter.getParam('eventID')
print data print data
@ -96,6 +100,9 @@ def autoPyLoT(inputfile):
#find corresponding streams #find corresponding streams
statdat = wfdat.select(station=stationID) statdat = wfdat.select(station=stationID)
run_autopicking(statdat, parameter) run_autopicking(statdat, parameter)
print '------------------------------------------'
print '-------Finished event %s!-------' % parameter.getParam('eventID')
print '------------------------------------------'
if __name__ == "__main__": if __name__ == "__main__":