From 2dc7819a84dc13b2b71a15c96b0ecb6c7931dfa4 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Thu, 27 Aug 2015 05:51:03 +0200 Subject: [PATCH] restitute seismometer response --- autoPyLoT.py | 9 +++++++++ 1 file changed, 9 insertions(+) mode change 100755 => 100644 autoPyLoT.py diff --git a/autoPyLoT.py b/autoPyLoT.py old mode 100755 new mode 100644 index 1b377f07..c4e941ea --- a/autoPyLoT.py +++ b/autoPyLoT.py @@ -68,6 +68,11 @@ def autoPyLoT(inputfile): datastructure.modifyFields(**dsfields) datastructure.setExpandFields(exf) + # get path to inventory or dataless-seed file with station meta data + invdir = parameter.getParam('invdir') + # get corner frequencies for pre-filtering traces + prefilt = parameter.getParam('prefilt') + # multiple event processing # read each event in database datapath = datastructure.expandDataPath() @@ -78,6 +83,8 @@ def autoPyLoT(inputfile): print data wfdat = data.getWFData() # all available streams + # restitute waveform data getting responses from inventory-file + wfdat = data.restituteWFData(invdir, prefilt) ########################################################## # !automated picking starts here! picks = autopickevent(wfdat, parameter) @@ -93,6 +100,8 @@ def autoPyLoT(inputfile): print data wfdat = data.getWFData() # all available streams + # restitute waveform data getting responses from inventory-file + wfdat = data.restituteWFData(invdir, prefilt) ########################################################## # !automated picking starts here! picks = autopickevent(wfdat, parameter)