#134719 Report by node gh-actions covering 2109 tests from 60 modules resulted into 88 errors
Report
- ObsPy version
- 1.4.0.post0+182.g6f18a18fbe.o…
- GitHub Pull Request
- -
- Report file
- JSON document
- Total runtime
- 326.8 sec
- Report date/time
- June 20, 2023, 4:22 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- gh-actions
- Processor
- x86_64
- Python Compiler
- GCC 12.2.0
- Python Implementation
- CPython
- Python Version
- 3.11.4
- Release
- 5.15.0-1039-azure
- System
- Linux
- Version
- #46-Ubuntu SMP Mon May 22 15:18:07 UTC 2023
Dependencies
- cartopy
- 0.21.1
- decorator
- 5.1.1
- flake8
- ---
- geographiclib
- 2.0
- lxml
- 4.9.2
- matplotlib
- 3.7.1
- numpy
- 1.25.0
- obspy
- 1.4.0.post0+182.g6f18a18fbe.obspy.master
- pyproj
- 3.6.0
- pytest
- 7.3.2
- pytest-json-report
- 1.5.0
- requests
- 2.31.0
- scipy
- 1.10.1
- setuptools
- 67.7.2
- shapefile
- ---
- sqlalchemy
- 2.0.16
Modules (60)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | - | 8 | 8 | - | 0.05s | - |
obspy.clients.filesystem | - | 29 | 29 | - | 4.01s | - |
obspy.clients.iris | Not tested | - | - | - | - | - |
obspy.clients.neic | Not tested | - | - | - | - | - |
obspy.clients.nrl | - | 5 | 5 | - | 0.38s | - |
obspy.clients.seedlink | - | 2 | 2 | - | 0.01s | - |
obspy.clients.syngine | Not tested | - | - | - | - | - |
obspy.core | 1 | 599 | 598 | 1 | 51.56s | 1 |
obspy.core.event | - | 18 | 18 | - | 0.35s | - |
obspy.core.inventory | - | 23 | 23 | - | 2.24s | - |
obspy.core.util | - | 23 | 20 | 3 | 0.22s | - |
obspy.geodetics | - | 21 | 20 | 1 | 106.11s | - |
obspy.imaging | 15 | 92 | 91 | 1 | 35.90s | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
obspy.io.ah | - | 11 | 11 | - | 0.21s | - |
obspy.io.alsep | - | 16 | 16 | - | 3.00s | - |
obspy.io.arclink | - | 5 | 5 | - | 3.02s | - |
obspy.io.ascii | - | 28 | 26 | 2 | 0.24s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.12s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.03s | - |
obspy.io.css | - | 10 | 10 | - | 0.32s | - |
obspy.io.csv | - | 17 | 17 | - | 1.11s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.05s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.17s | - |
obspy.io.gcf | - | 14 | 13 | 1 | 0.33s | - |
obspy.io.gse2 | - | 55 | 55 | - | 1.01s | - |
obspy.io.hypodd | - | 9 | 9 | - | 0.30s | - |
obspy.io.iaspei | - | 7 | 7 | - | 1.45s | - |
obspy.io.json | - | 4 | 4 | - | 0.05s | - |
obspy.io.kinemetrics | - | 8 | 8 | - | 0.90s | - |
obspy.io.kml | - | 3 | 3 | - | 0.22s | - |
obspy.io.mseed | 1 | 128 | 128 | - | 2.61s | 17 |
obspy.io.ndk | - | 20 | 20 | - | 0.65s | - |
obspy.io.nied | - | 11 | 11 | - | 0.12s | - |
obspy.io.nlloc | - | 15 | 15 | - | 0.83s | - |
obspy.io.nordic | - | 60 | 58 | 2 | 2.94s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.02s | - |
obspy.io.pde | - | 13 | 12 | 1 | 1.71s | - |
obspy.io.quakeml | - | 38 | 37 | 1 | 0.43s | - |
obspy.io.reftek | - | 21 | 21 | - | 0.33s | - |
obspy.io.rg16 | - | 38 | 38 | - | 0.28s | - |
obspy.io.sac | - | 99 | 99 | - | 1.07s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.12s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.02s | - |
obspy.io.segy | - | 56 | 56 | - | 0.75s | - |
obspy.io.seisan | - | 8 | 7 | 1 | 0.14s | - |
obspy.io.seiscomp | - | 49 | 49 | - | 2.22s | - |
obspy.io.sh | - | 26 | 24 | 2 | 0.73s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.76s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.14s | - |
obspy.io.stationxml | - | 24 | 24 | - | 0.71s | - |
obspy.io.wav | - | 8 | 7 | 1 | 0.06s | - |
obspy.io.win | - | 2 | 2 | - | 0.14s | - |
obspy.io.xseed | - | 82 | 82 | - | 15.90s | - |
obspy.io.y | - | 5 | 4 | 1 | 0.03s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.35s | - |
obspy.realtime | - | 22 | 22 | - | 0.69s | - |
obspy.scripts | - | 2 | 2 | - | 0.02s | - |
obspy.signal | 3 | 233 | 231 | 2 | 40.82s | 18 19 20 |
obspy.taup | 68 | 76 | 76 | - | 8.19s | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
Summary | 88 | 2109 | 2089 | 20 | 326.81s | 88 |
Tracebacks (88)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_event.py", line 119, in test_plot_farfield_without_quiver_with_maps ev.plot(kind=[['global'], ['ortho', 'beachball'], File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/event.py", line 276, in plot plot_radiation_pattern( File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/source.py", line 194, in plot_radiation_pattern _plot_beachball(ax, rtp_mt) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/source.py", line 374, in _plot_beachball bball = beach(rtp_mt, xy=(0, 0), width=50, facecolor=cmap(norm(0.7)), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/mopad_wrapper.py", line 127, in beach mt = mopad_MomentTensor(fm, system=mopad_basis) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/beachball.py", line 43, in mopad_fallback result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/beachball.py", line 148, in beach colors, p = plot_mt(t, n, p, size, ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/beachball.py", line 441, in plot_mt azi[n][0] = az ~~~^^^ IndexError: index 3 is out of bounds for axis 0 with size 3 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_beachball.py", line 302, in test_mopad_fallback beachball(mt, outfile=image_path) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/beachball.py", line 259, in beachball collection = beach(fm, linewidth=linewidth, facecolor=facecolor, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/beachball.py", line 64, in mopad_fallback result = _mopad_beach(**final_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/mopad_wrapper.py", line 127, in beach mt = mopad_MomentTensor(fm, system=mopad_basis) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad.py", line 57, in test_mopad_collection ax.add_collection(beach(t, width=30, xy=(x, y), linewidth=.6)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/mopad_wrapper.py", line 127, in beach mt = mopad_MomentTensor(fm, system=mopad_basis) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 23, in test_script_convert_type_sdr obspy_mopad(['convert', '--fancy', '-t', 'sdr', File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 5132, in main aa = _handle_input(M_raw, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 3941, in _handle_input mt = MomentTensor(M=M_in, system=in_system) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 34, in test_script_convert_type_tensor obspy_mopad(['convert', '--fancy', '-t', 't', File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 5132, in main aa = _handle_input(M_raw, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 3941, in _handle_input mt = MomentTensor(M=M_in, system=in_system) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 48, in test_script_convert_type_tensor_large obspy_mopad(['convert', '--fancy', '-t', 't', File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 5132, in main aa = _handle_input(M_raw, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 3941, in _handle_input mt = MomentTensor(M=M_in, system=in_system) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 85, in test_script_convert_basis obspy_mopad(['convert', '-b', insys, outsys, File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 5132, in main aa = _handle_input(M_raw, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 3941, in _handle_input mt = MomentTensor(M=M_in, system=in_system) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 97, in test_script_convert_vector obspy_mopad(['convert', '-v', 'NED', 'NED', File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 5132, in main aa = _handle_input(M_raw, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 3941, in _handle_input mt = MomentTensor(M=M_in, system=in_system) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 108, in test_script_decompose obspy_mopad(['decompose', '-y', ','.join(str(x) for x in self.mt)]) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 5132, in main aa = _handle_input(M_raw, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 3941, in _handle_input mt = MomentTensor(M=M_in, system=in_system) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 154, in test_script_gmt_fill self.compare_gmt(testdata['mopad_fill.gmt'], File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 130, in compare_gmt obspy_mopad(['gmt'] + list(args) + File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 5132, in main aa = _handle_input(M_raw, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 3941, in _handle_input mt = MomentTensor(M=M_in, system=in_system) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 159, in test_script_gmt_lines self.compare_gmt(testdata['mopad_lines.gmt'], File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 130, in compare_gmt obspy_mopad(['gmt'] + list(args) + File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 5132, in main aa = _handle_input(M_raw, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 3941, in _handle_input mt = MomentTensor(M=M_in, system=in_system) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 164, in test_script_gmt_lines_stereo self.compare_gmt(testdata['mopad_lines_stereo.gmt'], File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 130, in compare_gmt obspy_mopad(['gmt'] + list(args) + File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 5132, in main aa = _handle_input(M_raw, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 3941, in _handle_input mt = MomentTensor(M=M_in, system=in_system) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 170, in test_script_gmt_lines_ortho self.compare_gmt(testdata['mopad_lines_ortho.gmt'], File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 130, in compare_gmt obspy_mopad(['gmt'] + list(args) + File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 5132, in main aa = _handle_input(M_raw, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 3941, in _handle_input mt = MomentTensor(M=M_in, system=in_system) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 176, in test_script_gmt_lines_lambo self.compare_gmt(testdata['mopad_lines_lambo.gmt'], File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 130, in compare_gmt obspy_mopad(['gmt'] + list(args) + File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 5132, in main aa = _handle_input(M_raw, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 3941, in _handle_input mt = MomentTensor(M=M_in, system=in_system) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 182, in test_script_gmt_event self.compare_gmt(testdata['mopad_ev.gmt'], File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_mopad_script.py", line 130, in compare_gmt obspy_mopad(['gmt'] + list(args) + File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 5132, in main aa = _handle_input(M_raw, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 3941, in _handle_input mt = MomentTensor(M=M_in, system=in_system) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_source.py", line 18, in test_farfield_with_quiver plot_radiation_pattern( File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/source.py", line 194, in plot_radiation_pattern _plot_beachball(ax, rtp_mt) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/source.py", line 374, in _plot_beachball bball = beach(rtp_mt, xy=(0, 0), width=50, facecolor=cmap(norm(0.7)), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/mopad_wrapper.py", line 127, in beach mt = mopad_MomentTensor(fm, system=mopad_basis) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 161, in __init__ self._M_to_principal_axis_system() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 732, in _M_to_principal_axis_system self._faultplanes = self._find_faultplanes() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 814, in _find_faultplanes fp1 = self._find_strike_dip_rake(rot_matrix_fp1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 824, in _find_strike_dip_rake (alpha, beta, gamma) = self._matrix_to_euler(rotation_matrix) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/mopad.py", line 840, in _matrix_to_euler cos_alpha = float((ez.T @ ezs)) ^^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/tests/test_mseed_util.py", line 695, in test_time_shifting_special_case util.shift_time_of_file(input_file=filename, File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/mseed/util.py", line 1662, in shift_time_of_file time[4] = hour[:] ~~~~^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_filter.py", line 259, in test_bandpass_high_corner_at_nyquist assert len(w) == 3 AssertionError: assert 6 == 3 + where 6 = len([<warnings.WarningMessage object at 0x7fbb299fb790>, <warnings.WarningMessage object at 0x7fbb1a979d90>, <warnings.War...x7fbb1a913250>, <warnings.WarningMessage object at 0x7fbb1a979fd0>, <warnings.WarningMessage object at 0x7fbb1a911e50>])
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_tf_misfit.py", line 287, in test_plot_tf_misfits plot_tf_misfits(state.st1p, state.st2, dt=state.dt, File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tf_misfit.py", line 1084, in plot_tf_misfits textstr = 'EM = %.2f\nPM = %.2f' % (_em[itr], _pm[itr]) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_tf_misfit.py", line 292, in test_plot_tf_gofs plot_tf_gofs(state.st1p, state.st2, dt=state.dt, fmin=state.fmin, File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tf_misfit.py", line 1344, in plot_tf_gofs textstr = 'EG = %2.2f\nPG = %2.2f' % (_eg[itr], _pg[itr]) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
048 if necessary. See below for information on how to build a ``.npz`` model file. 049 050 Travel Times 051 ^^^^^^^^^^^^ 052 The models' main method is the 053 :meth:`~obspy.taup.tau.TauPyModel.get_travel_times` method; as the name 054 suggests it returns travel times for the chosen phases, distance, source depth, 055 and model. By default it returns arrivals for a number of phases. 056 057 >>> arrivals = model.get_travel_times(source_depth_in_km=55, UNEXPECTED EXCEPTION: ValueError('setting an array element with a sequence.') Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 55 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1351, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.taup[2]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence. /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/__init__.py:57: UnexpectedException
648 dictionary must be ordered, otherwise the LRU cache will not 649 behave correctly. If ``False`` is specified, then no cache will be 650 used. 651 :type cache: :class:`collections.OrderedDict` or bool 652 653 Usage: 654 655 >>> from obspy.taup import tau 656 >>> i91 = tau.TauPyModel() 657 >>> print(i91.get_travel_times(10, 20)[0].name) UNEXPECTED EXCEPTION: ValueError('setting an array element with a sequence.') Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1351, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.taup.tau.TauPyModel.__init__[2]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence. /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py:657: UnexpectedException
1168 :type indicate_wave_type: bool 1169 :returns: Matplotlib axes with the plot 1170 :rtype: :class:`matplotlib.axes.Axes` 1171 1172 .. rubric:: Example 1173 1174 >>> from obspy.taup import plot_ray_paths 1175 >>> import matplotlib.pyplot as plt 1176 >>> fig, ax = plt.subplots(figsize=(10, 10), subplot_kw=dict(polar=True)) 1177 >>> ax = plot_ray_paths(source_depth=10, ax=ax, fig=fig, legend=True, UNEXPECTED EXCEPTION: ValueError('No ray paths to plot.') Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1351, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.taup.tau.plot_ray_paths[3]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 1218, in plot_ray_paths raise ValueError("No ray paths to plot.") ValueError: No ray paths to plot. /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py:1177: UnexpectedException
1011 :param ax: Axes to plot in. If not given, a new figure with an axes 1012 will be created. 1013 :type ax: :class:`matplotlib.axes.Axes` 1014 :returns: Matplotlib axes with the plot 1015 :rtype: :class:`matplotlib.axes.Axes` 1016 1017 .. rubric:: Example 1018 1019 >>> from obspy.taup import plot_travel_times 1020 >>> ax = plot_travel_times(source_depth=10, phase_list=['P', 'S', 'PP']) UNEXPECTED EXCEPTION: ValueError('setting an array element with a sequence.') Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1351, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.taup.tau.plot_travel_times[1]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 1043, in plot_travel_times depth_corrected_model = model.model.depth_correct(source_depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence. /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py:1020: UnexpectedException
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 100.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_ray_paths.py", line 46, in test_compute_ray_paths greatcircles = get_ray_paths( ^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/ray_paths.py", line 111, in get_ray_paths arrivals = model.get_ray_paths_geo( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 951, in get_ray_paths_geo arrivals = self.get_ray_paths(source_depth_in_km, distance_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 2000.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_ray_paths.py", line 170, in test_deep_source arrivals = model.get_ray_paths(2000.0, 60.0, ["P"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1780, in split_layer out_p_layers = self._fix_other_layers(out.p_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 119 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_seismic_phase.py", line 27, in tau_model return TauModel.from_file('iasp91').depth_correct(self.depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 119 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_seismic_phase.py", line 27, in tau_model return TauModel.from_file('iasp91').depth_correct(self.depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 172.8 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_seismic_phase.py", line 74, in test_many_identically_named_phases arr = m.get_ray_paths(172.8000, 46.762440693494824, ["SS"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_seismic_phase.py", line 89, in test_diffracted_phases arrivals = phase.calc_time(dist) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1231, in calc_time arrivals.append(self.refine_arrival( ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1447, in refine_arrival left = Arrival(self, degrees, self.time[ray_index], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/helper_classes.py", line 149, in __init__ self.takeoff_angle = phase.calc_takeoff_angle(ray_param) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1618, in calc_takeoff_angle takeoff_angle = np.degrees(math.asin(np.clip( ^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 119 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_seismic_phase.py", line 27, in tau_model return TauModel.from_file('iasp91').depth_correct(self.depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_split_model.py", line 19, in test_split split_t_mod = tau_model.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 115, in test_p_iasp91_manual arrivals = m.get_travel_times(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 138, in test_p_iasp91_geo_manual arrivals = m.get_travel_times_geo(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 820, in get_travel_times_geo arrivals = self.get_travel_times(source_depth_in_km, distance_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 165, in test_p_iasp91_geo_fallback_manual arrivals = m.get_travel_times_geo(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 814, in get_travel_times_geo distance_in_deg = calc_dist(source_latitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 48, in calc_dist return calc_dist_azi(source_latitude_in_deg, source_longitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 91, in calc_dist_azi values = gps2dist_azimuth(source_latitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/geodetics/base.py", line 259, in gps2dist_azimuth if np.alltrue(np.isnan(values)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 3901, in _alltrue_dispatcher warnings.warn("`alltrue` is deprecated as of NumPy 1.25.0, and will be " DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 190, in test_p_iasp91 arrivals = m.get_travel_times(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 203, in test_p_ak135 arrivals = m.get_travel_times(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 217, in test_p_ak135f_no_mud arrivals = m.get_travel_times(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 232, in test_p_jb arrivals = m.get_travel_times(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 246, in test_p_pwdk arrivals = m.get_travel_times(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 261, in test_iasp91 arrivals = m.get_travel_times(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 276, in test_ak135 arrivals = m.get_travel_times(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 288, in test_pierce_p_iasp91 arrivals = m.get_pierce_points(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 737, in get_pierce_points pp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 341, in test_pierce_p_iasp91_geo p_arr.pierce['lat'], 1) ~~~~~~~~~~~~^^^^^^^ ValueError: no field of name lat
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 449, in test_vs_java_iasp91 tt = m.get_travel_times(source_depth_in_km=depth, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 38, in run self.calculate(self.degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 96, in calculate self.calc_time(degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 106, in calc_time self.arrivals += phase.calc_time(degrees, self.ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1231, in calc_time arrivals.append(self.refine_arrival( ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1447, in refine_arrival left = Arrival(self, degrees, self.time[ray_index], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/helper_classes.py", line 149, in __init__ self.takeoff_angle = phase.calc_takeoff_angle(ray_param) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1618, in calc_takeoff_angle takeoff_angle = np.degrees(math.asin(np.clip( ^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 484, in test_pierce_all_phases arrivals = m.get_pierce_points(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 737, in get_pierce_points pp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 513, in test_pierce_add_depth arrivals = model.get_pierce_points(300.0, 50.0, ["PcP"], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 737, in get_pierce_points pp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 60, in depth_correct self.model = self.model.split_branch(add_depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1780, in split_layer out_p_layers = self._fix_other_layers(out.p_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 527, in test_single_path_iasp91 arrivals = m.get_ray_paths(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 602, in test_single_path_geo_iasp91 np.round(arrivals[0].path['lat'], 2)) ~~~~~~~~~~~~~~~~^^^^^^^ ValueError: no field of name lat
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 674, in test_single_path_ak135 arrivals = m.get_ray_paths(source_depth_in_km=10.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 400.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 749, in test_kennet_ak135_ttime_tables_p_deep self._compare_against_ak135_tables_kennet( File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 738, in _compare_against_ak135_tables_kennet arrivals = m.get_ray_paths( ^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 50.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 753, in test_kennet_ak135_ttime_tables_p_shallow self._compare_against_ak135_tables_kennet( File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 738, in _compare_against_ak135_tables_kennet arrivals = m.get_ray_paths( ^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 50.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 757, in test_kennet_ak135_ttime_tables_pcp self._compare_against_ak135_tables_kennet( File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 738, in _compare_against_ak135_tables_kennet arrivals = m.get_ray_paths( ^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 700.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 761, in test_kennet_ak135_ttime_tables_pkikp self._compare_against_ak135_tables_kennet( File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 738, in _compare_against_ak135_tables_kennet arrivals = m.get_ray_paths( ^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1780, in split_layer out_p_layers = self._fix_other_layers(out.p_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 500.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 765, in test_kennet_ak135_ttime_tables_s_deep self._compare_against_ak135_tables_kennet( File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 738, in _compare_against_ak135_tables_kennet arrivals = m.get_ray_paths( ^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 769, in test_kennet_ak135_ttime_tables_s_shallow self._compare_against_ak135_tables_kennet( File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 738, in _compare_against_ak135_tables_kennet arrivals = m.get_ray_paths( ^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 38, in run self.calculate(self.degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_path.py", line 19, in calculate self.calculate_path(degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_path.py", line 29, in calculate_path self.arrivals += phase.calc_path(degrees, self.ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1375, in calc_path arrivals = self.calc_time(degrees, ray_param_tol=ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1231, in calc_time arrivals.append(self.refine_arrival( ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1447, in refine_arrival left = Arrival(self, degrees, self.time[ray_index], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/helper_classes.py", line 149, in __init__ self.takeoff_angle = phase.calc_takeoff_angle(ray_param) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1618, in calc_takeoff_angle takeoff_angle = np.degrees(math.asin(np.clip( ^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 773, in test_kennet_ak135_ttime_tables_scp self._compare_against_ak135_tables_kennet( File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 738, in _compare_against_ak135_tables_kennet arrivals = m.get_ray_paths( ^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 38, in run self.calculate(self.degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_path.py", line 19, in calculate self.calculate_path(degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_path.py", line 29, in calculate_path self.arrivals += phase.calc_path(degrees, self.ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1375, in calc_path arrivals = self.calc_time(degrees, ray_param_tol=ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1231, in calc_time arrivals.append(self.refine_arrival( ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1447, in refine_arrival left = Arrival(self, degrees, self.time[ray_index], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/helper_classes.py", line 149, in __init__ self.takeoff_angle = phase.calc_takeoff_angle(ray_param) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1618, in calc_takeoff_angle takeoff_angle = np.degrees(math.asin(np.clip( ^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 777, in test_kennet_ak135_ttime_tables_scs self._compare_against_ak135_tables_kennet( File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 738, in _compare_against_ak135_tables_kennet arrivals = m.get_ray_paths( ^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 38, in run self.calculate(self.degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_path.py", line 19, in calculate self.calculate_path(degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_path.py", line 29, in calculate_path self.arrivals += phase.calc_path(degrees, self.ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1375, in calc_path arrivals = self.calc_time(degrees, ray_param_tol=ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1231, in calc_time arrivals.append(self.refine_arrival( ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1447, in refine_arrival left = Arrival(self, degrees, self.time[ray_index], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/helper_classes.py", line 149, in __init__ self.takeoff_angle = phase.calc_takeoff_angle(ray_param) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1618, in calc_takeoff_angle takeoff_angle = np.degrees(math.asin(np.clip( ^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 15.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 791, in test_java_pnps arrivals = m.get_travel_times(source_depth_in_km=15.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 19.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 815, in test_surface_wave_ttimes arrivals = m.get_travel_times( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 842, in test_underside_reflections arrivals = m.get_travel_times( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 855, in test_buried_receiver arrivals = m.get_travel_times( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 874, in test_different_models arrivals = m.get_travel_times( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 700, in get_travel_times tt.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 898, in test_paths_for_crustal_phases paths = model.get_ray_paths(source_depth_in_km=0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 38, in run self.calculate(self.degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_path.py", line 19, in calculate self.calculate_path(degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_path.py", line 29, in calculate_path self.arrivals += phase.calc_path(degrees, self.ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1375, in calc_path arrivals = self.calc_time(degrees, ray_param_tol=ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1231, in calc_time arrivals.append(self.refine_arrival( ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1447, in refine_arrival left = Arrival(self, degrees, self.time[ray_index], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/helper_classes.py", line 149, in __init__ self.takeoff_angle = phase.calc_takeoff_angle(ray_param) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1618, in calc_takeoff_angle takeoff_angle = np.degrees(math.asin(np.clip( ^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 992, in test_arrivals_class arrivals = model.get_ray_paths(source_depth_in_km=0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 38, in run self.calculate(self.degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_path.py", line 19, in calculate self.calculate_path(degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_path.py", line 29, in calculate_path self.arrivals += phase.calc_path(degrees, self.ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1375, in calc_path arrivals = self.calc_time(degrees, ray_param_tol=ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1231, in calc_time arrivals.append(self.refine_arrival( ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1447, in refine_arrival left = Arrival(self, degrees, self.time[ray_index], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/helper_classes.py", line 149, in __init__ self.takeoff_angle = phase.calc_takeoff_angle(ray_param) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1618, in calc_takeoff_angle takeoff_angle = np.degrees(math.asin(np.clip( ^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 18.0 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_tau.py", line 1067, in test_regional_models arrivals = model.get_ray_paths(source_depth_in_km=18.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_geo.py", line 29, in test_path_geo arrivals = model.get_ray_paths_geo(evdepth, evlat, evlon, stlat, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 944, in get_ray_paths_geo distance_in_deg = calc_dist(source_latitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 48, in calc_dist return calc_dist_azi(source_latitude_in_deg, source_longitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 91, in calc_dist_azi values = gps2dist_azimuth(source_latitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/geodetics/base.py", line 259, in gps2dist_azimuth if np.alltrue(np.isnan(values)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 3901, in _alltrue_dispatcher warnings.warn("`alltrue` is deprecated as of NumPy 1.25.0, and will be " DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_geo.py", line 48, in test_path_resampling default = model.get_ray_paths_geo(resample=False, **kwargs)[0].path ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 944, in get_ray_paths_geo distance_in_deg = calc_dist(source_latitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 48, in calc_dist return calc_dist_azi(source_latitude_in_deg, source_longitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 91, in calc_dist_azi values = gps2dist_azimuth(source_latitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/geodetics/base.py", line 259, in gps2dist_azimuth if np.alltrue(np.isnan(values)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 3901, in _alltrue_dispatcher warnings.warn("`alltrue` is deprecated as of NumPy 1.25.0, and will be " DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_geo.py", line 149, in test_taup_geo_calc_dist_1 dist = calc_dist(source_latitude_in_deg=20.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 48, in calc_dist return calc_dist_azi(source_latitude_in_deg, source_longitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 91, in calc_dist_azi values = gps2dist_azimuth(source_latitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/geodetics/base.py", line 259, in gps2dist_azimuth if np.alltrue(np.isnan(values)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 3901, in _alltrue_dispatcher warnings.warn("`alltrue` is deprecated as of NumPy 1.25.0, and will be " DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_geo.py", line 159, in test_taup_geo_calc_dist_2 dist = calc_dist(source_latitude_in_deg=55.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 48, in calc_dist return calc_dist_azi(source_latitude_in_deg, source_longitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 91, in calc_dist_azi values = gps2dist_azimuth(source_latitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/geodetics/base.py", line 259, in gps2dist_azimuth if np.alltrue(np.isnan(values)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 3901, in _alltrue_dispatcher warnings.warn("`alltrue` is deprecated as of NumPy 1.25.0, and will be " DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_geo.py", line 169, in test_taup_geo_calc_dist_3 dist = calc_dist(source_latitude_in_deg=-20.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 48, in calc_dist return calc_dist_azi(source_latitude_in_deg, source_longitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 91, in calc_dist_azi values = gps2dist_azimuth(source_latitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/geodetics/base.py", line 259, in gps2dist_azimuth if np.alltrue(np.isnan(values)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 3901, in _alltrue_dispatcher warnings.warn("`alltrue` is deprecated as of NumPy 1.25.0, and will be " DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_geo.py", line 179, in test_taup_geo_calc_dist_4 dist = calc_dist(source_latitude_in_deg=-20.0, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 48, in calc_dist return calc_dist_azi(source_latitude_in_deg, source_longitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 91, in calc_dist_azi values = gps2dist_azimuth(source_latitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/geodetics/base.py", line 259, in gps2dist_azimuth if np.alltrue(np.isnan(values)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 3901, in _alltrue_dispatcher warnings.warn("`alltrue` is deprecated as of NumPy 1.25.0, and will be " DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_geo.py", line 189, in test_taup_geo_calc_dist_azi dist, azi, backazi = calc_dist_azi( ^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_geo.py", line 91, in calc_dist_azi values = gps2dist_azimuth(source_latitude_in_deg, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/geodetics/base.py", line 259, in gps2dist_azimuth if np.alltrue(np.isnan(values)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 3901, in _alltrue_dispatcher warnings.warn("`alltrue` is deprecated as of NumPy 1.25.0, and will be " DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 500 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 39, in test_spherical_many_phases rays = model.get_ray_paths(500, 140) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 500 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 48, in test_spherical_many_phases_buried_station arrs = model.get_ray_paths(500, 140, receiver_depth_in_km=1000) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 500 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 57, in test_spherical_many_phases_one_way rays = model.get_ray_paths(500, 140) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 65, in test_spherical_more_then_360_degrees model.get_ray_paths(0, 10, phase_list=["PPPPPP"]).plot_rays( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 38, in run self.calculate(self.degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_path.py", line 19, in calculate self.calculate_path(degrees) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_path.py", line 29, in calculate_path self.arrivals += phase.calc_path(degrees, self.ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1375, in calc_path arrivals = self.calc_time(degrees, ray_param_tol=ray_param_tol) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1231, in calc_time arrivals.append(self.refine_arrival( ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1447, in refine_arrival left = Arrival(self, degrees, self.time[ray_index], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/helper_classes.py", line 149, in __init__ self.takeoff_angle = phase.calc_takeoff_angle(ray_param) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/seismic_phase.py", line 1618, in calc_takeoff_angle takeoff_angle = np.degrees(math.asin(np.clip( ^^^^^^^^^^^^^^^^^^ DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 700 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 74, in test_spherical_diff_phases model.get_ray_paths( File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1780, in split_layer out_p_layers = self._fix_other_layers(out.p_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 500 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 89, in test_cartesian_many_phases model.get_ray_paths(500, 140).plot_rays(plot_type="cartesian", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 500 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 99, in test_cartesian_many_phases_buried_station arrivals = model.get_ray_paths(500, 140, receiver_depth_in_km=1000) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 500 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 109, in test_cartesian_many_phases_one_way arrivals = model.get_ray_paths(500, 140) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 500 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 118, in test_cartesian_many_phases_one_way_depr arrivals = model.get_ray_paths(500, 140) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 10 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 140, in test_plot_travel_times ray_paths = model.get_ray_paths(10, 100, phase_list=['ttbasic', ]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 149, in test_plot_travel_times_convenience_1 plot_travel_times(10, phase_list=("P", "S", "SKS", "PP"), File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 1105, in plot_travel_times raise ValueError("No arrival times to plot.") ValueError: No arrival times to plot.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 158, in test_plot_travel_times_convenience_2 self._test_plot_all(plot_all=False) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 30, in _test_plot_all plot_travel_times(10, phase_list=("SSS",), min_degrees=150, File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 1105, in plot_travel_times raise ValueError("No arrival times to plot.") ValueError: No arrival times to plot.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 165, in test_plot_travel_times_convenience_3 self._test_plot_all(plot_all=True) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 30, in _test_plot_all plot_travel_times(10, phase_list=("SSS",), min_degrees=150, File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 1105, in plot_travel_times raise ValueError("No arrival times to plot.") ValueError: No arrival times to plot.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 500 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 173, in test_ray_plot_mismatching_axes_type_warnings arrivals = model.get_ray_paths(500, 20, phase_list=['P']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 233, in load_from_depth_cache value = self._depth_cache.pop(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 500 During handling of the above exception, another exception occurred: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tests/test_taup_plotting.py", line 212, in test_invalid_plot_option arrivals = model.get_ray_paths(500, 20, phase_list=['P']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau.py", line 770, in get_ray_paths rp.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 37, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_pierce.py", line 61, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/taup_time.py", line 49, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 226, in depth_correct return self.load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 235, in load_from_depth_cache value = self._load_from_depth_cache(depth) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 246, in _load_from_depth_cache depth_corrected = self.split_branch(depth) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/tau_model.py", line 272, in split_branch split_info = out_s_mod.split_layer(depth, is_p_wave) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1775, in split_layer out_s_layers = self._fix_other_layers(out.s_layers, p, s_layer, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/taup/slowness_model.py", line 1818, in _fix_other_layers out[other_layer_num+number_added] = bot_layer ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence.
Skipped tests (20)
Submodule | Test | Skip message |
---|---|---|
core | core/stream.py::obspy.core.stream._is_pickle | Skipped: all tests skipped by +SKIP option |
core.util | core/util/misc.py::obspy.core.util.misc.CatchOutput | Skipped: all tests skipped by +SKIP option |
core.util | core/util/misc.py::obspy.core.util.misc.SuppressOutput | Skipped: all tests skipped by +SKIP option |
core.util | core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory | Skipped: all tests skipped by +SKIP option |
geodetics | geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_bug150 | Skipped: Geographiclib installed, not using calc_vincenty_inverse |
imaging | imaging/tests/test_mopad_script.py::TestMopad::test_script_plot | Skipped: Currently broken until further review. |
io.ascii | io/ascii/core.py::obspy.io.ascii.core._is_slist | Skipped: all tests skipped by +SKIP option |
io.ascii | io/ascii/core.py::obspy.io.ascii.core._is_tspair | Skipped: all tests skipped by +SKIP option |
io.gcf | io/gcf/core.py::obspy.io.gcf.core._write_gcf | Skipped: all tests skipped by +SKIP option |
io.nordic | io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor | Skipped: all tests skipped by +SKIP option |
io.nordic | io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag | Skipped: all tests skipped by +SKIP option |
io.pde | io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr | Skipped: all tests skipped by +SKIP option |
io.quakeml | io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml | Skipped: all tests skipped by +SKIP option |
io.seisan | io/seisan/core.py::obspy.io.seisan.core._is_seisan | Skipped: all tests skipped by +SKIP option |
io.sh | io/sh/core.py::obspy.io.sh.core._is_asc | Skipped: all tests skipped by +SKIP option |
io.sh | io/sh/core.py::obspy.io.sh.core._is_q | Skipped: all tests skipped by +SKIP option |
io.wav | io/wav/core.py::obspy.io.wav.core._is_wav | Skipped: all tests skipped by +SKIP option |
io.y | io/y/core.py::obspy.io.y.core._is_y | Skipped: all tests skipped by +SKIP option |
signal | signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata | Skipped: all tests skipped by +SKIP option |
signal | signal/tests/test_quality_control.py::TestQualityControl::test_schema_validation | Skipped: Test requires the jsonschema module |