#134992 Report by node gh-actions covering 2109 tests from 60 modules resulted into 113 errors
Report
- ObsPy version
- 1.4.0.post0+184.g056f72d118
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/3333
- Report file
- JSON document
- Total runtime
- 297.8 sec
- Report date/time
- July 25, 2023, 7:30 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-1041-azure
- System
- Linux
- Version
- #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023
Dependencies
- cartopy
- 0.21.1
- decorator
- 5.1.1
- flake8
- ---
- geographiclib
- 2.0
- lxml
- 4.9.3
- matplotlib
- 3.7.2
- numpy
- 1.25.1
- obspy
- 1.4.0.post0+184.g056f72d118
- pyproj
- 3.6.0
- pytest
- 7.4.0
- pytest-json-report
- 1.5.0
- requests
- 2.31.0
- scipy
- 1.11.1
- setuptools
- 68.0.0
- shapefile
- ---
- sqlalchemy
- 2.0.19
Modules (60)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | - | 8 | 8 | - | 0.04s | - |
obspy.clients.filesystem | 1 | 29 | 29 | - | 4.07s | 1 |
obspy.clients.iris | Not tested | - | - | - | - | - |
obspy.clients.neic | Not tested | - | - | - | - | - |
obspy.clients.nrl | - | 5 | 5 | - | 0.35s | - |
obspy.clients.seedlink | - | 2 | 2 | - | 0.01s | - |
obspy.clients.syngine | Not tested | - | - | - | - | - |
obspy.core | 4 | 599 | 598 | 1 | 49.01s | 2 3 4 5 |
obspy.core.event | - | 18 | 18 | - | 0.33s | - |
obspy.core.inventory | - | 23 | 23 | - | 1.90s | - |
obspy.core.util | - | 23 | 20 | 3 | 0.51s | - |
obspy.geodetics | - | 21 | 20 | 1 | 97.11s | - |
obspy.imaging | 20 | 92 | 91 | 1 | 30.01s | 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
obspy.io.ah | - | 11 | 11 | - | 0.22s | - |
obspy.io.alsep | - | 16 | 16 | - | 2.86s | - |
obspy.io.arclink | - | 5 | 5 | - | 2.76s | - |
obspy.io.ascii | - | 28 | 26 | 2 | 0.25s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.14s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.03s | - |
obspy.io.css | - | 10 | 10 | - | 0.33s | - |
obspy.io.csv | - | 17 | 17 | - | 1.36s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.12s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.18s | - |
obspy.io.gcf | - | 14 | 13 | 1 | 0.38s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.90s | - |
obspy.io.hypodd | - | 9 | 9 | - | 0.32s | - |
obspy.io.iaspei | - | 7 | 7 | - | 1.16s | - |
obspy.io.json | - | 4 | 4 | - | 0.06s | - |
obspy.io.kinemetrics | - | 8 | 8 | - | 0.90s | - |
obspy.io.kml | - | 3 | 3 | - | 0.21s | - |
obspy.io.mseed | 1 | 128 | 128 | - | 3.00s | 26 |
obspy.io.ndk | - | 20 | 20 | - | 0.72s | - |
obspy.io.nied | - | 11 | 11 | - | 0.23s | - |
obspy.io.nlloc | - | 15 | 15 | - | 0.66s | - |
obspy.io.nordic | - | 60 | 58 | 2 | 3.08s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.04s | - |
obspy.io.pde | - | 13 | 12 | 1 | 1.34s | - |
obspy.io.quakeml | - | 38 | 37 | 1 | 0.41s | - |
obspy.io.reftek | - | 21 | 21 | - | 0.37s | - |
obspy.io.rg16 | - | 38 | 38 | - | 0.35s | - |
obspy.io.sac | - | 99 | 99 | - | 1.14s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.16s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.04s | - |
obspy.io.segy | - | 56 | 56 | - | 0.90s | - |
obspy.io.seisan | - | 8 | 7 | 1 | 0.14s | - |
obspy.io.seiscomp | - | 49 | 49 | - | 2.18s | - |
obspy.io.sh | - | 26 | 24 | 2 | 0.74s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.71s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.29s | - |
obspy.io.stationxml | - | 24 | 24 | - | 0.67s | - |
obspy.io.wav | - | 8 | 7 | 1 | 0.13s | - |
obspy.io.win | - | 2 | 2 | - | 0.14s | - |
obspy.io.xseed | - | 82 | 82 | - | 14.77s | - |
obspy.io.y | - | 5 | 4 | 1 | 0.04s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.37s | - |
obspy.realtime | - | 22 | 22 | - | 0.64s | - |
obspy.scripts | - | 2 | 2 | - | 0.04s | - |
obspy.signal | 19 | 233 | 231 | 2 | 32.85s | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
obspy.taup | 68 | 76 | 76 | - | 9.18s | 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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
Summary | 113 | 2109 | 2089 | 20 | 297.85s | 113 |
Tracebacks (113)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/filesystem/tests/test_sds.py", line 173, in test_sds_report sds_report(argv) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/scripts/sds_html_report.py", line 424, in main scan(files, format=args.format, starttime=availability_check_starttime, File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 710, in scan scanner.plot(outfile=plot, show=False, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 437, in plot plt.tight_layout() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/pyplot.py", line 2349, in tight_layout return gcf().tight_layout(pad=pad, h_pad=h_pad, w_pad=w_pad, rect=rect) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/figure.py", line 3547, in tight_layout _api.warn_external('The figure layout has changed to tight') File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/_api/__init__.py", line 390, in warn_external warnings.warn(message, category, stacklevel) UserWarning: The figure layout has changed to tight
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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 262, in plot ax.stock_img() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/cartopy/mpl/geoaxes.py", line 1019, in stock_img return self.imshow(imread(fname), origin='upper', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/cartopy/mpl/geoaxes.py", line 318, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/cartopy/mpl/geoaxes.py", line 1331, in imshow img, extent = warp_array(img, ^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/cartopy/img_transform.py", line 192, in warp_array array = regrid(array, source_native_xy[0], source_native_xy[1], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/cartopy/img_transform.py", line 278, in regrid _, indices = kdtree.query(target_xyz, k=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "_ckdtree.pyx", line 795, in scipy.spatial._ckdtree.cKDTree.query ValueError: 'x' must be finite, check for nan or inf values
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1358, in test_taper_onesided tr.taper(max_percentage=None, side="left") 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/core/util/decorator.py", line 244, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ 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/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2179, in taper taper_sides = func(2 * wlen + 1, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hann from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hann' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1388, in test_taper_length tr.taper(max_percentage=0.7, max_length=int(npts / 2) + 1) 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/core/util/decorator.py", line 244, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ 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/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2179, in taper taper_sides = func(2 * wlen + 1, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hann from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hann' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 2488, in test_dtype_is_not_unnecessarily_changed assert tr_int32.copy().taper(0.05, "hann").data.dtype == np.float64 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/core/util/decorator.py", line 244, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ 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/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2179, in taper taper_sides = func(2 * wlen + 1, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hann from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hann' or the convenience function 'scipy.signal.get_window' instead.
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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_scan.py", line 50, in test_scan_main_method obspy_scan([os.curdir] + ['--output', str(image_path)]) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 782, in main scan(paths=args.paths, format=args.format, verbose=args.verbose, File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 710, in scan scanner.plot(outfile=plot, show=False, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 437, in plot plt.tight_layout() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/pyplot.py", line 2349, in tight_layout return gcf().tight_layout(pad=pad, h_pad=h_pad, w_pad=w_pad, rect=rect) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/figure.py", line 3547, in tight_layout _api.warn_external('The figure layout has changed to tight') File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/_api/__init__.py", line 390, in warn_external warnings.warn(message, category, stacklevel) UserWarning: The figure layout has changed to tight
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_scan.py", line 111, in test_scan_function_and_scanner_class scan(paths=os.curdir, plot=path1) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 710, in scan scanner.plot(outfile=plot, show=False, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 437, in plot plt.tight_layout() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/pyplot.py", line 2349, in tight_layout return gcf().tight_layout(pad=pad, h_pad=h_pad, w_pad=w_pad, rect=rect) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/figure.py", line 3547, in tight_layout _api.warn_external('The figure layout has changed to tight') File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/_api/__init__.py", line 390, in warn_external warnings.warn(message, category, stacklevel) UserWarning: The figure layout has changed to tight
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_scan.py", line 175, in test_scanner_manually_add_streams scanner.plot(str(image_path)) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 437, in plot plt.tight_layout() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/pyplot.py", line 2349, in tight_layout return gcf().tight_layout(pad=pad, h_pad=h_pad, w_pad=w_pad, rect=rect) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/figure.py", line 3547, in tight_layout _api.warn_external('The figure layout has changed to tight') File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/_api/__init__.py", line 390, in warn_external warnings.warn(message, category, stacklevel) UserWarning: The figure layout has changed to tight
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_scan.py", line 221, in test_scan_times obspy_scan([os.curdir] + ['--output', str(image_path)] + File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 782, in main scan(paths=args.paths, format=args.format, verbose=args.verbose, File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 710, in scan scanner.plot(outfile=plot, show=False, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 437, in plot plt.tight_layout() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/pyplot.py", line 2349, in tight_layout return gcf().tight_layout(pad=pad, h_pad=h_pad, w_pad=w_pad, rect=rect) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/figure.py", line 3547, in tight_layout _api.warn_external('The figure layout has changed to tight') File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/_api/__init__.py", line 390, in warn_external warnings.warn(message, category, stacklevel) UserWarning: The figure layout has changed to tight
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_scan.py", line 259, in test_multiple_sampling_rates obspy_scan(files + cmds) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 782, in main scan(paths=args.paths, format=args.format, verbose=args.verbose, File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 710, in scan scanner.plot(outfile=plot, show=False, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py", line 437, in plot plt.tight_layout() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/pyplot.py", line 2349, in tight_layout return gcf().tight_layout(pad=pad, h_pad=h_pad, w_pad=w_pad, rect=rect) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/figure.py", line 3547, in tight_layout _api.warn_external('The figure layout has changed to tight') File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/matplotlib/_api/__init__.py", line 390, in warn_external warnings.warn(message, category, stacklevel) UserWarning: The figure layout has changed to tight
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cpxtrace.py", line 76, in setup_data util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cpxtrace.py", line 76, in setup_data util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cpxtrace.py", line 76, in setup_data util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_cpxtrace.py", line 76, in setup_data util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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 0x7f0a90411bd0>, <warnings.WarningMessage object at 0x7f0a907bdd90>, <warnings.War...x7f0a907be0d0>, <warnings.WarningMessage object at 0x7f0a926ea390>, <warnings.WarningMessage object at 0x7f0a90752890>])
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_freqattributes.py", line 80, in setup_data util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_freqattributes.py", line 80, in setup_data util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_freqattributes.py", line 80, in setup_data util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_freqattributes.py", line 80, in setup_data util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_freqattributes.py", line 80, in setup_data util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_freqattributes.py", line 80, in setup_data util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_hoctavbands.py", line 78, in setup_data util.enframe(data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_polarization.py", line 58, in setup_data util.enframe(data_z, signal.hamming(n), inc) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_polarization.py", line 58, in setup_data util.enframe(data_z, signal.hamming(n), inc) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_polarization.py", line 58, in setup_data util.enframe(data_z, signal.hamming(n), inc) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_polarization.py", line 58, in setup_data util.enframe(data_z, signal.hamming(n), inc) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/tests/test_polarization.py", line 58, in setup_data util.enframe(data_z, signal.hamming(n), inc) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/scipy/signal/__init__.py", line 356, in wrapped warnings.warn(f"Importing {name} from 'scipy.signal' is deprecated " DeprecationWarning: Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1069, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1059, in execute raise val.with_traceback(tb) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 157, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 497, in setup raise exc File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 494, in setup col.setup() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1791, in setup self._request._fillfixtures() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 566, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 585, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 607, in _get_active_fixturedef self._compute_fixture_value(fixturedef) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 693, in _compute_fixture_value fixturedef.execute(request=subrequest) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1059, in execute raise val.with_traceback(tb) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 1123, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/fixtures.py", line 902, in call_fixture_func fixture_result = fixturefunc(**kwargs) ^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 262, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result raise exc.with_traceback(exc.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call raise e File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call item.runtest() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 1788, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 116, in _multicall raise exception.with_traceback(exception.__traceback__) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ 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 |