[bugfix] set locflag = 2 if traces could not be corrected
This commit is contained in:
parent
154f802f27
commit
ac25f9cacb
@ -201,7 +201,8 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even
|
||||
metadata = read_metadata(parameter.get('invdir'))
|
||||
print("Restitute data ...")
|
||||
corr_dat = restitute_data(wfdat.copy(), *metadata)
|
||||
|
||||
if not corr_dat:
|
||||
locflag = 2
|
||||
print('Working on event %s. Stations: %s' % (event, station))
|
||||
print(wfdat)
|
||||
##########################################################
|
||||
|
Loading…
Reference in New Issue
Block a user