Commit 32b0a745 authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

cleanup

parent c6b649ef
...@@ -129,8 +129,6 @@ def search( ...@@ -129,8 +129,6 @@ def search(
run_path = fp(config.run_path) run_path = fp(config.run_path)
print('xxx')
if op.exists(run_path): if op.exists(run_path):
if force: if force:
shutil.rmtree(run_path) shutil.rmtree(run_path)
...@@ -272,12 +270,9 @@ def search( ...@@ -272,12 +270,9 @@ def search(
iwin = -1 iwin = -1
print(tmin_win, tmax_win, tinc, tpad)
for trs in p.chopper(tmin=tmin_win, tmax=tmax_win, tinc=tinc, tpad=tpad, for trs in p.chopper(tmin=tmin_win, tmax=tmax_win, tinc=tinc, tpad=tpad,
want_incomplete=config.fill_incomplete_with_zeros, want_incomplete=config.fill_incomplete_with_zeros,
trace_selector=lambda tr: tr.nslc_id[:3] in station_index): trace_selector=lambda tr: tr.nslc_id[:3] in station_index):
print('xx', trs)
iwin += 1 iwin += 1
trs_ok = [] trs_ok = []
for tr in trs: for tr in trs:
...@@ -506,8 +501,6 @@ def search( ...@@ -506,8 +501,6 @@ def search(
io.save([tr_stackmax, tr_stackmax_indx], ifm_path_template) io.save([tr_stackmax, tr_stackmax_indx], ifm_path_template)
del frames del frames
print('dd')
logger.info('dd')
logger.info('end processing time window group: %s - %s' % ( logger.info('end processing time window group: %s - %s' % (
util.time_to_str(tmin_win), util.time_to_str(tmin_win),
util.time_to_str(tmax_win))) util.time_to_str(tmax_win)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment