#128040 Report by node gh-actions covering 1989 tests from 61 modules resulted into 11 errors

Report

ObsPy version
0.0.0.dev+0.gd7a8ee2e44
GitHub Pull Request
https://github.com/obspy/obspy/pull/30
Report file
JSON document
Total runtime
524.6 sec
Report date/time
Oct. 10, 2022, 1:45 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
i386
Python Compiler
Clang 12.0.1
Python Implementation
CPython
Python Version
3.8.13
Release
20.6.0
System
Darwin
Version
Darwin Kernel Version 20.6.0: Mon Aug 29 04:31:06 PDT 2022; root:xnu-7195.141.39~2/RELEASE_X86_64

Dependencies

cartopy
---
decorator
5.1.1
flake8
---
geographiclib
---
lxml
4.9.1
matplotlib
3.6.0
numpy
1.23.3
obspy
0.0.0.dev+0.gd7a8ee2e44
pyproj
1.9.6
requests
2.28.1
scipy
1.9.1
setuptools
65.4.1
shapefile
---
sqlalchemy
1.4.41

Modules (61)

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

Tracebacks (11)

2333
2334 .. rubric:: Example
2335
2336 >>> st = read()
2337 >>> print(st) # doctest: +ELLIPSIS
2338 3 Trace(s) in Stream:
2339 BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2340 BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2341 BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2342 >>> st.resample(10.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: ValueError('Unknown window type.')
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.resample[2]>", line 1, in <module>
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2351, in resample
tr.resample(sampling_rate, window=window,
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
/Users/runner/work/obspy/obspy/obspy/core/stream.py:2342: UnexpectedException
1687 the signal is assumed to be periodic.
1688
1689 .. rubric:: Example
1690
1691 >>> tr = Trace(data=np.array([0.5, 0, 0.5, 1, 0.5, 0, 0.5, 1]))
1692 >>> len(tr)
1693 8
1694 >>> tr.stats.sampling_rate
1695 1.0
1696 >>> tr.resample(4.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: ValueError('Unknown window type.')
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.resample[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
/Users/runner/work/obspy/obspy/obspy/core/trace.py:1696: UnexpectedException
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_stream.py", line 2245, in test_method_chaining
temp = st.trim(st[0].stats.starttime + 1, st[0].stats.starttime + 10)\
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2351, in resample
tr.resample(sampling_rate, window=window,
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1640, in test_resample
tr_2 = tr.copy().resample(sampling_rate=50.0)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1667, in test_method_chaining
temp_tr = tr.trim(tr.stats.starttime + 1)\
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1845, in test_processing_information
tr.resample(tr.stats.sampling_rate / 2.0)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 2119, in test_resample_new
tr.resample(0.5, window='hanning', no_filter=True)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 2544, in test_dtype_is_not_unnecessarily_changed
assert tr_int32.copy().resample(2.0).data.dtype == np.float64
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 2717, in test_resample_short_traces
tr.resample(30)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_waveform_plugins.py", line 220, in test_is_format
assert len(paths) > 0, msg + '\n '.join(all_paths)
AssertionError: Test data directories do not exist:
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/ah/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/css/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/dmx/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/gcf/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/gse2/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/gse2/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/kinemetrics/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/nied/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/mseed/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/css/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/pdas/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/core/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/sh/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/reftek/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/rg16/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/sac/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/sac/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/seg2/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/segy/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/seisan/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/sh/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/ascii/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/segy/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/ascii/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/wav/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/win/tests/data
/Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/obspy/io/y/tests/data
assert 0 > 0
+ where 0 = len({})
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_spectral_estimation.py", line 703, in test_issue1216
assert len(w) == 2
AssertionError: assert 4 == 2
+ where 4 = len([<warnings.WarningMessage object at 0x7f7f13850d90>, <warnings.WarningMessage object at 0x7f7f13850ca0>, <warnings.WarningMessage object at 0x7f7f138619d0>, <warnings.WarningMessage object at 0x7f7f13861640>])

Skipped tests (44)

Submodule Test Skip message
core obspy/core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
core obspy/core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps Skipped: unsupported proj4 library
core obspy/core/tests/test_event.py::TestBasemap::test_catalog_plot_global Skipped: unsupported proj4 library
core obspy/core/tests/test_event.py::TestBasemap::test_catalog_plot_ortho Skipped: basemap not installed
core obspy/core/tests/test_event.py::TestBasemap::test_catalog_plot_ortho_longitude_wrap Skipped: basemap not installed
core obspy/core/tests/test_event.py::TestBasemap::test_catalog_plot_local Skipped: basemap not installed
core obspy/core/tests/test_event.py::TestBasemap::test_plot_catalog_before_1900 Skipped: basemap not installed
core obspy/core/tests/test_network.py::TestNetworkBasemap::test_location_plot_global Skipped: unsupported proj4 library
core obspy/core/tests/test_network.py::TestNetworkBasemap::test_location_plot_ortho Skipped: no or invalid basemap installation
core obspy/core/tests/test_network.py::TestNetworkBasemap::test_location_plot_local Skipped: no or invalid basemap installation
core obspy/core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global Skipped: cartopy not installed
core obspy/core/tests/test_network.py::TestNetworkCartopy::test_location_plot_ortho Skipped: cartopy not installed
core obspy/core/tests/test_network.py::TestNetworkCartopy::test_location_plot_local Skipped: cartopy not installed
core.util obspy/core/util/misc.py::obspy.core.util.misc.CatchOutput Skipped: all tests skipped by +SKIP option
core.util obspy/core/util/misc.py::obspy.core.util.misc.SuppressOutput Skipped: all tests skipped by +SKIP option
core.util obspy/core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory Skipped: all tests skipped by +SKIP option
geodetics obspy/geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_with_geographiclib Skipped: Module geographiclib is not installed
geodetics obspy/geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_issue_375 Skipped: Module geographiclib is not installed
imaging obspy/imaging/tests/test_mopad_script.py::TestMopad::test_script_plot Skipped: Currently broken until further review.
io.ascii obspy/io/ascii/core.py::obspy.io.ascii.core._is_slist Skipped: all tests skipped by +SKIP option
io.ascii obspy/io/ascii/core.py::obspy.io.ascii.core._is_tspair Skipped: all tests skipped by +SKIP option
io.nordic obspy/io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor Skipped: all tests skipped by +SKIP option
io.nordic obspy/io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag Skipped: all tests skipped by +SKIP option
io.pde obspy/io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr Skipped: all tests skipped by +SKIP option
io.quakeml obspy/io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml Skipped: all tests skipped by +SKIP option
io.seisan obspy/io/seisan/core.py::obspy.io.seisan.core._is_seisan Skipped: all tests skipped by +SKIP option
io.sh obspy/io/sh/core.py::obspy.io.sh.core._is_asc Skipped: all tests skipped by +SKIP option
io.sh obspy/io/sh/core.py::obspy.io.sh.core._is_q Skipped: all tests skipped by +SKIP option
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile_with_extra_field Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile_with_extra_field Skipped: pyshp not installed
io.wav obspy/io/wav/core.py::obspy.io.wav.core._is_wav Skipped: all tests skipped by +SKIP option
io.y obspy/io/y/core.py::obspy.io.y.core._is_y Skipped: all tests skipped by +SKIP option
signal obspy/signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata Skipped: all tests skipped by +SKIP option
signal obspy/signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_spectrogram_plot Skipped: matplotlib >= 3 shifts labels
taup obspy/taup/tests/test_ray_paths.py::TestRayPathCalculations::test_compute_ray_paths Skipped: test needs geographiclib >= 1.34
taup obspy/taup/tests/test_tau.py::TestTauPyModel::test_p_iasp91_geo_manual Skipped: Module geographiclib is not installed
taup obspy/taup/tests/test_tau.py::TestTauPyModel::test_pierce_p_iasp91_geo Skipped: test needs geographiclib >= 1.34
taup obspy/taup/tests/test_tau.py::TestTauPyModel::test_single_path_geo_iasp91 Skipped: test needs geographiclib >= 1.34
taup obspy/taup/tests/test_taup_geo.py::TestTaupGeo::test_path_geo Skipped: Module geographiclib is not installed or too old.
taup obspy/taup/tests/test_taup_geo.py::TestTaupGeo::test_path_resampling Skipped: Module geographiclib is not installed or too old.

Slowest tests (20)

Runtime Test
30.446s obspy/signal/tests/test_rotate.py::RotateTestCase::test_rotate2zne_against_lqt_different_combinations
22.264s obspy/taup/__init__.py::obspy.taup
18.788s obspy/taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
17.704s obspy/io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
11.878s obspy/taup/tau.py::obspy.taup.tau.plot_travel_times
11.171s obspy/taup/tests/test_tau.py::TestTauPyModel::test_regional_models
10.882s obspy/taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
8.847s obspy/signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
7.157s obspy/signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
6.452s obspy/signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
5.445s obspy/core/tests/test_trace.py::TestTrace::test_remove_response_plot
5.270s obspy/io/mseed/tests/test_mseed_special_issues.py::MSEEDSpecialIssueTestCase::test_infinite_loop
5.134s obspy/taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
5.054s obspy/imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces
4.330s obspy/taup/tau.py::obspy.taup.tau.TauPyModel.__init__
4.243s obspy/taup/tests/test_tau.py::TestTauPyModel::test_iasp91
4.191s obspy/io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
4.123s obspy/taup/tests/test_taup_plotting.py::TestTauPyPlotting::test_spherical_many_phases
3.882s obspy/taup/tests/test_tau.py::TestTauPyModel::test_ak135
3.744s obspy/imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces_huge

Warnings (36)

Stage Filename Category Message
runtest /Users/runner/work/obspy/obspy/obspy/io/kml/core.py:65 PendingDeprecationWarning The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
runtest /Users/runner/work/obspy/obspy/obspy/signal/invsim.py:375 DeprecationWarning Please use `zpk2tf` from the `scipy.signal` namespace, the `scipy.signal.ltisys` namespace is deprecated.
runtest /Users/runner/work/obspy/obspy/obspy/taup/tau.py:244 UserWarning Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
runtest /Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py:2108 MatplotlibDeprecationWarning Auto-removal of grids by pcolor() and pcolormesh() is deprecated since 3.5 and will be removed two minor releases later; please call grid(False) first.
runtest /Users/runner/work/obspy/obspy/obspy/taup/tau.py:975 UserWarning Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
runtest /Users/runner/work/obspy/obspy/obspy/taup/tau.py:340 RuntimeWarning More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`). Consider using `matplotlib.pyplot.close()`.
runtest /Users/runner/work/obspy/obspy/obspy/imaging/source.py:337 PendingDeprecationWarning The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
runtest /Users/runner/work/obspy/obspy/obspy/io/nordic/utils.py:184 UserWarning Lines of type I have not been implemented yet, please submit a development request
runtest /Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py:2045 UserWarning Attempting to set identical low and high xlims makes transformation singular; automatically expanding.
runtest /Users/runner/work/obspy/obspy/obspy/imaging/source.py:197 UserWarning Tight layout not applied. The left and right margins cannot be made large enough to accommodate all axes decorations.
runtest /Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py:1544 UserWarning 4/4 segments omitted in file '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/obspy-nmah0ftt.npz' (time ranges already covered).
runtest /Users/runner/work/obspy/obspy/obspy/core/event/resourceid.py:348 UserWarning The object with identity of: 140185408415344 and id of obspy.org/tests/test_resource_doc_example no longer exists, trying to find an object with the same id
runtest /Users/runner/work/obspy/obspy/obspy/io/seiscomp/inventory.py:496 UserWarning Clock drift division by sample rate of 0: using sec/sample
runtest /Users/runner/work/obspy/obspy/obspy/imaging/source.py:330 PendingDeprecationWarning The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
runtest /Users/runner/work/obspy/obspy/obspy/core/event/resourceid.py:622 UserWarning overwritting the id attribute of a ResourceIdentifierobject is very dangerous and will raise an exception in a future version of obspy
runtest /Users/runner/work/obspy/obspy/obspy/core/event/resourceid.py:348 UserWarning The object with identity of: 140185521884656 and id of smi:local/4babc828-64b4-4395-b0f6-1207206f0532 no longer exists, trying to find an object with the same id
runtest /Users/runner/work/obspy/obspy/obspy/imaging/waveform.py:1282 PendingDeprecationWarning The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
collect /Users/runner/work/obspy/obspy/obspy/imaging/maps.py:35 UserWarning Cartopy not installed, map plots will not work.
runtest /Users/runner/work/obspy/obspy/obspy/taup/tau.py:513 UserWarning Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
runtest /Users/runner/work/obspy/obspy/obspy/imaging/source.py:373 PendingDeprecationWarning The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
runtest /Users/runner/work/obspy/obspy/obspy/taup/tau_branch.py:489 UserWarning Resizing a TauP array inplace failed due to the existence of other references to the array, creating a new array. See Obspy #2280.
runtest /Users/runner/miniconda3/envs/test3.8/lib/python3.8/site-packages/numpy/matrixlib/defmatrix.py:69 PendingDeprecationWarning the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
collect /Users/runner/work/obspy/obspy/obspy/taup/tau.py:25 PendingDeprecationWarning The get_cmap function will be deprecated in a future version. Use ``matplotlib.colormaps[name]`` instead.
runtest <doctest obspy.signal._sosfilt._sosfilt[13]>:1 UserWarning Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
runtest /Users/runner/work/obspy/obspy/obspy/signal/cross_correlation.py:985 UserWarning Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
runtest /Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py:437 UserWarning Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
runtest /Users/runner/work/obspy/obspy/obspy/core/utcdatetime.py:1084 ObsPyDeprecationWarning Comparing UTCDateTime objects of different precision is not defined will raise an Exception in a future version of obspy
runtest /Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py:2045 UserWarning Attempt to set non-positive xlim on a log-scaled axis will be ignored.
runtest /Users/runner/work/obspy/obspy/obspy/core/event/resourceid.py:348 UserWarning The object with identity of: 140185408414960 and id of obspy.org/tests/test_resource_doc_example no longer exists, trying to find an object with the same id
runtest /Users/runner/work/obspy/obspy/obspy/imaging/beachball.py:246 RuntimeWarning More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`). Consider using `matplotlib.pyplot.close()`.
runtest /Users/runner/work/obspy/obspy/obspy/imaging/beachball.py:275 UserWarning Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
runtest /Users/runner/work/obspy/obspy/obspy/taup/tau.py:1084 UserWarning Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
runtest /Users/runner/work/obspy/obspy/obspy/io/seiscomp/inventory.py:514 UserWarning Something went hopelessly wrong, found sampling-rate of 0!
collect /Users/runner/work/obspy/obspy/obspy/clients/arclink/__init__.py:34 ObsPyDeprecationWarning ArcLink protocol has been officially deprecated and some main servers have been shut down already. Please consider using other methods like FDSN web services to fetch data. ArcLink functionality is now untested in ObsPy.
runtest <doctest obspy.core.event.resourceid.ResourceIdentifier[37]>:1 ObsPyDeprecationWarning Converts the current ID to a valid QuakeML URI. This method is deprecated, use :meth:`get_quakeml_id` instead. Only an invalid QuakeML ResourceIdentifier string it will be converted to a valid one. Otherwise nothing will happen but after calling this method the user can be sure that the ID is a valid QuakeML URI. The resulting ID will be of the form smi:authority_id/prefix/resource_id :type authority_id: str, optional :param authority_id: The base url of the resulting string. Defaults to ``"local"``.
collect /Users/runner/work/obspy/obspy/obspy/signal/invsim.py:375 DeprecationWarning Please use `zpk2tf` from the `scipy.signal` namespace, the `scipy.signal.ltisys` namespace is deprecated.