#160413 Report by node gh-actions covering 112 tests from 61 modules resulted into 22 errors

Report

ObsPy version
1.5.1rc3.post0+8.gb25c2d2fe2
GitHub Pull Request
https://github.com/obspy/obspy/pull/3791
Report file
JSON document
Total runtime
253.8 sec
Report date/time
Aug. 27, 2026, 8:07 a.m.

System / Python

Architecture
64bit
Machine
AMD64
Node
gh-actions
Processor
AMD64 Family 25 Model 1 Stepping 1, AuthenticAMD
Python Compiler
MSC v.1944 64 bit (AMD64)
Python Implementation
CPython
Python Version
3.14.7
Release
2025Server
System
Windows
Version
10.0.26100

Dependencies

cartopy
0.25.0
decorator
5.3.1
flake8
---
geographiclib
2.1
lxml
6.1.2
matplotlib
3.11.1
numpy
2.5.2
obspy
1.5.1rc3.post0+8.gb25c2d2fe2
pyproj
3.7.2
pytest
9.1.1
pytest-json-report
1.5.0
requests
2.34.2
scipy
1.18.0
setuptools
84.0.0
shapefile
---
sqlalchemy
2.0.52

Modules (61)

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

Tracebacks (22)

Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\fdsn\tests\test_client.py", line 1035, in test_redirection
st = c.get_waveforms_bulk(bulk, quality="B", longestonly=False)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\fdsn\client.py", line 1058, in get_waveforms_bulk
data_stream = self._download(
url, data=bulk, content_type='text/plain')
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\fdsn\client.py", line 1498, in _download
raise_on_error(code, data)
~~~~~~~~~~~~~~^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\fdsn\client.py", line 1832, in raise_on_error
raise FDSNException("Unknown Error (%s): %s" % (
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (ConnectionResetError): [WinError 10054] An existing connection was forcibly closed by the remote host
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\fdsn\tests\test_client.py", line 1105, in test_redirection_auth
st = c_auth.get_waveforms_bulk(bulk, quality="B", longestonly=False)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\fdsn\client.py", line 1058, in get_waveforms_bulk
data_stream = self._download(
url, data=bulk, content_type='text/plain')
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\fdsn\client.py", line 1498, in _download
raise_on_error(code, data)
~~~~~~~~~~~~~~^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\fdsn\client.py", line 1832, in raise_on_error
raise FDSNException("Unknown Error (%s): %s" % (
(str(data.__class__.__name__), str(data))))
obspy.clients.fdsn.header.FDSNException: Unknown Error (ConnectionResetError): [WinError 10054] An existing connection was forcibly closed by the remote host
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\iris\tests\test_client.py", line 31, in test_sacpz
with pytest.warns(ObsPyDeprecationWarning, match=MSG):
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\recwarn.py", line 336, in __exit__
fail(
~~~~^
f"Regex pattern did not match any of the {len(self)} warnings emitted.\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Regex: {self.match_expr!r}\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Emitted warnings: {found_str()}.{escape_hint}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\outcomes.py", line 162, in __call__
raise Failed(msg=reason, pytrace=pytrace)
Failed: Regex pattern did not match any of the 1 warnings emitted.
Regex: 'EarthScope has announced the retirement'
Emitted warnings: [ ObsPyDeprecationWarning("\nDEPRECATED as of 1.5.1 and will be removed in future release\n\nLow-level interface for `sacpz` Web service of EarthScope\n(https://service.earthscope.org/irisws/sacpz/)\nrelease 1.1.1 (2012-1-9).\n\nThis method provides access to instrument response information\n(per-channel) as poles and zeros in the ASCII format used by SAC and\nother programs. Users can query for channel response by network,\nstation, channel, location and time.\n\n:type network: str\n:param network: Network code, e.g. ``'IU'``.\n:type station: str\n:param station: Station code, e.g. ``'ANMO'``.\n:type location: str, optional\n:param location: Location code, e.g. ``'00'``, wildcards allowed.\n Defaults to ``'*'``.\n:type channel: str, optional\n:param channel: Channel code, e.g. ``'BHZ'``, wildcards allowed.\n Defaults to ``'*'``.\n:type starttime: :class:`~obspy.core.utcdatetime.UTCDateTime`, optional\n:param starttime: Start date and time.\n:type endtime: :class:`~obspy.core.utcdatetime.UTCDateTime`, optional\n:param endtime: End date and time. Requires ``starttime`` parameter.\n:type filename: str, optional\n:param filename: Name of a output file. If this parameter is given\n nothing will be returned. Default is ``None``.\n:rtype: str or ``None``\n:return: String with SAC poles and zeros information if no ``filename``\n is given.\n")].
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\iris\tests\test_client.py", line 60, in test_distaz
with pytest.warns(ObsPyDeprecationWarning, match=MSG):
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\recwarn.py", line 336, in __exit__
fail(
~~~~^
f"Regex pattern did not match any of the {len(self)} warnings emitted.\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Regex: {self.match_expr!r}\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Emitted warnings: {found_str()}.{escape_hint}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\outcomes.py", line 162, in __call__
raise Failed(msg=reason, pytrace=pytrace)
Failed: Regex pattern did not match any of the 1 warnings emitted.
Regex: 'EarthScope has announced the retirement'
Emitted warnings: [ ObsPyDeprecationWarning('\nDEPRECATED as of 1.5.1 and will be removed in future release\n\nLow-level interface for `distaz` Web service of EarthScope\n(https://service.earthscope.org/irisws/distaz/) - release 1.0.3 (2016).\n\nThis method will calculate the great-circle angular distance, azimuth,\nand backazimuth between two geographic coordinate pairs. All results\nare reported in degrees, with azimuth and backazimuth measured\nclockwise from North.\n\n:type stalat: float\n:param stalat: Station latitude.\n:type stalon: float\n:param stalon: Station longitude.\n:type evtlat: float\n:param evtlat: Event latitude.\n:type evtlon: float\n:param evtlon: Event longitude.\n:rtype: dict\n:return: Dictionary containing values for azimuth, backazimuth and\n distance.\n\nThe ``azimuth`` is the angle from the station to the event, while the\n``backazimuth`` is the angle from the event to the station.\n\nLatitudes are converted to geocentric latitudes using the WGS84\nspheroid to correct for ellipticity.\n\nThe ``distance`` (in degrees) and ``distancemeters`` are the distance\nbetween the two points on the spheroid.\n')].
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\iris\tests\test_client.py", line 79, in test_traveltime
with pytest.warns(ObsPyDeprecationWarning, match=MSG):
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\recwarn.py", line 336, in __exit__
fail(
~~~~^
f"Regex pattern did not match any of the {len(self)} warnings emitted.\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Regex: {self.match_expr!r}\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Emitted warnings: {found_str()}.{escape_hint}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\outcomes.py", line 162, in __call__
raise Failed(msg=reason, pytrace=pytrace)
Failed: Regex pattern did not match any of the 1 warnings emitted.
Regex: 'EarthScope has announced the retirement'
Emitted warnings: [ ObsPyDeprecationWarning("\nDEPRECATED as of 1.5.1 and will be removed in future release\n\nLow-level interface for `traveltime` Web service of EarthScope\n(https://service.earthscope.org/irisws/traveltime/) - release 1.1.1\n(2012-05-15).\n\nThis method will calculates travel-times for seismic phases using a 1-D\nspherical earth model.\n\n:type model: str, optional\n:param model: Name of 1-D earth velocity model to be used. Available\n models include:\n\n * ``'iasp91'`` (default) - by Int'l Assoc of Seismology and\n Physics of the Earth's Interior\n * ``'prem'`` - Preliminary Reference Earth Model\n * ``'ak135'``\n\n:type phases: list[str], optional\n:param phases: Comma separated list of phases. The default is as\n follows::\n\n ['p','s','P','S','Pn','Sn','PcP','ScS','Pdiff','Sdiff',\n 'PKP','SKS','PKiKP','SKiKS','PKIKP','SKIKS']\n\n Invalid phases will be ignored. Valid arbitrary phases can be made\n up e.g. sSKJKP. See\n `TauP documentation <http://www.seis.sc.edu/TauP/>`_ for more\n information.\n:type evdepth: float, optional\n:param evdepth: The depth of the event, in kilometers. Default is ``0``\n km.\n\n**Geographical Parameters - required**\n\nThe travel time web service requires a great-circle distance between an\nevent and station be specified. There are three methods of specifying\nthis distance:\n\n* Specify a great-circle distance in degrees, using ``distdeg``\n* Specify a great-circle distance in kilometers, using ``distkm``\n* Specify an event location and one or more station locations,\n using ``evloc`` and ``staloc``\n\n:type distdeg: float or list[float], optional\n:param evtlon: Great-circle distance from source to station, in decimal\n degrees. Multiple distances may be specified as a list.\n:type distkm: float or list[float], optional\n:param distkm: Distance between the source and station, in kilometers.\n Multiple distances may be specified as a list.\n:type evloc: tuple(float, float), optional\n:param evloc: The Event location (lat,lon) using decimal degrees.\n:type staloc: tuple(float, float) or list[tuple(float, float)],\n optional\n:param staloc: Station locations for which the phases will be listed.\n The general format is (lat,lon). Specify multiple station locations\n with a list, e.g. ``[(lat1,lon1),(lat2,lon2),...,(latn,lonn)]``.\n\n**Output Parameters**\n\n:type noheader: bool, optional\n:param noheader: Specifying noheader will strip the header from the\n resulting table. Defaults to ``False``.\n:type traveltimeonly: bool, optional\n:param traveltimeonly: Returns a space-separated list of travel\n times, in seconds. Defaults to ``False``.\n\n .. note:: Travel times are produced in ascending order regardless\n of the order in which the phases are specified\n\n:type rayparamonly: bool, optional\n:param rayparamonly: Returns a space-separated list of ray parameters,\n in sec/deg.. Defaults to ``False``.\n:type mintimeonly: bool, optional\n:param mintimeonly: Returns only the first arrival of each phase for\n each distance. Defaults to ``False``.\n:type filename: str, optional\n:param filename: Name of a output file. If this parameter is given\n nothing will be returned. Default is ``None``.\n:rtype: str or ``None``\n:return: ASCII travel time table if no ``filename`` is given.\n")].
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\iris\tests\test_client.py", line 197, in test_resp
with pytest.warns(ObsPyDeprecationWarning, match=MSG):
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\recwarn.py", line 336, in __exit__
fail(
~~~~^
f"Regex pattern did not match any of the {len(self)} warnings emitted.\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Regex: {self.match_expr!r}\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Emitted warnings: {found_str()}.{escape_hint}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\outcomes.py", line 162, in __call__
raise Failed(msg=reason, pytrace=pytrace)
Failed: Regex pattern did not match any of the 1 warnings emitted.
Regex: 'EarthScope has announced the retirement'
Emitted warnings: [ ObsPyDeprecationWarning("\nDEPRECATED as of 1.5.1 and will be removed in future release\n\nLow-level interface for `resp` Web service of EarthScope\n(https://service.earthscope.org/irisws/resp/) - 1.4.1 (2011-04-14).\n\nThis method provides access to channel response information in the SEED\n`RESP <https://ds.iris.edu/ds/nodes/dmc/kb/questions/60>`_\nformat (as used by evalresp). Users can query for channel response by\nnetwork, station, channel, location and time.\n\n:type network: str\n:param network: Network code, e.g. ``'IU'``.\n:type station: str\n:param station: Station code, e.g. ``'ANMO'``.\n:type location: str, optional\n:param location: Location code, e.g. ``'00'``, wildcards allowed.\n Defaults to ``'*'``.\n:type channel: str, optional\n:param channel: Channel code, e.g. ``'BHZ'``, wildcards allowed.\n Defaults to ``'*'``.\n\n**Temporal constraints**\n\nThe following three parameters impose time constraints on the query.\nTime may be requested through the use of either time OR the start and\nend times. If no time is specified, then the current time is assumed.\n\n:type time: :class:`~obspy.core.utcdatetime.UTCDateTime`, optional\n:param time: Find the response for the given time. Time cannot be used\n with ``starttime`` or ``endtime`` parameters\n:type starttime: :class:`~obspy.core.utcdatetime.UTCDateTime`, optional\n:param starttime: Start time, may be used in conjunction with\n ``endtime``.\n:type endtime: :class:`~obspy.core.utcdatetime.UTCDateTime`, optional\n:param endtime: End time, may be used in conjunction with\n ``starttime``.\n:type filename: str, optional\n:param filename: Name of a output file. If this parameter is given\n nothing will be returned. Default is ``None``.\n:rtype: str or ``None``\n:return: SEED RESP file as string if no ``filename`` is given..\n")].
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\iris\tests\test_client.py", line 232, in test_timeseries
with pytest.warns(ObsPyDeprecationWarning, match=MSG):
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\recwarn.py", line 336, in __exit__
fail(
~~~~^
f"Regex pattern did not match any of the {len(self)} warnings emitted.\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Regex: {self.match_expr!r}\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Emitted warnings: {found_str()}.{escape_hint}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\outcomes.py", line 162, in __call__
raise Failed(msg=reason, pytrace=pytrace)
Failed: Regex pattern did not match any of the 2 warnings emitted.
Regex: 'EarthScope has announced the retirement'
Emitted warnings: [ ObsPyDeprecationWarning('\nDEPRECATED as of 1.5.1 and will be removed in future release\n\nLow-level interface for `timeseries` Web service of EarthScope\n(https://service.earthscope.org/irisws/timeseries/)- release 1.3.5\n(2012-06-07).\n\nThis method fetches segments of seismic data and returns data formatted\nin either MiniSEED, ASCII or SAC. It can optionally filter the data.\n\n**Channel and temporal constraints (required)**\n\nThe four SCNL parameters (Station - Channel - Network - Location) are\nused to determine the channel of interest, and are all required.\nWildcards are not accepted.\n\n:type network: str\n:param network: Network code, e.g. ``\'IU\'``.\n:type station: str\n:param station: Station code, e.g. ``\'ANMO\'``.\n:type location: str\n:param location: Location code, e.g. ``\'00\'``\n:type channel: str\n:param channel: Channel code, e.g. ``\'BHZ\'``.\n:type starttime: :class:`~obspy.core.utcdatetime.UTCDateTime`\n:param starttime: Start date and time.\n:type endtime: :class:`~obspy.core.utcdatetime.UTCDateTime`\n:param endtime: End date and time.\n\n**Filter Options**\n\nThe following parameters act as filters upon the time series.\n\n:type filter: list[str], optional\n:param filter: Filter list. List order matters because each filter\n operation is performed in the order given. For example\n ``filter=["demean", "lp=2.0"]`` will demean and then apply a\n low-pass filter, while ``filter=["lp=2.0", "demean"]`` will apply\n the low-pass filter first, and then demean.\n\n ``"taper=WIDTH,TYPE"``\n Apply a time domain symmetric tapering function to the\n time series data. The width is specified as a fraction of the\n trace length from 0 to 0.5. The window types HANNING (default),\n HAMMING, or COSINE may be optionally followed, e.g.\n ``"taper=0.25"`` or ``"taper=0.5,COSINE"``.\n ``"envelope=true"``\n Calculate the envelope of the time series. This calculation\n uses a Hilbert transform approximated by a time domain filter.\n ``"lp=FREQ"``\n Low-pass filter the time-series using an IIR 4th order filter,\n using this value (in Hertz) as the cutoff, e.g. ``"lp=1.0"``.\n ``"hp=FREQ"``\n High-pass filter the time-series using an IIR 4th order filter,\n using this value (in Hertz) as the cutoff, e.g. ``"hp=3.0"``.\n ``"bp=FREQ1,FREQ2"``\n Band pass frequencies, in Hz, e.g. ``"bp=0.1,1.0"``.\n ``"demean"``\n Remove mean value from data.\n ``"scale"``\n Scale data samples by specified factor, e.g. ``"scale=2.0"``\n If ``"scale=AUTO"``, the data will be scaled by the stage-zero\n gain. Cannot specify both ``scale`` and ``divscale``.\n Cannot specify both ``correct`` and ``scale=AUTO``.\n ``"divscale"``\n Scale data samples by the inverse of the specified factor, e.g\n ``"divscale=2.0"``. You cannot specify both ``scale`` and\n ``divscale``.\n ``"correct"``\n Apply instrument correction to convert to earth units. Uses\n either deconvolution or polynomial response correction. Cannot\n specify both ``correct`` and ``scale=AUTO``. Correction\n on > 10^7 samples will result in an error. At a sample rate of\n 20 Hz, 10^7 samples is approximately 5.8 days.\n ``"freqlimits=FREQ1,FREQ2,FREQ3,FREQ4"``\n Specify an envelope for a spectrum taper for deconvolution,\n e.g. ``"freqlimits=0.0033,0.004,0.05,0.06"``. Frequencies are\n specified in Hertz. This cosine taper scales the spectrum from\n 0 to 1 between FREQ1 and FREQ2 and from 1 to 0 between FREQ3\n and FREQ4. Can only be used with the correct option. Cannot be\n used in combination with the ``autolimits`` option.\n ``"autolimits=X,Y"``\n Automatically determine frequency limits for deconvolution,\n e.g. ``"autolimits=3.0,3.0"``. A pass band is determined for\n all frequencies with the lower and upper corner cutoffs defined\n in terms of dB down from the maximum amplitude. This algorithm\n is designed to work with flat responses, i.e. a response in\n velocity for an instrument which is flat to velocity. Other\n combinations will likely result in unsatisfactory results.\n Cannot be used in combination with the ``freqlimits`` option.\n ``"units=UNIT"``\n Specify output units. Can be DIS, VEL, ACC or DEF, where DEF\n results in no unit conversion, e.g. ``"units=VEL"``. Option\n ``units`` can only be used with ``correct``.\n ``"diff"``\n Differentiate using 2 point (uncentered) method\n ``"int"``\n Integrate using trapezoidal (midpoint) method\n ``"decimate=SAMPLERATE"``\n Specify the sample-rate to decimate to, e.g.\n ``"decimate=2.0"``. The sample-rate of the source divided by\n the given sample-rate must be factorable by 2,3,4,7.\n\n**Miscelleneous options**\n\n:type filename: str, optional\n:param filename: Name of a output file. If this parameter is given\n nothing will be returned. Default is ``None``.\n:type output: str, optional\n:param output: Output format if parameter ``filename`` is used.\n\n ``\'ascii\'``\n Data format, 1 column (values)\n ``\'ascii2\'``\n ASCII data format, 2 columns (time, value)\n ``\'ascii\'``\n Same as ascii2\n ``\'audio\'``\n audio WAV file\n ``\'miniseed\'``\n MiniSEED format\n ``\'plot\'``\n A simple plot of the time series\n ``\'saca\'``\n SAC, ASCII format\n ``\'sacbb\'``\n SAC, binary big-endian format\n ``\'sacbl\'``\n SAC, binary little-endian format\n\n:rtype: :class:`~obspy.core.stream.Stream` or ``None``\n:return: ObsPy Stream object if no ``filename`` is given.\n'),
ResourceWarning("Implicitly cleaning up <HTTPError 410: 'Gone'>")].
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\iris\tests\test_client.py", line 246, in test_flinnengdahl_deprecation_warning
with pytest.warns(ObsPyDeprecationWarning, match=msg):
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\recwarn.py", line 336, in __exit__
fail(
~~~~^
f"Regex pattern did not match any of the {len(self)} warnings emitted.\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Regex: {self.match_expr!r}\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Emitted warnings: {found_str()}.{escape_hint}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\outcomes.py", line 162, in __call__
raise Failed(msg=reason, pytrace=pytrace)
Failed: Regex pattern did not match any of the 2 warnings emitted.
Regex: 'EarthScope has announced the retirement of its Flinn-Engdahl web service on or after July 6th 2026. Try using obspy.geodetics.flinnengdahl instead'
Emitted warnings: [ ObsPyDeprecationWarning("\nDEPRECATED as of 1.5.1 and will be removed in future release\n\nLow-level interface for `flinnengdahl` Web service of EarthScope\n(https://service.earthscope.org/irisws/flinnengdahl/) - release 1.1\n(2011-06-08).\n\nThis method converts a latitude, longitude pair into either a\n`Flinn-Engdahl <https://en.wikipedia.org/wiki/Flinn-Engdahl_regions>`_\nseismic region code or region name.\n\n:type lat: float\n:param lat: Latitude of interest.\n:type lon: float\n:param lon: Longitude of interest.\n:type rtype: str, optional\n:param rtype: Return type. Can be one of ``'code'``, ``'region'`` or\n ``'both'``. Defaults to ``'both'``.\n:rtype: int, str, or tuple\n:returns: Returns Flinn-Engdahl region code or name or both, depending\n on the request type parameter ``rtype``.\n"),
ResourceWarning("Implicitly cleaning up <HTTPError 410: 'Gone'>")].
032 (default is ``30``)
033 :type debug: bool, optional
034 :param debug: if ``True``, print debug information (default is ``False``)
035
036 .. rubric:: Example
037
038 >>> from obspy.clients.neic import Client
039 >>> client = Client()
040 >>> t = UTCDateTime() - 5 * 3600 # 5 hours before now
041 >>> st = client.get_waveforms("IU", "ANMO", "00", "BH?", t, t + 10)
UNEXPECTED EXCEPTION: TimeoutError(10060, 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond', None, 10060, None)
Traceback (most recent call last):
File "<doctest obspy.clients.neic.client.Client[3]>", line 1, in <module>
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\neic\client.py", line 123, in get_waveforms
return self.get_waveforms_nscl(seedname, starttime,
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
endtime - starttime)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\neic\client.py", line 190, in get_waveforms_nscl
s.connect((self.host, self.port))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\neic\client.py:41: UnexpectedException
099 :param endtime: End date and time.
100 :rtype: :class:`~obspy.core.stream.Stream`
101 :returns: Stream object with requested data
102
103 .. rubric:: Example
104
105 >>> from obspy.clients.neic import Client
106 >>> client = Client()
107 >>> t = UTCDateTime() - 5 * 3600 # 5 hours before now
108 >>> st = client.get_waveforms("IU", "ANMO", "0?", "BH?", t, t + 10)
UNEXPECTED EXCEPTION: TimeoutError(10060, 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond', None, 10060, None)
Traceback (most recent call last):
File "<doctest obspy.clients.neic.client.Client.get_waveforms[3]>", line 1, in <module>
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\neic\client.py", line 123, in get_waveforms
return self.get_waveforms_nscl(seedname, starttime,
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
endtime - starttime)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\neic\client.py", line 190, in get_waveforms_nscl
s.connect((self.host, self.port))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\neic\client.py:108: UnexpectedException
150 :rtype: :class:`~obspy.core.stream.Stream`
151 :returns: Stream object with requested data
152
153 .. rubric:: Example
154
155 >>> from obspy.clients.neic import Client
156 >>> from obspy import UTCDateTime
157 >>> client = Client()
158 >>> t = UTCDateTime() - 5 * 3600 # 5 hours before now
159 >>> st = client.get_waveforms_nscl("IUANMO BH.00", t, 10)
UNEXPECTED EXCEPTION: TimeoutError(10060, 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond', None, 10060, None)
Traceback (most recent call last):
File "<doctest obspy.clients.neic.client.Client.get_waveforms_nscl[4]>", line 1, in <module>
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\neic\client.py", line 190, in get_waveforms_nscl
s.connect((self.host, self.port))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\neic\client.py:159: UnexpectedException
073
074 Request waveform data from the seedlink server.
075
076 >>> from obspy import UTCDateTime
077 >>> client = Client('rtserver.ipgp.fr')
078 >>> t = UTCDateTime() - 1500
079 >>> st = client.get_waveforms("G", "FDFM", "10", "BHZ", t, t + 5)
UNEXPECTED EXCEPTION: ValueError('need at least one array to concatenate')
Traceback (most recent call last):
File "<doctest obspy.clients.seedlink.basic_client.Client.get_waveforms[3]>", line 1, in <module>
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\seedlink\basic_client.py", line 162, in get_waveforms
return self._multiselect_request(seedlink_id, starttime, endtime)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\seedlink\basic_client.py", line 191, in _multiselect_request
input = np.concatenate(self.bulk_data_container)
ValueError: need at least one array to concatenate
C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\seedlink\basic_client.py:79: UnexpectedException
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\seedlink\tests\test_basic_client.py", line 41, in test_get_waveform
_test_offset_from_realtime(offset)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\seedlink\tests\test_basic_client.py", line 27, in _test_offset_from_realtime
st = self.client.get_waveforms(*request)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\seedlink\basic_client.py", line 162, in get_waveforms
return self._multiselect_request(seedlink_id, starttime, endtime)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\seedlink\basic_client.py", line 191, in _multiselect_request
input = np.concatenate(self.bulk_data_container)
ValueError: need at least one array to concatenate
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\seedlink\tests\test_basic_client.py", line 105, in test_multiple_waveform_requests_with_multiple_info_requests
_test_offset_from_realtime(offset)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\seedlink\tests\test_basic_client.py", line 78, in _test_offset_from_realtime
st = self.client.get_waveforms("*", "F?FM", "1?", "B??", t, t + 5)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\seedlink\basic_client.py", line 145, in get_waveforms
return self._multiselect_request(multiselect, starttime, endtime)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\seedlink\basic_client.py", line 191, in _multiselect_request
input = np.concatenate(self.bulk_data_container)
ValueError: need at least one array to concatenate
021 First initialize a client object.
022
023 >>> from obspy.clients.syngine import Client
024 >>> client = Client()
025
026 Then request some data.
027
028 >>> st = client.get_waveforms(model="ak135f_5s", network="IU", station="ANMO",
029 ... eventid="GCMT:C201002270634A")
030 >>> print(st) # doctest: +ELLIPSIS
Differences (unified diff with -expected +actual):
@@ -1,4 +1,4 @@
3 Trace(s) in Stream:
-IU.ANMO.SE.MXZ | 2010-02-27T06:35:14... - ... | 4.0 Hz, 15520 samples
-IU.ANMO.SE.MXN | 2010-02-27T06:35:14... - ... | 4.0 Hz, 15520 samples
-IU.ANMO.SE.MXE | 2010-02-27T06:35:14... - ... | 4.0 Hz, 15520 samples
+IU.ANMO.SE.MXZ | 2010-02-27T06:35:13.000000Z - 2010-02-27T07:39:52.750000Z | 4.0 Hz, 15520 samples
+IU.ANMO.SE.MXN | 2010-02-27T06:35:13.000000Z - 2010-02-27T07:39:52.750000Z | 4.0 Hz, 15520 samples
+IU.ANMO.SE.MXE | 2010-02-27T06:35:13.000000Z - 2010-02-27T07:39:52.750000Z | 4.0 Hz, 15520 samples
C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\__init__.py:30: DocTestFailure
215 default values of all parameters.
216
217 .. rubric:: Example
218
219 >>> from obspy.clients.syngine import Client
220 >>> client = Client()
221 >>> st = client.get_waveforms(model="ak135f_5s", network="IU",
222 ... station="ANMO",
223 ... eventid="GCMT:C201002270634A")
224 >>> print(st) # doctest: +ELLIPSIS
Differences (unified diff with -expected +actual):
@@ -1,4 +1,4 @@
3 Trace(s) in Stream:
-IU.ANMO.SE.MXZ | 2010-02-27T06:35:14... - ... | 4.0 Hz, 15520 samples
-IU.ANMO.SE.MXN | 2010-02-27T06:35:14... - ... | 4.0 Hz, 15520 samples
-IU.ANMO.SE.MXE | 2010-02-27T06:35:14... - ... | 4.0 Hz, 15520 samples
+IU.ANMO.SE.MXZ | 2010-02-27T06:35:13.000000Z - 2010-02-27T07:39:52.750000Z | 4.0 Hz, 15520 samples
+IU.ANMO.SE.MXN | 2010-02-27T06:35:13.000000Z - 2010-02-27T07:39:52.750000Z | 4.0 Hz, 15520 samples
+IU.ANMO.SE.MXE | 2010-02-27T06:35:13.000000Z - 2010-02-27T07:39:52.750000Z | 4.0 Hz, 15520 samples
C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\client.py:224: DocTestFailure
409 ... ]
410
411 Just pass that on to the bulk waveform method and retrieve the data.
412
413 >>> st = c.get_waveforms_bulk(
414 ... model="ak135f_5s", bulk=bulk, sourcelatitude=12.3,
415 ... sourcelongitude=75.3, sourcedepthinmeters=54321,
416 ... sourcemomenttensor=[1E19, 1E19, 1E19, 0, 0, 0],
417 ... components="Z")
418 >>> print(st.sort()) # doctest: +ELLIPSIS
Differences (unified diff with -expected +actual):
@@ -1,6 +1,6 @@
5 Trace(s) in Stream:
-AA.BB.CC.MXZ | 1900-01-01T00:00:00... - ... | 4.0 Hz, 15520 samples
-IU.ANMO.SE.MXZ | 1900-01-01T00:00:00... - ... | 4.0 Hz, 15520 samples
-IU.ANTO.SE.MXZ | 1900-01-01T00:00:00... - ... | 4.0 Hz, 15520 samples
-XX.S0001.SE.MXZ | 1900-01-01T00:00:00... - ... | 4.0 Hz, 15520 samples
-XX.S0002.SE.MXZ | 1900-01-01T00:00:00... - ... | 4.0 Hz, 15520 samples
+AA.BB.CC.MXZ | 1900-01-01T00:00:00.000000Z - 1900-01-01T01:04:39.750000Z | 4.0 Hz, 15520 samples
+IU.ANMO.SE.MXZ | 1900-01-01T00:00:00.000000Z - 1900-01-01T01:04:39.750000Z | 4.0 Hz, 15520 samples
+IU.ANTO.SE.MXZ | 1900-01-01T00:00:00.000000Z - 1900-01-01T01:04:39.750000Z | 4.0 Hz, 15520 samples
+XX.S0001.SE.MXZ | 1900-01-01T00:00:00.000000Z - 1900-01-01T01:04:39.750000Z | 4.0 Hz, 15520 samples
+XX.S0003.SE.MXZ | 1900-01-01T00:00:00.000000Z - 1900-01-01T01:04:39.750000Z | 4.0 Hz, 15520 samples
C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\client.py:418: DocTestFailure
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\tests\test_client.py", line 61, in test_get_model_info
info = self.c.get_model_info("test")
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\client.py", line 76, in get_model_info
r = self._download(self._get_url("info"),
params={"model": model_name})
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\base.py", line 249, in _download
self._handle_requests_http_error(r)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\client.py", line 56, in _handle_requests_http_error
raise ClientHTTPException(msg.strip())
obspy.clients.base.ClientHTTPException: HTTP code 400 when downloading 'https://service.earthscope.org/irisws/syngine/1/info?model=test':
Error: 400 : Unrecognized model: test
Request:
https://service.earthscope.org/irisws/syngine/1/info?model=test
Request Submitted:
2026-08-27 13:07:03.430329+00:00
Service version:
Service: irisws-syngine version: 1.0.6
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\tests\test_client.py", line 255, in test_error_handling
with pytest.raises(ClientHTTPException, match=msg):
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\raises.py", line 711, in __exit__
raise AssertionError(self._fail_reason) from None
AssertionError: Regex pattern did not match.
Expected regex: re.compile('HTTP code 400 when.*Unrecognized component', re.DOTALL)
Actual message: "HTTP code 422 when downloading 'https://service.earthscope.org/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=ABC&format=miniseed':\n\nError: 422 : PydValidationError: 1 validation error for SyngineQueryParams\ncomponents\n String should match pattern '^[ZNERT]+$' [type=string_pattern_mismatch, input_value='ABC', input_type=str]\n For further information visit https://errors.pydantic.dev/2.13/v/string_pattern_mismatch\n\nRequest:\nhttps://service.earthscope.org/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=ABC&format=miniseed\n\nRequest Submitted:\n2026-08-27 13:07:03.762874+00:00\n\nService version:\nService: irisws-syngine version: 1.0.6"
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\tests\test_client.py", line 344, in test_get_waveforms
st = self.c.get_waveforms(model="test", network="IU", station="ANMO",
eventid="GCMT:C201002270634A",
components="Z")
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\client.py", line 364, in get_waveforms
r = self._download(url=self._get_url("query"), params=params,
filename=filename)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\base.py", line 249, in _download
self._handle_requests_http_error(r)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\client.py", line 56, in _handle_requests_http_error
raise ClientHTTPException(msg.strip())
obspy.clients.base.ClientHTTPException: HTTP code 422 when downloading 'https://service.earthscope.org/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed':
Error: 422 : ValidationError: Unrecognized model: 'test'
Request:
https://service.earthscope.org/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed
Request Submitted:
2026-08-27 13:07:03.836208+00:00
Service version:
Service: irisws-syngine version: 1.0.6
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\tests\test_client.py", line 413, in test_saving_directly_to_file
st = self.c.get_waveforms(
model="test", network="IU", station="ANMO",
eventid="GCMT:C201002270634A", starttime="P-10",
endtime="P+10", components="Z", filename=tf)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\client.py", line 364, in get_waveforms
r = self._download(url=self._get_url("query"), params=params,
filename=filename)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\base.py", line 249, in _download
self._handle_requests_http_error(r)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\client.py", line 56, in _handle_requests_http_error
raise ClientHTTPException(msg.strip())
obspy.clients.base.ClientHTTPException: HTTP code 422 when downloading 'https://service.earthscope.org/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed&starttime=P-10&endtime=P%2B10':
Error: 422 : ValidationError: Unrecognized model: 'test'
Request:
https://service.earthscope.org/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed&starttime=P-10&endtime=P%2B10
Request Submitted:
2026-08-27 13:07:03.889634+00:00
Service version:
Service: irisws-syngine version: 1.0.6
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\tests\test_client.py", line 439, in test_reading_saczip_files
st = self.c.get_waveforms(
model="test", network="IU", station="ANMO",
eventid="GCMT:C201002270634A", starttime="P-10",
endtime="P+10", components="Z", format="saczip")
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\client.py", line 364, in get_waveforms
r = self._download(url=self._get_url("query"), params=params,
filename=filename)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\base.py", line 249, in _download
self._handle_requests_http_error(r)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\client.py", line 56, in _handle_requests_http_error
raise ClientHTTPException(msg.strip())
obspy.clients.base.ClientHTTPException: HTTP code 422 when downloading 'https://service.earthscope.org/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=saczip&starttime=P-10&endtime=P%2B10':
Error: 422 : ValidationError: Unrecognized model: 'test'
Request:
https://service.earthscope.org/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=saczip&starttime=P-10&endtime=P%2B10
Request Submitted:
2026-08-27 13:07:03.942677+00:00
Service version:
Service: irisws-syngine version: 1.0.6
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 361, in from_call
result: TResult | None = func()
~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\logging.py", line 865, in pytest_runtest_call
yield
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 139, in _multicall
teardown.throw(exception)
~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\runner.py", line 184, in pytest_runtest_call
item.runtest()
~~~~~~~~~~~~^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 167, in _multicall
raise exception
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\pluggy\_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\syngine\tests\test_client.py", line 437, in test_reading_saczip_files
with pytest.warns(UserWarning,
~~~~~~~~~~~~^^^^^^^^^^^^^
match="Sample spacing read from SAC"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\recwarn.py", line 324, in __exit__
fail(
~~~~^
f"DID NOT WARN. No warnings of type {self.expected_warning} were emitted.\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f" Emitted warnings: {found_str()}."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\_pytest\outcomes.py", line 162, in __call__
raise Failed(msg=reason, pytrace=pytrace)
Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) were emitted.
Emitted warnings: [].

Skipped tests (7)

Submodule Test Skip message
clients.earthworm clients/earthworm/tests/test_client.py::TestEWClient::test_get_waveform_no_cleanup Skipped: Example data AV.AKV..BHE no longer valid
clients.fdsn clients/fdsn/tests/test_client.py::TestClient::test_eida_token_resolution Skipped: EIDA token is expired
clients.neic clients/neic/tests/test_client.py::TestClient::test_get_waveform Skipped: Timeout trying to connect to NEIC CWB query server
clients.neic clients/neic/tests/test_client.py::TestClient::test_get_waveform_nscl Skipped: Timeout trying to connect to NEIC CWB query server
clients.seedlink clients/seedlink/tests/test_slclient.py::TestSLClient::test_info Skipped: test must be started manually
clients.seedlink clients/seedlink/tests/test_slclient.py::TestSLClient::test_time_window Skipped: test must be started manually
clients.seedlink clients/seedlink/tests/test_slclient.py::TestSLClient::test_issue708 Skipped: test must be started manually

Slowest tests (20)

Runtime Test
15.053s clients/fdsn/tests/test_eidaws_routing_client.py::TestEIDAWSRoutingClient::test_get_waveforms_integration_test
8.543s clients/fdsn/tests/test_client.py::TestClient::test_irisph5_event
4.551s clients/fdsn/tests/test_client.py::TestClient::test_isc_example_queries_event
4.525s clients/iris/tests/test_client.py::TestClient::test_evalresp
3.989s clients/fdsn/tests/test_client.py::TestClient::test_isc_example_queries_event_discover_services_false
3.536s core/tests/test_stream.py::TestStream::test_read_url_via_network
3.437s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_events
2.631s clients/fdsn/tests/test_client.py::TestClient::test_trim_stream_after_get_waveform
2.394s clients/fdsn/tests/test_client.py::TestClient::test_dataselect_bulk[True]
2.287s clients/fdsn/tests/test_eidaws_routing_client.py::TestEIDAWSRoutingClient::test_get_stations_integration_test
2.065s clients/fdsn/tests/test_client.py::TestClient::test_dataselect_bulk[False]
1.882s clients/fdsn/tests/test_federator_routing_client.py::TestFederatorRoutingClient::test_get_waveforms_integration_test
1.843s clients/nrl/client.py::obspy.clients.nrl.client.NRL.get_response
1.574s clients/fdsn/tests/test_client.py::TestClient::test_iris_example_queries_dataselect
1.520s clients/fdsn/__init__.py::obspy.clients.fdsn
1.480s clients/seedlink/basic_client.py::obspy.clients.seedlink.basic_client.Client.get_info
1.380s clients/fdsn/tests/test_client.py::TestClient::test_iris_example_queries_station
1.301s clients/fdsn/tests/test_client.py::TestClient::test_iris_example_queries_dataselect_discover_services_false
0.969s clients/earthworm/__init__.py::obspy.clients.earthworm
0.908s clients/fdsn/mass_downloader/__init__.py::obspy.clients.fdsn.mass_downloader

Warnings (6)

Stage Filename Category Message
runtest C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\iris\tests\test_client.py:248 ObsPyDeprecationWarning DEPRECATED as of 1.5.1 and will be removed in future release Low-level interface for `flinnengdahl` Web service of EarthScope (https://service.earthscope.org/irisws/flinnengdahl/) - release 1.1 (2011-06-08). This method converts a latitude, longitude pair into either a `Flinn-Engdahl <https://en.wikipedia.org/wiki/Flinn-Engdahl_regions>`_ seismic region code or region name. :type lat: float :param lat: Latitude of interest. :type lon: float :param lon: Longitude of interest. :type rtype: str, optional :param rtype: Return type. Can be one of ``'code'``, ``'region'`` or ``'both'``. Defaults to ``'both'``. :rtype: int, str, or tuple :returns: Returns Flinn-Engdahl region code or name or both, depending on the request type parameter ``rtype``.
runtest C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\iris\tests\test_client.py:33 ObsPyDeprecationWarning DEPRECATED as of 1.5.1 and will be removed in future release Low-level interface for `sacpz` Web service of EarthScope (https://service.earthscope.org/irisws/sacpz/) release 1.1.1 (2012-1-9). This method provides access to instrument response information (per-channel) as poles and zeros in the ASCII format used by SAC and other programs. Users can query for channel response by network, station, channel, location and time. :type network: str :param network: Network code, e.g. ``'IU'``. :type station: str :param station: Station code, e.g. ``'ANMO'``. :type location: str, optional :param location: Location code, e.g. ``'00'``, wildcards allowed. Defaults to ``'*'``. :type channel: str, optional :param channel: Channel code, e.g. ``'BHZ'``, wildcards allowed. Defaults to ``'*'``. :type starttime: :class:`~obspy.core.utcdatetime.UTCDateTime`, optional :param starttime: Start date and time. :type endtime: :class:`~obspy.core.utcdatetime.UTCDateTime`, optional :param endtime: End date and time. Requires ``starttime`` parameter. :type filename: str, optional :param filename: Name of a output file. If this parameter is given nothing will be returned. Default is ``None``. :rtype: str or ``None`` :return: String with SAC poles and zeros information if no ``filename`` is given.
runtest C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\iris\tests\test_client.py:199 ObsPyDeprecationWarning DEPRECATED as of 1.5.1 and will be removed in future release Low-level interface for `resp` Web service of EarthScope (https://service.earthscope.org/irisws/resp/) - 1.4.1 (2011-04-14). This method provides access to channel response information in the SEED `RESP <https://ds.iris.edu/ds/nodes/dmc/kb/questions/60>`_ format (as used by evalresp). Users can query for channel response by network, station, channel, location and time. :type network: str :param network: Network code, e.g. ``'IU'``. :type station: str :param station: Station code, e.g. ``'ANMO'``. :type location: str, optional :param location: Location code, e.g. ``'00'``, wildcards allowed. Defaults to ``'*'``. :type channel: str, optional :param channel: Channel code, e.g. ``'BHZ'``, wildcards allowed. Defaults to ``'*'``. **Temporal constraints** The following three parameters impose time constraints on the query. Time may be requested through the use of either time OR the start and end times. If no time is specified, then the current time is assumed. :type time: :class:`~obspy.core.utcdatetime.UTCDateTime`, optional :param time: Find the response for the given time. Time cannot be used with ``starttime`` or ``endtime`` parameters :type starttime: :class:`~obspy.core.utcdatetime.UTCDateTime`, optional :param starttime: Start time, may be used in conjunction with ``endtime``. :type endtime: :class:`~obspy.core.utcdatetime.UTCDateTime`, optional :param endtime: End time, may be used in conjunction with ``starttime``. :type filename: str, optional :param filename: Name of a output file. If this parameter is given nothing will be returned. Default is ``None``. :rtype: str or ``None`` :return: SEED RESP file as string if no ``filename`` is given..
runtest C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\iris\tests\test_client.py:234 ObsPyDeprecationWarning DEPRECATED as of 1.5.1 and will be removed in future release Low-level interface for `timeseries` Web service of EarthScope (https://service.earthscope.org/irisws/timeseries/)- release 1.3.5 (2012-06-07). This method fetches segments of seismic data and returns data formatted in either MiniSEED, ASCII or SAC. It can optionally filter the data. **Channel and temporal constraints (required)** The four SCNL parameters (Station - Channel - Network - Location) are used to determine the channel of interest, and are all required. Wildcards are not accepted. :type network: str :param network: Network code, e.g. ``'IU'``. :type station: str :param station: Station code, e.g. ``'ANMO'``. :type location: str :param location: Location code, e.g. ``'00'`` :type channel: str :param channel: Channel code, e.g. ``'BHZ'``. :type starttime: :class:`~obspy.core.utcdatetime.UTCDateTime` :param starttime: Start date and time. :type endtime: :class:`~obspy.core.utcdatetime.UTCDateTime` :param endtime: End date and time. **Filter Options** The following parameters act as filters upon the time series. :type filter: list[str], optional :param filter: Filter list. List order matters because each filter operation is performed in the order given. For example ``filter=["demean", "lp=2.0"]`` will demean and then apply a low-pass filter, while ``filter=["lp=2.0", "demean"]`` will apply the low-pass filter first, and then demean. ``"taper=WIDTH,TYPE"`` Apply a time domain symmetric tapering function to the time series data. The width is specified as a fraction of the trace length from 0 to 0.5. The window types HANNING (default), HAMMING, or COSINE may be optionally followed, e.g. ``"taper=0.25"`` or ``"taper=0.5,COSINE"``. ``"envelope=true"`` Calculate the envelope of the time series. This calculation uses a Hilbert transform approximated by a time domain filter. ``"lp=FREQ"`` Low-pass filter the time-series using an IIR 4th order filter, using this value (in Hertz) as the cutoff, e.g. ``"lp=1.0"``. ``"hp=FREQ"`` High-pass filter the time-series using an IIR 4th order filter, using this value (in Hertz) as the cutoff, e.g. ``"hp=3.0"``. ``"bp=FREQ1,FREQ2"`` Band pass frequencies, in Hz, e.g. ``"bp=0.1,1.0"``. ``"demean"`` Remove mean value from data. ``"scale"`` Scale data samples by specified factor, e.g. ``"scale=2.0"`` If ``"scale=AUTO"``, the data will be scaled by the stage-zero gain. Cannot specify both ``scale`` and ``divscale``. Cannot specify both ``correct`` and ``scale=AUTO``. ``"divscale"`` Scale data samples by the inverse of the specified factor, e.g ``"divscale=2.0"``. You cannot specify both ``scale`` and ``divscale``. ``"correct"`` Apply instrument correction to convert to earth units. Uses either deconvolution or polynomial response correction. Cannot specify both ``correct`` and ``scale=AUTO``. Correction on > 10^7 samples will result in an error. At a sample rate of 20 Hz, 10^7 samples is approximately 5.8 days. ``"freqlimits=FREQ1,FREQ2,FREQ3,FREQ4"`` Specify an envelope for a spectrum taper for deconvolution, e.g. ``"freqlimits=0.0033,0.004,0.05,0.06"``. Frequencies are specified in Hertz. This cosine taper scales the spectrum from 0 to 1 between FREQ1 and FREQ2 and from 1 to 0 between FREQ3 and FREQ4. Can only be used with the correct option. Cannot be used in combination with the ``autolimits`` option. ``"autolimits=X,Y"`` Automatically determine frequency limits for deconvolution, e.g. ``"autolimits=3.0,3.0"``. A pass band is determined for all frequencies with the lower and upper corner cutoffs defined in terms of dB down from the maximum amplitude. This algorithm is designed to work with flat responses, i.e. a response in velocity for an instrument which is flat to velocity. Other combinations will likely result in unsatisfactory results. Cannot be used in combination with the ``freqlimits`` option. ``"units=UNIT"`` Specify output units. Can be DIS, VEL, ACC or DEF, where DEF results in no unit conversion, e.g. ``"units=VEL"``. Option ``units`` can only be used with ``correct``. ``"diff"`` Differentiate using 2 point (uncentered) method ``"int"`` Integrate using trapezoidal (midpoint) method ``"decimate=SAMPLERATE"`` Specify the sample-rate to decimate to, e.g. ``"decimate=2.0"``. The sample-rate of the source divided by the given sample-rate must be factorable by 2,3,4,7. **Miscelleneous options** :type filename: str, optional :param filename: Name of a output file. If this parameter is given nothing will be returned. Default is ``None``. :type output: str, optional :param output: Output format if parameter ``filename`` is used. ``'ascii'`` Data format, 1 column (values) ``'ascii2'`` ASCII data format, 2 columns (time, value) ``'ascii'`` Same as ascii2 ``'audio'`` audio WAV file ``'miniseed'`` MiniSEED format ``'plot'`` A simple plot of the time series ``'saca'`` SAC, ASCII format ``'sacbb'`` SAC, binary big-endian format ``'sacbl'`` SAC, binary little-endian format :rtype: :class:`~obspy.core.stream.Stream` or ``None`` :return: ObsPy Stream object if no ``filename`` is given.
runtest C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\iris\tests\test_client.py:62 ObsPyDeprecationWarning DEPRECATED as of 1.5.1 and will be removed in future release Low-level interface for `distaz` Web service of EarthScope (https://service.earthscope.org/irisws/distaz/) - release 1.0.3 (2016). This method will calculate the great-circle angular distance, azimuth, and backazimuth between two geographic coordinate pairs. All results are reported in degrees, with azimuth and backazimuth measured clockwise from North. :type stalat: float :param stalat: Station latitude. :type stalon: float :param stalon: Station longitude. :type evtlat: float :param evtlat: Event latitude. :type evtlon: float :param evtlon: Event longitude. :rtype: dict :return: Dictionary containing values for azimuth, backazimuth and distance. The ``azimuth`` is the angle from the station to the event, while the ``backazimuth`` is the angle from the event to the station. Latitudes are converted to geocentric latitudes using the WGS84 spheroid to correct for ellipticity. The ``distance`` (in degrees) and ``distancemeters`` are the distance between the two points on the spheroid.
runtest C:\Users\runneradmin\miniconda3\envs\test\Lib\site-packages\obspy\clients\iris\tests\test_client.py:81 ObsPyDeprecationWarning DEPRECATED as of 1.5.1 and will be removed in future release Low-level interface for `traveltime` Web service of EarthScope (https://service.earthscope.org/irisws/traveltime/) - release 1.1.1 (2012-05-15). This method will calculates travel-times for seismic phases using a 1-D spherical earth model. :type model: str, optional :param model: Name of 1-D earth velocity model to be used. Available models include: * ``'iasp91'`` (default) - by Int'l Assoc of Seismology and Physics of the Earth's Interior * ``'prem'`` - Preliminary Reference Earth Model * ``'ak135'`` :type phases: list[str], optional :param phases: Comma separated list of phases. The default is as follows:: ['p','s','P','S','Pn','Sn','PcP','ScS','Pdiff','Sdiff', 'PKP','SKS','PKiKP','SKiKS','PKIKP','SKIKS'] Invalid phases will be ignored. Valid arbitrary phases can be made up e.g. sSKJKP. See `TauP documentation <http://www.seis.sc.edu/TauP/>`_ for more information. :type evdepth: float, optional :param evdepth: The depth of the event, in kilometers. Default is ``0`` km. **Geographical Parameters - required** The travel time web service requires a great-circle distance between an event and station be specified. There are three methods of specifying this distance: * Specify a great-circle distance in degrees, using ``distdeg`` * Specify a great-circle distance in kilometers, using ``distkm`` * Specify an event location and one or more station locations, using ``evloc`` and ``staloc`` :type distdeg: float or list[float], optional :param evtlon: Great-circle distance from source to station, in decimal degrees. Multiple distances may be specified as a list. :type distkm: float or list[float], optional :param distkm: Distance between the source and station, in kilometers. Multiple distances may be specified as a list. :type evloc: tuple(float, float), optional :param evloc: The Event location (lat,lon) using decimal degrees. :type staloc: tuple(float, float) or list[tuple(float, float)], optional :param staloc: Station locations for which the phases will be listed. The general format is (lat,lon). Specify multiple station locations with a list, e.g. ``[(lat1,lon1),(lat2,lon2),...,(latn,lonn)]``. **Output Parameters** :type noheader: bool, optional :param noheader: Specifying noheader will strip the header from the resulting table. Defaults to ``False``. :type traveltimeonly: bool, optional :param traveltimeonly: Returns a space-separated list of travel times, in seconds. Defaults to ``False``. .. note:: Travel times are produced in ascending order regardless of the order in which the phases are specified :type rayparamonly: bool, optional :param rayparamonly: Returns a space-separated list of ray parameters, in sec/deg.. Defaults to ``False``. :type mintimeonly: bool, optional :param mintimeonly: Returns only the first arrival of each phase for each distance. Defaults to ``False``. :type filename: str, optional :param filename: Name of a output file. If this parameter is given nothing will be returned. Default is ``None``. :rtype: str or ``None`` :return: ASCII travel time table if no ``filename`` is given.