[minor] modified status output (count events)
This commit is contained in:
parent
3c3fd00654
commit
8ae00529f0
@ -227,7 +227,10 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even
|
|||||||
|
|
||||||
allpicks = {}
|
allpicks = {}
|
||||||
glocflag = locflag
|
glocflag = locflag
|
||||||
for eventpath in events:
|
|
||||||
|
nEvents = len(events)
|
||||||
|
for index, eventpath in enumerate(events):
|
||||||
|
print('Working on: {} ({}/{})'.format(eventpath, index + 1, nEvents))
|
||||||
evID = os.path.split(eventpath)[-1]
|
evID = os.path.split(eventpath)[-1]
|
||||||
event_datapath = os.path.join(eventpath, wfpath_extension)
|
event_datapath = os.path.join(eventpath, wfpath_extension)
|
||||||
fext = '.xml'
|
fext = '.xml'
|
||||||
@ -295,7 +298,7 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even
|
|||||||
corr_dat = restitute_data(wfdat.copy(), metadata, ncores=ncores)
|
corr_dat = restitute_data(wfdat.copy(), metadata, ncores=ncores)
|
||||||
if not corr_dat and locflag:
|
if not corr_dat and locflag:
|
||||||
locflag = 2
|
locflag = 2
|
||||||
print('Working on event %s. Stations: %s' % (eventpath, station))
|
print('Stations: %s' % (station))
|
||||||
print(wfdat)
|
print(wfdat)
|
||||||
##########################################################
|
##########################################################
|
||||||
# !automated picking starts here!
|
# !automated picking starts here!
|
||||||
|
Loading…
Reference in New Issue
Block a user