#134679 Report by node gh-actions covering 200 tests from 61 modules resulted into 13 errors

Report

ObsPy version
1.4.0.post0+180.g9d69863ddc.o…
GitHub Pull Request
-
Report file
JSON document
Total runtime
185.3 sec
Report date/time
June 16, 2023, 5:18 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
i386
Python Compiler
Clang 15.0.7
Python Implementation
CPython
Python Version
3.11.4
Release
21.6.0
System
Darwin
Version
Darwin Kernel Version 21.6.0: Mon Apr 24 21:10:53 PDT 2023; root:xnu-8020.240.18.701.5~1/RELEASE_X86_64

Dependencies

cartopy
0.21.1
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.2
matplotlib
3.7.1
numpy
1.24.3
obspy
1.4.0.post0+180.g9d69863ddc.obspy.master
pyproj
3.6.0
pytest
7.3.2
pytest-json-report
1.5.0
requests
2.31.0
scipy
1.10.1
setuptools
67.7.2
shapefile
---
sqlalchemy
2.0.16

Modules (61)

Module Errors / Failures Tracebacks
obspy.clients Not tested -
obspy.clients.earthworm - -
obspy.clients.fdsn 3 1 2 3
obspy.clients.filesystem Not tested -
obspy.clients.iris 7 4 5 6 7 8 9 10
obspy.clients.neic 1 11
obspy.clients.nrl - -
obspy.clients.seedlink 2 12 13
obspy.clients.syngine - -
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.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 13 13

