Reversed changes made in previous commit, initialize ObsPy-event object including path.
This commit is contained in:
@@ -228,8 +228,9 @@ class Data(object):
|
||||
else:
|
||||
evtdata_org = self.get_evt_data()
|
||||
picks = evtdata_org.picks
|
||||
eventpath = evtdata_org.path
|
||||
picks_copy = copy.deepcopy(picks)
|
||||
evtdata_copy = Event(fnout)
|
||||
evtdata_copy = Event(eventpath)
|
||||
evtdata_copy.picks = picks_copy
|
||||
|
||||
# check for stations picked automatically as well as manually
|
||||
|
||||
@@ -291,7 +291,6 @@ def autopickstation(wfstream, pickparam, verbose=False,
|
||||
if algoP == 'HOS':
|
||||
# calculate HOS-CF using subclass HOScf of class
|
||||
# CharacteristicFunction
|
||||
print(cuttimes)
|
||||
cf1 = HOScf(z_copy, cuttimes, thosmw, hosorder) # instance of HOScf
|
||||
elif algoP == 'ARZ':
|
||||
# calculate ARZ-CF using subclass ARZcf of class
|
||||
|
||||
Reference in New Issue
Block a user