From 63810730e5d13557a73fe0c7068723aa675053bf Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 30 Aug 2024 14:51:30 +0200 Subject: [PATCH] [bugfix] added missing parameter "taup_phases" introduced a long time ago into default parameters and parameters for unit tests --- inputs/pylot_global.in | 1 + inputs/pylot_local.in | 3 ++- inputs/pylot_regional.in | 3 ++- tests/test_autopickstation/autoPyLoT_global_taupy_false.in | 1 + tests/test_autopickstation/autoPyLoT_global_taupy_true.in | 1 + 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/inputs/pylot_global.in b/inputs/pylot_global.in index 3bad82c4..a7527a39 100644 --- a/inputs/pylot_global.in +++ b/inputs/pylot_global.in @@ -41,6 +41,7 @@ global #extent# %extent of a 1150.0 #sstop# %end time [s] after P-onset for calculating CF for S-picking True #use_taup# %use estimated traveltimes from TauPy for calculating windows for CF iasp91 #taup_model# %define TauPy model for traveltime estimation. Possible values: 1066a, 1066b, ak135, ak135f, herrin, iasp91, jb, prem, pwdk, sp6 +P,Pdiff #taup_phases# %Specify possible phases for TauPy (comma separated). See Obspy TauPy documentation for possible values. 0.05 0.5 #bpz1# %lower/upper corner freq. of first band pass filter Z-comp. [Hz] 0.001 0.5 #bpz2# %lower/upper corner freq. of second band pass filter Z-comp. [Hz] 0.05 0.5 #bph1# %lower/upper corner freq. of first band pass filter H-comp. [Hz] diff --git a/inputs/pylot_local.in b/inputs/pylot_local.in index 3f689374..d4a89bf2 100644 --- a/inputs/pylot_local.in +++ b/inputs/pylot_local.in @@ -40,7 +40,8 @@ local #extent# %extent of a -0.5 #sstart# %start time [s] relative to P-onset for calculating CF for S-picking 10.0 #sstop# %end time [s] after P-onset for calculating CF for S-picking False #use_taup# %use estimated traveltimes from TauPy for calculating windows for CF -iasp91 #taup_model# %define TauPy model for traveltime estimation +iasp91 #taup_model# %define TauPy model for traveltime estimation +P #taup_phases# %Specify possible phases for TauPy (comma separated). See Obspy TauPy documentation for possible values. 2.0 20.0 #bpz1# %lower/upper corner freq. of first band pass filter Z-comp. [Hz] 2.0 30.0 #bpz2# %lower/upper corner freq. of second band pass filter Z-comp. [Hz] 2.0 10.0 #bph1# %lower/upper corner freq. of first band pass filter H-comp. [Hz] diff --git a/inputs/pylot_regional.in b/inputs/pylot_regional.in index 4e33d0a6..f9013e51 100644 --- a/inputs/pylot_regional.in +++ b/inputs/pylot_regional.in @@ -40,7 +40,8 @@ local #extent# %extent of a -1.0 #sstart# %start time [s] relative to P-onset for calculating CF for S-picking 10.0 #sstop# %end time [s] after P-onset for calculating CF for S-picking True #use_taup# %use estimated traveltimes from TauPy for calculating windows for CF -iasp91 #taup_model# %define TauPy model for traveltime estimation +iasp91 #taup_model# %define TauPy model for traveltime estimation +P #taup_phases# %Specify possible phases for TauPy (comma separated). See Obspy TauPy documentation for possible values. 2.0 10.0 #bpz1# %lower/upper corner freq. of first band pass filter Z-comp. [Hz] 2.0 12.0 #bpz2# %lower/upper corner freq. of second band pass filter Z-comp. [Hz] 2.0 8.0 #bph1# %lower/upper corner freq. of first band pass filter H-comp. [Hz] diff --git a/tests/test_autopickstation/autoPyLoT_global_taupy_false.in b/tests/test_autopickstation/autoPyLoT_global_taupy_false.in index 51eb51bb..7e6e123f 100644 --- a/tests/test_autopickstation/autoPyLoT_global_taupy_false.in +++ b/tests/test_autopickstation/autoPyLoT_global_taupy_false.in @@ -41,6 +41,7 @@ global #extent# %extent of a 875.0 #sstop# %end time [s] after P-onset for calculating CF for S-picking False #use_taup# %use estimated traveltimes from TauPy for calculating windows for CF IASP91 #taup_model# %define TauPy model for traveltime estimation. Possible values: 1066a, 1066b, ak135, ak135f, herrin, iasp91, jb, prem, pwdk, sp6 +P,Pdiff,S,Sdiff #taup_phases# %Specify possible phases for TauPy (comma separated). See Obspy TauPy documentation for possible values. 0.01 0.1 #bpz1# %lower/upper corner freq. of first band pass filter Z-comp. [Hz] 0.001 0.5 #bpz2# %lower/upper corner freq. of second band pass filter Z-comp. [Hz] 0.01 0.5 #bph1# %lower/upper corner freq. of first band pass filter H-comp. [Hz] diff --git a/tests/test_autopickstation/autoPyLoT_global_taupy_true.in b/tests/test_autopickstation/autoPyLoT_global_taupy_true.in index 2bdf29fc..39ae8ebe 100644 --- a/tests/test_autopickstation/autoPyLoT_global_taupy_true.in +++ b/tests/test_autopickstation/autoPyLoT_global_taupy_true.in @@ -41,6 +41,7 @@ global #extent# %extent of a 875.0 #sstop# %end time [s] after P-onset for calculating CF for S-picking True #use_taup# %use estimated traveltimes from TauPy for calculating windows for CF IASP91 #taup_model# %define TauPy model for traveltime estimation. Possible values: 1066a, 1066b, ak135, ak135f, herrin, iasp91, jb, prem, pwdk, sp6 +P,Pdiff,S,Sdiff #taup_phases# %Specify possible phases for TauPy (comma separated). See Obspy TauPy documentation for possible values. 0.01 0.1 #bpz1# %lower/upper corner freq. of first band pass filter Z-comp. [Hz] 0.001 0.5 #bpz2# %lower/upper corner freq. of second band pass filter Z-comp. [Hz] 0.01 0.5 #bph1# %lower/upper corner freq. of first band pass filter H-comp. [Hz]