Tracebacks (13)

Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 382, in test_iris_event_catalog_availability
assert {*self.client.services["available_event_catalogs"]} == \
AssertionError: assert {'GCMT\n ', '...'NEIC PDE\n '} == {'GCMT', 'ISC', 'NEIC PDE'}
Extra items in the left set:
'GCMT\n '
'NEIC PDE\n '
'ISC\n '
Extra items in the right set:
'ISC'
'GCMT'
'NEIC PDE'
Full diff:
- {'ISC', 'GCMT', 'NEIC PDE'}
+ {'GCMT\n ', 'NEIC PDE\n ', 'ISC\n '}
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 814, in test_help_function_with_iris
assert got[-2].startswith('Available catalogs:')
AssertionError: assert False
+ where False = <built-in method startswith of str object at 0x13f529230>('Available catalogs:')
+ where <built-in method startswith of str object at 0x13f529230> = 'STR'.startswith
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1450, in test_authentication_exceptions
Client(eida_token="TEST")
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 277, in __init__
self._discover_services()
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1638, in _discover_services
raise FDSNNoServiceException(msg)
obspy.clients.fdsn.header.FDSNNoServiceException: No FDSN services could be discovered at 'http://service.iris.edu'. This could be due to a temporary service outage or an invalid FDSN service address.
058 :param major_versions: Allows to specify custom major version numbers
059 for individual services (e.g.
060 `major_versions={'evalresp': 2, 'sacpz': 3}`), otherwise the
061 latest version at time of implementation will be used.
062
063 .. rubric:: Example
064
065 >>> from obspy.clients.iris import Client
066 >>> client = Client()
067 >>> result = client.distaz(stalat=1.1, stalon=1.2, evtlat=3.2,
UNEXPECTED EXCEPTION: Exception('No response data available (HTTPError: HTTP Error 404: Not Found)')
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 593, in distaz
data = self._fetch("distaz", stalat=stalat, stalon=stalon,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 124, in _fetch
response = urllib_request.urlopen(req, timeout=self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1351, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.iris.client.Client[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 598, in distaz
raise Exception(msg)
Exception: No response data available (HTTPError: HTTP Error 404: Not Found)
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py:67: UnexpectedException
569 spheroid to correct for ellipticity.
570
571 The ``distance`` (in degrees) and ``distancemeters`` are the distance
572 between the two points on the spheroid.
573
574 .. rubric:: Example
575
576 >>> from obspy.clients.iris import Client
577 >>> client = Client()
578 >>> result = client.distaz(stalat=1.1, stalon=1.2, evtlat=3.2,
UNEXPECTED EXCEPTION: Exception('No response data available (HTTPError: HTTP Error 404: Not Found)')
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 593, in distaz
data = self._fetch("distaz", stalat=stalat, stalon=stalon,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 124, in _fetch
response = urllib_request.urlopen(req, timeout=self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1351, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.iris.client.Client.distaz[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 598, in distaz
raise Exception(msg)
Exception: No response data available (HTTPError: HTTP Error 404: Not Found)
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py:578: UnexpectedException
624 ``'both'``. Defaults to ``'both'``.
625 :rtype: int, str, or tuple
626 :returns: Returns Flinn-Engdahl region code or name or both, depending
627 on the request type parameter ``rtype``.
628
629 .. rubric:: Examples
630
631 >>> from obspy.clients.iris import Client
632 >>> client = Client()
633 >>> client.flinnengdahl(lat=-20.5, lon=-100.6, rtype="code")
UNEXPECTED EXCEPTION: Exception('No Flinn-Engdahl data available (HTTPError: HTTP Error 404: Not Found)')
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 649, in flinnengdahl
return int(self._fetch(service, param_list=param_list))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 124, in _fetch
response = urllib_request.urlopen(req, timeout=self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1351, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.iris.client.Client.flinnengdahl[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 666, in flinnengdahl
raise Exception(msg)
Exception: No Flinn-Engdahl data available (HTTPError: HTTP Error 404: Not Found)
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py:633: UnexpectedException
748 :param filename: Name of a output file. If this parameter is given
749 nothing will be returned. Default is ``None``.
750 :rtype: str or ``None``
751 :return: ASCII travel time table if no ``filename`` is given.
752
753 .. rubric:: Example
754
755 >>> from obspy.clients.iris import Client
756 >>> client = Client()
757 >>> result = client.traveltime(evloc=(-36.122,-72.898),
UNEXPECTED EXCEPTION: Exception('No response data available (HTTPError: HTTP Error 404: Not Found)')
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 808, in traveltime
data = self._fetch("traveltime", **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 124, in _fetch
response = urllib_request.urlopen(req, timeout=self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1351, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.iris.client.Client.traveltime[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 812, in traveltime
raise Exception(msg)
Exception: No response data available (HTTPError: HTTP Error 404: Not Found)
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py:757: UnexpectedException
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 593, in distaz
data = self._fetch("distaz", stalat=stalat, stalon=stalon,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 124, in _fetch
response = urllib_request.urlopen(req, timeout=self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/tests/test_client.py", line 51, in test_distaz
result = client.distaz(stalat=1.1, stalon=1.2, evtlat=3.2, evtlon=1.4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 598, in distaz
raise Exception(msg)
Exception: No response data available (HTTPError: HTTP Error 404: Not Found)
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 649, in flinnengdahl
return int(self._fetch(service, param_list=param_list))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 124, in _fetch
response = urllib_request.urlopen(req, timeout=self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/tests/test_client.py", line 85, in test_flinnengdahl
result = client.flinnengdahl(lat=-20.5, lon=-100.6, rtype="code")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 666, in flinnengdahl
raise Exception(msg)
Exception: No Flinn-Engdahl data available (HTTPError: HTTP Error 404: Not Found)
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 808, in traveltime
data = self._fetch("traveltime", **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 124, in _fetch
response = urllib_request.urlopen(req, timeout=self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/tests/test_client.py", line 125, in test_traveltime
result = client.traveltime(
^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py", line 812, in traveltime
raise Exception(msg)
Exception: No response data available (HTTPError: HTTP Error 404: Not Found)
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)
042 >>> print(st) # doctest: +ELLIPSIS
043 3 Trace(s) in Stream:
044 IU.ANMO.00.BH... | 40.0 Hz, 401 samples
045 IU.ANMO.00.BH... | 40.0 Hz, 401 samples
046 IU.ANMO.00.BH... | 40.0 Hz, 401 samples
047 >>> st = client.get_waveforms_nscl("IUANMO BH.00", t, 10)
UNEXPECTED EXCEPTION: TimeoutError('timed out')
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1351, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.neic.client.Client[5]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/neic/client.py", line 190, in get_waveforms_nscl
s.connect((self.host, self.port))
TimeoutError: timed out
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/neic/client.py:47: UnexpectedException
200 Supports ``fnmatch`` wildcards, e.g. ``*`` and ``?``, in ``network``,
201 ``station``, ``location`` and ``channel``.
202
203 >>> client = Client('rtserver.ipgp.fr')
204 >>> info = client.get_info(station="FDFM")
205 >>> print(info)
206 [('G', 'FDFM')]
207 >>> info = client.get_info(station="FD?M", channel='*Z',
208 ... level='channel')
209 >>> print(info) # doctest: +NORMALIZE_WHITESPACE
Expected:
[('G', 'FDFM', '00', 'BHZ'), ('G', 'FDFM', '00', 'HHZ'),
('G', 'FDFM', '00', 'HNZ'), ('G', 'FDFM', '00', 'LHZ'),
('G', 'FDFM', '10', 'BHZ'), ('G', 'FDFM', '10', 'HHZ'),
('G', 'FDFM', '10', 'LHZ')]
Got:
[('G', 'FDFM', '00', 'BHZ'), ('G', 'FDFM', '00', 'HHZ'), ('G', 'FDFM', '00', 'HNZ'), ('G', 'FDFM', '00', 'LHZ'), ('G', 'FDFM', '10', 'HHZ')]
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/seedlink/basic_client.py:209: DocTestFailure
078 >>> print(st) # doctest: +ELLIPSIS
079 1 Trace(s) in Stream:
080 G.FDFM.00.BHZ | 20... | 20.0 Hz, ... samples
081
082 Most servers support '?' single-character wildcard in location and
083 channel code fields:
084
085 >>> st = client.get_waveforms("G", "FDFM", "??", "B??", t, t + 5)
086 >>> st = st.sort(reverse=True)
087 >>> print(st) # doctest: +ELLIPSIS
Differences (unified diff with -expected +actual):
@@ -1,7 +1,4 @@
-6 Trace(s) in Stream:
-G.FDFM.10.BHZ | 20... | 20.0 Hz, ... samples
-G.FDFM.10.BHN | 20... | 20.0 Hz, ... samples
-G.FDFM.10.BHE | 20... | 20.0 Hz, ... samples
-G.FDFM.00.BHZ | 20... | 20.0 Hz, ... samples
-G.FDFM.00.BHN | 20... | 20.0 Hz, ... samples
-G.FDFM.00.BHE | 20... | 20.0 Hz, ... samples
+3 Trace(s) in Stream:
+G.FDFM.00.BHZ | 2023-06-16T09:52:45.900000Z - 2023-06-16T09:52:50.900000Z | 20.0 Hz, 101 samples
+G.FDFM.00.BHN | 2023-06-16T09:52:45.900000Z - 2023-06-16T09:52:50.900000Z | 20.0 Hz, 101 samples
+G.FDFM.00.BHE | 2023-06-16T09:52:45.900000Z - 2023-06-16T09:52:50.900000Z | 20.0 Hz, 101 samples
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/seedlink/basic_client.py:87: DocTestFailure

Skipped tests (5)

Submodule Test Skip message
clients.fdsn clients/fdsn/tests/test_client.py::TestClient::test_trim_stream_after_get_waveform Skipped: data no longer available
clients.fdsn clients/fdsn/tests/test_client.py::TestClient::test_eida_token_resolution Skipped: Token is expired
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
14.191s clients/fdsn/tests/test_client.py::TestClient::test_irisph5_event
12.204s clients/fdsn/tests/test_eidaws_routing_client.py::TestEIDAWSRoutingClient::test_get_waveforms_integration_test
8.086s clients/syngine/tests/test_client.py::TestClient::test_get_available_models
5.524s clients/fdsn/tests/test_client.py::TestClient::test_dataselect_bulk
4.261s clients/seedlink/tests/test_basic_client.py::TestClient::test_multiple_waveform_requests_with_multiple_info_requests
4.166s clients/fdsn/tests/test_client.py::TestClient::test_iris_example_queries_dataselect_discover_services_false
3.428s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms_bulk
3.361s clients/syngine/tests/test_client.py::TestClient::test_get_waveforms
3.242s clients/fdsn/client.py::obspy.clients.fdsn.client.Client.get_waveforms
3.107s core/tests/test_stream.py::TestStream::test_read_url_via_network
2.806s clients/fdsn/tests/test_client.py::TestClient::test_iris_example_queries_dataselect
2.673s clients/fdsn/tests/test_federator_routing_client.py::TestFederatorRoutingClient::test_get_waveforms_integration_test
2.555s clients/fdsn/tests/test_eidaws_routing_client.py::TestEIDAWSRoutingClient::test_get_stations_integration_test
2.254s clients/fdsn/tests/test_mass_downloader.py::TestDownloadHelper::test_download_method
2.027s clients/syngine/__init__.py::obspy.clients.syngine
1.883s clients/fdsn/tests/test_client.py::TestClient::test_redirection
1.766s clients/fdsn/tests/test_client.py::TestClient::test_redirection_auth
1.751s clients/fdsn/__init__.py::obspy.clients.fdsn
1.504s clients/iris/tests/test_client.py::TestClient::test_evalresp
1.476s clients/earthworm/__init__.py::obspy.clients.earthworm

Warnings (1)

Stage Filename Category Message
runtest /Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/threadexception.py:73 PytestUnhandledThreadExceptionWarning Exception in thread Thread-103 Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1543, in run code, data = download_url( ^^^^^^^^^^ ValueError: not enough values to unpack (expected 2, got 0)