[bugfix] merge_picks not checking for method_id

[cleanup] removed unnecessary Data()
This commit is contained in:
2017-08-17 15:47:42 +02:00
parent 76144252ea
commit 2b942338b0
2 changed files with 5 additions and 3 deletions
-2
View File
@@ -776,7 +776,6 @@ def autopickstation(wfstream, pickparam, verbose=False,
################################################################
# get Wood-Anderson peak-to-peak amplitude
# initialize Data object
data = Data()
# re-create stream object including both horizontal components
hdat = edat.copy()
hdat += ndat
@@ -795,7 +794,6 @@ def autopickstation(wfstream, pickparam, verbose=False,
############################################################
# get Wood-Anderson peak-to-peak amplitude
# initialize Data object
data = Data()
# re-create stream object including both horizontal components
hdat = edat.copy()
hdat += ndat