[minor] removed old code

This commit is contained in:
Marcel Paffrath 2018-07-18 11:42:46 +02:00
parent ed654024b2
commit 12082cb2a9

View File

@ -280,12 +280,6 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even
metadata = Metadata(parameter.get('invdir')) metadata = Metadata(parameter.get('invdir'))
else: else:
metadata = Metadata(os.path.join(eventpath, 'resp')) metadata = Metadata(os.path.join(eventpath, 'resp'))
# metadata = read_metadata(parameter.get('invdir'))
# TODO: (idea) read metadata from obspy_dmt database
# if not wfpath_extension:
# metadata = read_metadata(parameter.get('invdir'))
# else:
# metadata = None
corr_dat = None corr_dat = None
if metadata: if metadata:
# rotate stations to ZNE # rotate stations to ZNE