#127349 Report by node gh-actions covering 1657 tests from 60 modules resulted into 26 errors

Report

ObsPy version
1.3.0.post0+157.gce6ff6e871
GitHub Pull Request
https://github.com/obspy/obspy/pull/3123
Report file
JSON document
Total runtime
142.5 sec
Report date/time
Sept. 23, 2022, 9:59 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
x86_64
Python Compiler
GCC 10.4.0
Python Implementation
CPython
Python Version
3.10.6
Release
5.15.0-1020-azure
System
Linux
Version
#25~20.04.1-Ubuntu SMP Thu Sep 1 19:20:56 UTC 2022

Dependencies

cartopy
0.21.0
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.1
matplotlib
3.6.0
numpy
1.23.3
obspy
1.3.0.post0+157.gce6ff6e871
pyproj
3.4.0
pytest
7.1.3
pytest-json-report
1.5.0
requests
2.28.1
scipy
1.9.1
setuptools
65.3.0
shapefile
---
sqlalchemy
1.4.41

Modules (60)

Module Errors / Failures Tracebacks
obspy.clients.earthworm Not tested -
obspy.clients.fdsn - -
obspy.clients.filesystem - -
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.nrl 1 1
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 21 22
obspy.core.event - -
obspy.core.inventory 1 19
obspy.core.util 1 23
obspy.db Not tested -
obspy.geodetics - -
obspy.imaging 2 24 25
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.dmx - -
obspy.io.focmec - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.hypodd - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml 1 26
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.rg16 - -
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal Not tested -
obspy.taup Not tested -
Summary 26 26

