[bugfix] wasnt using processed data
This commit is contained in:
parent
4d3b300e17
commit
9b0ef55b70
@ -379,7 +379,10 @@ class Data(object):
|
|||||||
self.wfsyn = Stream()
|
self.wfsyn = Stream()
|
||||||
wffnames = None
|
wffnames = None
|
||||||
wffnames_syn = None
|
wffnames_syn = None
|
||||||
wfdir = 'processed' if 'processed' in [fname.split('/')[-1] for fname in fnames] else 'raw'
|
wfdir = 'raw'
|
||||||
|
for fname in fnames:
|
||||||
|
if fname.endswith('processed'):
|
||||||
|
wfdir = 'processed'
|
||||||
if obspy_dmt:
|
if obspy_dmt:
|
||||||
for fpath in fnames:
|
for fpath in fnames:
|
||||||
if fpath.endswith(wfdir):
|
if fpath.endswith(wfdir):
|
||||||
|
Loading…
Reference in New Issue
Block a user