Tracebacks (26)

Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/clients/nrl/tests/test_nrl.py", line 53, in test_get_response
resp = self.nrl_local.get_response(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/clients/nrl/client.py", line 259, in get_response
dl_resp.recalculate_overall_sensitivity()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/inventory/response.py", line 1040, in recalculate_overall_sensitivity
freq, gain = self._get_overall_sensitivity_and_gain(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/inventory/response.py", line 1081, in _get_overall_sensitivity_and_gain
response_at_frequency = self._call_eval_resp_for_frequencies(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/inventory/response.py", line 1131, in _call_eval_resp_for_frequencies
import obspy.signal.evrespwrapper as ew
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
3499
3500 Rotate three explicitly specified channels to ZNE.
3501
3502 >>> from obspy import read, read_inventory
3503 >>> st = read("/path/to/ffbx_unrotated_gaps.mseed")
3504 >>> inv = read_inventory("/path/to/ffbx.stationxml")
3505 >>> st._rotate_specific_channels_to_zne(
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream._rotate_specific_channels_to_zne[3]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 3523, in _rotate_specific_channels_to_zne
from obspy.signal.rotate import rotate2zne
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py:3505: UnexpectedException
3441
3442 Rotate all matching traces to ZNE, specifying sets of component codes.
3443
3444 >>> from obspy import read, read_inventory
3445 >>> st = read("/path/to/ffbx_unrotated_gaps.mseed")
3446 >>> inv = read_inventory("/path/to/ffbx.stationxml")
3447 >>> st._rotate_to_zne(inv) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream._rotate_to_zne[3]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 3493, in _rotate_to_zne
self._rotate_specific_channels_to_zne(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 3523, in _rotate_specific_channels_to_zne
from obspy.signal.rotate import rotate2zne
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py:3447: UnexpectedException
2425 the effect of the downsampling routine becomes clearer.
2426
2427 >>> from obspy import Trace, Stream
2428 >>> tr = Trace(data=np.arange(10))
2429 >>> st = Stream(traces=[tr])
2430 >>> tr.stats.sampling_rate
2431 1.0
2432 >>> tr.data
2433 array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
2434 >>> st.decimate(4, strict_length=False, no_filter=True)
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.decimate[5]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 2443, in decimate
tr.decimate(factor, no_filter=no_filter,
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 1853, in decimate
from obspy.signal.filter import integer_decimation
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py:2434: UnexpectedException
2222
2223 ``'remez_fir'`` (experimental)
2224 Minimax optimal bandpass using Remez algorithm (uses
2225 :func:`obspy.signal.filter.remez_fir`).
2226
2227 .. rubric:: Example
2228
2229 >>> from obspy import read
2230 >>> st = read()
2231 >>> st.filter("highpass", freq=1.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.filter[2]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 2243, in filter
tr.filter(type, **options)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 1550, in filter
func = _get_function_from_entry_point('filter', type)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/base.py", line 330, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/misc.py", line 600, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py:2231: UnexpectedException
2582 a copy of your stream object.
2583
2584 >>> from obspy import read
2585 >>> st = read()
2586 >>> print(st) # doctest: +ELLIPSIS
2587 3 Trace(s) in Stream:
2588 BW.RJOB..EHZ | 2009-08-24T00:20:03... - ... | 100.0 Hz, 3000 samples
2589 BW.RJOB..EHN | 2009-08-24T00:20:03... - ... | 100.0 Hz, 3000 samples
2590 BW.RJOB..EHE | 2009-08-24T00:20:03... - ... | 100.0 Hz, 3000 samples
2591 >>> st.interpolate(sampling_rate=111.1) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.interpolate[3]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 2600, in interpolate
tr.interpolate(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 2476, in interpolate
func = _get_function_from_entry_point('interpolate', method)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/base.py", line 330, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/misc.py", line 600, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py:2591: UnexpectedException
3166 Deconvolve instrument response for all Traces in Stream.
3167
3168 For details see the corresponding
3169 :meth:`~obspy.core.trace.Trace.remove_response` method of
3170 :class:`~obspy.core.trace.Trace`.
3171
3172 >>> from obspy import read, read_inventory
3173 >>> st = read()
3174 >>> inv = read_inventory()
3175 >>> st.remove_response(inventory=inv) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.remove_response[3]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 3195, in remove_response
tr.remove_response(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 2810, in remove_response
from obspy.signal.invsim import (cosine_taper, cosine_sac_taper,
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py:3175: UnexpectedException
2740 :param inventory: Inventory or SEED Parser with metadata of channels.
2741
2742 Example to rotate unaligned borehole instrument data based on station
2743 inventory (a dataless SEED :class:`~obspy.io.xseed.parser.Parser` can
2744 also be provided, see details for option ``inventory``):
2745
2746 >>> from obspy import read, read_inventory
2747 >>> st = read("/path/to/ffbx_unrotated_gaps.mseed")
2748 >>> inv = read_inventory("/path/to/ffbx.stationxml")
2749 >>> st.rotate(method="->ZNE", inventory=inv) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.rotate[3]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 2757, in rotate
return self._rotate_to_zne(inventory, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 3493, in _rotate_to_zne
self._rotate_specific_channels_to_zne(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 3523, in _rotate_specific_channels_to_zne
from obspy.signal.rotate import rotate2zne
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py:2749: UnexpectedException
2135 raw data is not accessible anymore afterwards. To keep your
2136 original data, use :meth:`~obspy.core.stream.Stream.copy` to create
2137 a copy of your stream object.
2138 This also makes an entry with information on the applied processing
2139 in ``stats.processing`` of every trace.
2140
2141 .. rubric:: Example
2142
2143 >>> from obspy import read
2144 >>> from obspy.signal.invsim import corn_freq_2_paz
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.simulate[1]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py:2144: UnexpectedException
3254 :param npts_tol: Tolerate traces with different number of points
3255 with a difference up to this value. Surplus samples are discarded.
3256 :type time_tol: float
3257 :param time_tol: Tolerate difference, in seconds, in startime when
3258 setting the new starttime of the stack. If starttimes differs more
3259 than this value it will be set to timestamp 0.
3260
3261 >>> from obspy import read
3262 >>> st = read()
3263 >>> stack = st.stack()
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.stack[2]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 3275, in stack
from obspy.signal.util import stack as stack_func
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py:3263: UnexpectedException
2289 :func:`obspy.signal.trigger.carl_sta_trig`).
2290
2291 ``'zdetect'``
2292 Z-detector (uses :func:`obspy.signal.trigger.z_detect`).
2293
2294 .. rubric:: Example
2295
2296 >>> from obspy import read
2297 >>> st = read()
2298 >>> st.filter("highpass", freq=1.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.trigger[2]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 2243, in filter
tr.filter(type, **options)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 1550, in filter
func = _get_function_from_entry_point('filter', type)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/base.py", line 330, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/misc.py", line 600, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py:2298: UnexpectedException
1819
1820 For the example we switch off the automatic pre-filtering so that
1821 the effect of the downsampling routine becomes clearer:
1822
1823 >>> tr = Trace(data=np.arange(10))
1824 >>> tr.stats.sampling_rate
1825 1.0
1826 >>> tr.data
1827 array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
1828 >>> tr.decimate(4, strict_length=False,
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.decimate[3]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 1853, in decimate
from obspy.signal.filter import integer_decimation
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py:1828: UnexpectedException
2012 samples between spline nodes.
2013 (uses :func:`obspy.signal.detrend.spline`).
2014
2015 .. rubric:: Example
2016
2017 Apply a third order spline detrend with 500 samples between nodes.
2018
2019 >>> from obspy import read
2020 >>> tr = read()[0]
2021 >>> tr.detrend("spline", order=3, dspline=500)
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.detrend[2]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 2027, in detrend
func = _get_function_from_entry_point('detrend', type)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/base.py", line 330, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/misc.py", line 600, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py:2021: UnexpectedException
1527 ``'remez_fir'`` (experimental)
1528 Minimax optimal bandpass using Remez algorithm (uses
1529 :func:`obspy.signal.filter.remez_fir`).
1530
1531 .. rubric:: Example
1532
1533 >>> from obspy import read
1534 >>> st = read()
1535 >>> tr = st[0]
1536 >>> tr.filter("highpass", freq=1.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.filter[3]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 1550, in filter
func = _get_function_from_entry_point('filter', type)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/base.py", line 330, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/misc.py", line 600, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py:1536: UnexpectedException
2426 * New interpolation method ``lanczos``.
2427
2428
2429 .. rubric:: _`Usage Examples`
2430
2431 >>> from obspy import read
2432 >>> tr = read()[0]
2433 >>> print(tr) # doctest: +ELLIPSIS
2434 BW.RJOB..EHZ | 2009-08-24T00:20:03... - ... | 100.0 Hz, 3000 samples
2435 >>> tr.interpolate(sampling_rate=111.1) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.interpolate[3]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 2476, in interpolate
func = _get_function_from_entry_point('interpolate', method)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/base.py", line 330, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/misc.py", line 600, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py:2435: UnexpectedException
2710 `pitsasim=False` which influence very minor details in detrending
2711 and tapering).
2712
2713 .. rubric:: Example
2714
2715 >>> from obspy import read, read_inventory
2716 >>> st = read()
2717 >>> tr = st[0].copy()
2718 >>> inv = read_inventory()
2719 >>> tr.remove_response(inventory=inv) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.remove_response[4]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 2810, in remove_response
from obspy.signal.invsim import (cosine_taper, cosine_sac_taper,
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py:2719: UnexpectedException
1403 raw data is not accessible anymore afterwards. To keep your
1404 original data, use :meth:`~obspy.core.trace.Trace.copy` to create
1405 a copy of your trace object.
1406 This also makes an entry with information on the applied processing
1407 in ``stats.processing`` of this trace.
1408
1409 .. rubric:: Example
1410
1411 >>> from obspy import read
1412 >>> from obspy.signal.invsim import corn_freq_2_paz
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.simulate[1]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py:1412: UnexpectedException
1603
1604 ``'zdetect'``
1605 Z-detector (uses :func:`obspy.signal.trigger.z_detect`).
1606
1607 .. rubric:: Example
1608
1609 >>> from obspy import read
1610 >>> st = read()
1611 >>> tr = st[0]
1612 >>> tr.filter("highpass", freq=1.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.trigger[3]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py", line 1550, in filter
func = _get_function_from_entry_point('filter', type)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/base.py", line 330, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/misc.py", line 600, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/trace.py:1612: UnexpectedException
175
176 For more examples see the :ref:`Obspy Gallery <gallery>`.
177
178 Dealing with the Response information
179 -------------------------------------
180 The :meth:`~obspy.core.inventory.response.Response.get_evalresp_response`
181 method will call some functions within evalresp to generate the response.
182
183 >>> response = cha.response
184 >>> response, freqs = response.get_evalresp_response(0.1, 16384, output="VEL")
UNEXPECTED EXCEPTION: PendingDeprecationWarning('The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.')
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.inventory[25]>", line 1, in <module>
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/inventory/response.py", line 1703, in get_evalresp_response
response = self.get_evalresp_response_for_frequencies(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/inventory/response.py", line 1648, in get_evalresp_response_for_frequencies
output, chan = self._call_eval_resp_for_frequencies(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/inventory/response.py", line 1131, in _call_eval_resp_for_frequencies
import obspy.signal.evrespwrapper as ew
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/signal/spectral_estimation.py", line 39, in <module>
from obspy.imaging.cm import obspy_sequential
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/cm.py", line 299, in <module>
obspy_divergent = get_cmap("RdBu_r")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/inventory/__init__.py:184: UnexpectedException
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/tests/test_event.py", line 120, in test_plot_farfield_without_quiver_with_maps
ev.plot(kind=[['global'], ['ortho', 'beachball'],
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/event/event.py", line 273, in plot
plot_radiation_pattern(
File "/usr/share/miniconda3/envs/test/lib/python3.10/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.10/site-packages/obspy/imaging/source.py", line 376, in _plot_beachball
cmap = get_cmap('bwr')
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/tests/test_inventory.py", line 707, in test_location_plot_ortho
inv.plot(method='cartopy', projection='ortho', resolution='c',
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/inventory/inventory.py", line 982, in plot
cmap = get_cmap(name=colormap, lut=len(codes))
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/tests/test_stream.py", line 1929, in test_read
read('/path/to/UNKNOWN')
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 286, in _map_example_filename
args[ind] = get_example_file(args[ind][9:])
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/base.py", line 207, in get_example_file
mod = __import__("obspy.%s" % module,
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/taup/__init__.py", line 447, in <module>
from .tau import TauPyModel # NOQA
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/taup/tau.py", line 25, in <module>
cmap = get_cmap('Paired', lut=12)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
191
192 :param filename: A test file name to which the path should be returned.
193 :return: Full path to file.
194
195 .. rubric:: Example
196
197 >>> get_example_file('slist.ascii') # doctest: +SKIP
198 /custom/path/to/obspy/io/ascii/tests/data/slist.ascii
199
200 >>> get_example_file('does.not.exists') # doctest: +ELLIPSIS
Differences (unified diff with -expected +actual):
@@ -1,3 +1,20 @@
Traceback (most recent call last):
-...
-OSError: Could not find file does.not.exists ...
+ File "/usr/share/miniconda3/envs/test/lib/python3.10/doctest.py", line 1350, in __run
+ exec(compile(example.source, filename, "single",
+ File "<doctest obspy.core.util.base.get_example_file[1]>", line 1, in <module>
+ get_example_file('does.not.exists') # doctest: +ELLIPSIS
+ File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/base.py", line 207, in get_example_file
+ mod = __import__("obspy.%s" % module,
+ File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/taup/__init__.py", line 447, in <module>
+ from .tau import TauPyModel # NOQA
+ File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/taup/tau.py", line 25, in <module>
+ cmap = get_cmap('Paired', lut=12)
+ File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
+ emit_warning()
+ File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
+ warn_deprecated(
+ File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
+ warn_external(warning, category=MatplotlibDeprecationWarning)
+ File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
+ warnings.warn(message, category, stacklevel)
+PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/util/base.py:200: DocTestFailure
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/tests/test_source.py", line 23, in test_farfield_with_quiver
plot_radiation_pattern(
File "/usr/share/miniconda3/envs/test/lib/python3.10/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.10/site-packages/obspy/imaging/source.py", line 376, in _plot_beachball
cmap = get_cmap('bwr')
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/tests/test_waveform.py", line 339, in test_plot_colored_section
st.plot(outfile=image_path, type='section', color='channel')
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/stream.py", line 1155, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/waveform.py", line 281, in plot_waveform
self.plot_section(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/waveform.py", line 1085, in plot_section
self.__sect_init_traces()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/waveform.py", line 1251, in __sect_init_traces
self.__sect_init_color()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/imaging/waveform.py", line 1292, in __sect_init_color
cmap = get_cmap('Paired', lut=len(colors))
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/io/kml/tests/test_kml.py", line 25, in test_write_inventory
inv.write(tf.name, format="KML")
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/core/inventory/inventory.py", line 372, in write
return write_format(self, path_or_file_object, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/io/kml/core.py", line 289, in _write_kml
kml_string = inventory_to_kml_string(obj, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/obspy/io/kml/core.py", line 65, in inventory_to_kml_string
cmap = get_cmap(name=cmap, lut=len(inventory.networks))
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 199, in wrapper
emit_warning()
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 193, in emit_warning
warn_deprecated(
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 96, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 363, in warn_external
warnings.warn(message, category, stacklevel)
PendingDeprecationWarning: The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.

Skipped tests (17)

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.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

Slowest tests (20)

Runtime Test
3.594s core/stream.py::obspy.core.stream.read
3.089s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global
2.899s core/tests/test_trace.py::TestTrace::test_remove_response_plot
2.766s io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
2.686s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
2.332s scripts/tests/test_print.py::PrintTestCase::test_print_nomerge
2.266s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces_tiny
2.249s core/tests/test_inventory.py::TestInventoryCartopy::test_combined_station_event_plot
2.207s core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global
2.155s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces
1.988s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces_huge
1.805s core/tests/test_stream.py::TestStream::test_read_url_via_network
1.793s core/tests/test_network.py::TestNetworkCartopy::test_location_plot_ortho
1.450s clients/filesystem/tests/test_tsindex.py::ClientTestCase::test_get_waveforms_bulk
1.234s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_positive_section
1.221s imaging/tests/test_scan.py::TestScan::test_scan_save_load_npz
1.192s core/tests/test_inventory.py::TestInventory::test_response_plot
1.192s core/tests/test_station.py::TestStation::test_response_plot_degrees
1.141s core/tests/test_station.py::TestStation::test_station_response_plot
1.087s core/tests/test_network.py::TestNetworkCartopy::test_location_plot_local