#109212 Report by node localhost covering 1743 tests from 45 modules resulted into 32 errors
Report
- ObsPy version
- 1.1.1
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 143.3 sec
- Report date/time
- Feb. 25, 2020, 6:38 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- localhost
- Processor
- x86_64
- Python Compiler
- GCC 8.3.1 20190507 (Red Hat 8.3.1-4)
- Python Implementation
- CPython
- Python Version
- 3.6.8
- Release
- 4.18.0-147.5.1.el8_1.x86_64
- System
- Linux
- Version
- #1 SMP Wed Feb 5 02:00:39 UTC 2020
Dependencies
- cartopy
- ---
- decorator
- 4.4.1
- flake8
- ---
- future
- 0.18.2
- geographiclib
- ---
- lxml.etree
- 4.5.0
- m2crypto
- ---
- matplotlib
- 3.1.3
- mock
- ---
- mpl_toolkits.basemap
- ---
- numpy
- 1.18.0
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- ---
- pyproj
- ---
- requests
- 2.22.0
- scipy
- 1.4.1
- setuptools
- 45.2.0
- shapefile
- ---
- sqlalchemy
- 1.3.13
Modules (45)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | Not tested | - | - | - | - | - |
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | Not tested | - | - | - | - | - |
obspy.clients.filesystem | - | 6 | 6 | - | 1.24s | - |
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 | 15 | 594 | 567 | 27 | 23.14s | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
obspy.db | - | 9 | 9 | - | 0.12s | - |
obspy.geodetics | - | 18 | 16 | 2 | 0.11s | - |
obspy.imaging | 11 | 76 | 75 | 1 | 24.69s | 16 17 18 19 20 21 22 23 24 25 26 |
obspy.io.ah | - | 5 | 5 | - | 0.08s | - |
obspy.io.arclink | - | 4 | 4 | - | 1.56s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.12s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.06s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.02s | - |
obspy.io.css | - | 7 | 7 | - | 0.70s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.02s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.36s | - |
obspy.io.iaspei | - | 7 | 7 | - | 0.62s | - |
obspy.io.json | - | 4 | 4 | - | 0.03s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 0.42s | - |
obspy.io.kml | - | 3 | 3 | - | 0.15s | - |
obspy.io.mseed | - | 121 | 121 | - | 2.04s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.36s | - |
obspy.io.nied | - | 11 | 11 | - | 0.05s | - |
obspy.io.nlloc | - | 11 | 10 | 1 | 0.12s | - |
obspy.io.nordic | - | 32 | 32 | - | 0.61s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.00s | - |
obspy.io.pde | - | 13 | 13 | - | 0.28s | - |
obspy.io.quakeml | - | 34 | 34 | - | 0.47s | - |
obspy.io.reftek | - | 19 | 19 | - | 0.17s | - |
obspy.io.sac | - | 94 | 94 | - | 0.41s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.07s | - |
obspy.io.seg2 | - | 1 | 1 | - | 0.02s | - |
obspy.io.segy | - | 54 | 54 | - | 0.51s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.09s | - |
obspy.io.seiscomp | - | 43 | 43 | - | 0.69s | - |
obspy.io.sh | - | 19 | 19 | - | 0.21s | - |
obspy.io.shapefile | - | 5 | 1 | 4 | 0.06s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.06s | - |
obspy.io.stationxml | - | 21 | 21 | - | 0.34s | - |
obspy.io.wav | - | 8 | 8 | - | 0.02s | - |
obspy.io.win | - | 2 | 2 | - | 0.09s | - |
obspy.io.xseed | - | 81 | 81 | - | 7.77s | - |
obspy.io.y | - | 5 | 5 | - | 0.01s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.17s | - |
obspy.realtime | - | 22 | 22 | - | 0.42s | - |
obspy.scripts | - | 2 | 2 | - | 0.01s | - |
obspy.signal | 6 | 177 | 175 | 2 | 33.35s | 27 28 29 30 31 32 |
obspy.taup | - | 64 | 58 | 6 | 41.42s | - |
Summary | 32 | 1743 | 1700 | 43 | 143.28s | 32 |
Tracebacks (32)
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_channel.py", line 61, in test_response_plot cha.plot(0.005, outfile=ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/channel.py", line 366, in plot outfile=outfile) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1793, in plot end_stage=end_stage) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1652, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_trace.py", line 2586, in test_dtype_is_not_unnecessarily_changed tr_int32.copy().remove_response(inventory=inv).data.dtype, File "</home/pavan/.local/lib/python3.6/site-packages/decorator.py:decorator-gen-28>", line 2, in remove_response File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 235, in _add_processing_info result = func(*args, **kwargs) File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 2722, in remove_response limit_numpy_fft_cache() File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/misc.py", line 614, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_trace.py", line 1783, in test_processing_info_remove_response_and_sensitivity tr.remove_response() File "</home/pavan/.local/lib/python3.6/site-packages/decorator.py:decorator-gen-28>", line 2, in remove_response File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 235, in _add_processing_info result = func(*args, **kwargs) File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 2722, in remove_response limit_numpy_fft_cache() File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/misc.py", line 614, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_trace.py", line 1733, in test_remove_polynomial_response tr.remove_response() File "</home/pavan/.local/lib/python3.6/site-packages/decorator.py:decorator-gen-28>", line 2, in remove_response File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 235, in _add_processing_info result = func(*args, **kwargs) File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 2722, in remove_response limit_numpy_fft_cache() File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/misc.py", line 614, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_trace.py", line 1712, in test_remove_response tr2.remove_response(pre_filt=(0.1, 0.5, 30, 50)) File "</home/pavan/.local/lib/python3.6/site-packages/decorator.py:decorator-gen-28>", line 2, in remove_response File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 235, in _add_processing_info result = func(*args, **kwargs) File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 2722, in remove_response limit_numpy_fft_cache() File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/misc.py", line 614, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_trace.py", line 2295, in test_remove_response_plot water_level=60, end_stage=None, plot=ic.name) File "</home/pavan/.local/lib/python3.6/site-packages/decorator.py:decorator-gen-28>", line 2, in remove_response File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 235, in _add_processing_info result = func(*args, **kwargs) File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 2722, in remove_response limit_numpy_fft_cache() File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/misc.py", line 614, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_stream.py", line 2237, in test_remove_response tr.remove_response(pre_filt=(0.1, 0.5, 30, 50)) File "</home/pavan/.local/lib/python3.6/site-packages/decorator.py:decorator-gen-28>", line 2, in remove_response File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 235, in _add_processing_info result = func(*args, **kwargs) File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 2722, in remove_response limit_numpy_fft_cache() File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/misc.py", line 614, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_response.py", line 146, in test_response_plot outfile=ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1793, in plot end_stage=end_stage) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1652, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_response.py", line 166, in test_response_plot_degrees plot_degrees=True, outfile=ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1793, in plot end_stage=end_stage) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1652, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_network.py", line 147, in test_response_plot time=t, outfile=ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/network.py", line 656, in plot_response outfile=None) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/channel.py", line 366, in plot outfile=outfile) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1793, in plot end_stage=end_stage) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1652, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_station.py", line 56, in test_response_plot sta.plot(0.05, channel="*[NE]", outfile=ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/station.py", line 487, in plot show=False, outfile=None) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/channel.py", line 366, in plot outfile=outfile) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1793, in plot end_stage=end_stage) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1652, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_station.py", line 76, in test_response_plot_degrees outfile=ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/station.py", line 487, in plot show=False, outfile=None) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/channel.py", line 366, in plot outfile=outfile) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1793, in plot end_stage=end_stage) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1652, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/core/tests/test_inventory.py", line 197, in test_response_plot station="[WR]*", time=t, outfile=ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/inventory.py", line 876, in plot_response outfile=None) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/channel.py", line 366, in plot outfile=outfile) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1793, in plot end_stage=end_stage) File "/usr/local/lib64/python3.6/site-packages/obspy/core/inventory/response.py", line 1652, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/usr/local/lib64/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/usr/lib64/python3.6/doctest.py", line 2199, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.trace.Trace.remove_response File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 1, in remove_response ---------------------------------------------------------------------- File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 42, in obspy.core.trace.Trace.remove_response Failed example: tr.remove_response(inventory=inv) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib64/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.core.trace.Trace.remove_response[4]>", line 1, in <module> tr.remove_response(inventory=inv) # doctest: +ELLIPSIS File "</home/pavan/.local/lib/python3.6/site-packages/decorator.py:decorator-gen-28>", line 2, in remove_response File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 235, in _add_processing_info result = func(*args, **kwargs) File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 2722, in remove_response limit_numpy_fft_cache() File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/misc.py", line 614, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/usr/lib64/python3.6/doctest.py", line 2199, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.stream.Stream.remove_response File "/usr/local/lib64/python3.6/site-packages/obspy/core/stream.py", line 3038, in remove_response ---------------------------------------------------------------------- File "/usr/local/lib64/python3.6/site-packages/obspy/core/stream.py", line 3049, in obspy.core.stream.Stream.remove_response Failed example: st.remove_response(inventory=inv) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib64/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.core.stream.Stream.remove_response[3]>", line 1, in <module> st.remove_response(inventory=inv) # doctest: +ELLIPSIS File "/usr/local/lib64/python3.6/site-packages/obspy/core/stream.py", line 3069, in remove_response tr.remove_response(*args, **kwargs) File "</home/pavan/.local/lib/python3.6/site-packages/decorator.py:decorator-gen-28>", line 2, in remove_response File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 235, in _add_processing_info result = func(*args, **kwargs) File "/usr/local/lib64/python3.6/site-packages/obspy/core/trace.py", line 2722, in remove_response limit_numpy_fft_cache() File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/misc.py", line 614, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/tests/test_source.py", line 35, in test_farfield_with_quiver mt, kind=['beachball', 's_quiver', 'p_quiver'], show=False) File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/source.py", line 134, in plot_radiation_pattern fig, axes, kind = _setup_figure_and_axes(kind, fig=fig) File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/source.py", line 69, in _setup_figure_and_axes nrows, ncols_, i * ncols_ + j + 1, **kwargs)) File "/home/pavan/.local/lib/python3.6/site-packages/matplotlib/figure.py", line 1414, in add_subplot a = subplot_class_factory(projection_class)(self, *args, **kwargs) File "/home/pavan/.local/lib/python3.6/site-packages/matplotlib/axes/_subplots.py", line 69, in __init__ self._axes_class.__init__(self, fig, self.figbox, **kwargs) File "/home/pavan/.local/lib/python3.6/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 101, in __init__ super().__init__(fig, rect, frameon=True, *args, **kwargs) File "/home/pavan/.local/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 509, in __init__ self.update(kwargs) File "/home/pavan/.local/lib/python3.6/site-packages/matplotlib/artist.py", line 974, in update ret = [_update_property(self, k, v) for k, v in props.items()] File "/home/pavan/.local/lib/python3.6/site-packages/matplotlib/artist.py", line 974, in <listcomp> ret = [_update_property(self, k, v) for k, v in props.items()] File "/home/pavan/.local/lib/python3.6/site-packages/matplotlib/artist.py", line 971, in _update_property return func(v) File "/home/pavan/.local/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 1281, in set_aspect 'It is not currently possible to manually set the aspect ' NotImplementedError: It is not currently possible to manually set the aspect on 3D axes
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/tests/test_scan.py", line 71, in test_scan_function_and_scanner_class scan(paths=os.curdir, plot=ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/testing.py", line 510, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: scan.png RMS: 8.132253848886045 Tolerance: 3.0 Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/tests/test_scan.py", line 55, in test_scan_main_method obspy_scan([os.curdir] + ['--output', ic.name]) File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/testing.py", line 510, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: scan.png RMS: 8.132253848886045 Tolerance: 3.0 Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/tests/test_scan.py", line 126, in test_scan_save_load_npz scanner.plot(ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/testing.py", line 510, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: scan.png RMS: 8.132253848886045 Tolerance: 3.0 Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/tests/test_scan.py", line 96, in test_scanner_manually_add_streams scanner.plot(ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/testing.py", line 510, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: scan.png RMS: 8.132253848886045 Tolerance: 3.0 Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/tests/test_ppsd.py", line 44, in test_ppsd_plot fig.savefig(ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/testing.py", line 510, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: ppsd.png RMS: 19.552837816201173 Tolerance: 4.5 Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/tests/test_ppsd.py", line 85, in test_ppsd_plot_cumulative fig.savefig(ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/testing.py", line 510, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: ppsd_cumulative.png RMS: 19.552839520983476 Tolerance: 4.5 Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/tests/test_plot.py", line 44, in test_plot obspy_plot(['--outfile', ic.name] + all_files) File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/testing.py", line 510, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: plot.png RMS: 11.02481020244793 Tolerance: 3.0 Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/tests/test_plot.py", line 60, in test_plot_no_merge all_files) File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/testing.py", line 510, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: plot_nomerge.png RMS: 9.1898904599928 Tolerance: 3.0 Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/tests/test_waveform.py", line 216, in test_plot_multiple_traces st.plot(outfile=ic.name, automerge=False) File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/testing.py", line 510, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: waveform_1_trace.png RMS: 17.1411335681162 Tolerance: 3.0 Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/imaging/tests/test_waveform.py", line 255, in test_plot_with_labels st.plot(outfile=ic.name) File "/usr/local/lib64/python3.6/site-packages/obspy/core/util/testing.py", line 510, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: waveform_labels.png RMS: 10.084385289479307 Tolerance: 3.0 Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 723, in test_exception_reading_newer_npz items = {key: data[key] for key in data.files} File "/usr/local/lib64/python3.6/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 723, in <dictcomp> items = {key: data[key] for key in data.files} File "/usr/local/lib64/python3.6/site-packages/numpy/lib/npyio.py", line 262, in __getitem__ pickle_kwargs=self.pickle_kwargs) File "/usr/local/lib64/python3.6/site-packages/numpy/lib/format.py", line 739, in read_array raise ValueError("Object arrays cannot be loaded when " ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 223, in test_ppsd ppsd_loaded = PPSD.load_npz(filename) File "/usr/local/lib64/python3.6/site-packages/obspy/signal/spectral_estimation.py", line 1257, in load_npz return _load(data) File "/usr/local/lib64/python3.6/site-packages/obspy/signal/spectral_estimation.py", line 1242, in _load data_ = data[key] File "/usr/local/lib64/python3.6/site-packages/numpy/lib/npyio.py", line 262, in __getitem__ pickle_kwargs=self.pickle_kwargs) File "/usr/local/lib64/python3.6/site-packages/numpy/lib/format.py", line 739, in read_array raise ValueError("Object arrays cannot be loaded when " ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 564, in test_ppsd_add_npz ppsd = PPSD.load_npz(tf1.name, metadata=None) File "/usr/local/lib64/python3.6/site-packages/obspy/signal/spectral_estimation.py", line 1257, in load_npz return _load(data) File "/usr/local/lib64/python3.6/site-packages/obspy/signal/spectral_estimation.py", line 1242, in _load data_ = data[key] File "/usr/local/lib64/python3.6/site-packages/numpy/lib/npyio.py", line 262, in __getitem__ pickle_kwargs=self.pickle_kwargs) File "/usr/local/lib64/python3.6/site-packages/numpy/lib/format.py", line 739, in read_array raise ValueError("Object arrays cannot be loaded when " ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 410, in test_ppsd_save_and_load_npz ppsd_loaded = PPSD.load_npz(filename, metadata=paz) File "/usr/local/lib64/python3.6/site-packages/obspy/signal/spectral_estimation.py", line 1257, in load_npz return _load(data) File "/usr/local/lib64/python3.6/site-packages/obspy/signal/spectral_estimation.py", line 1242, in _load data_ = data[key] File "/usr/local/lib64/python3.6/site-packages/numpy/lib/npyio.py", line 262, in __getitem__ pickle_kwargs=self.pickle_kwargs) File "/usr/local/lib64/python3.6/site-packages/numpy/lib/format.py", line 739, in read_array raise ValueError("Object arrays cannot be loaded when " ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 659, in test_ppsd_temporal_plot ppsd = PPSD.load_npz(self.example_ppsd_npz) File "/usr/local/lib64/python3.6/site-packages/obspy/signal/spectral_estimation.py", line 1257, in load_npz return _load(data) File "/usr/local/lib64/python3.6/site-packages/obspy/signal/spectral_estimation.py", line 1242, in _load data_ = data[key] File "/usr/local/lib64/python3.6/site-packages/numpy/lib/npyio.py", line 262, in __getitem__ pickle_kwargs=self.pickle_kwargs) File "/usr/local/lib64/python3.6/site-packages/numpy/lib/format.py", line 739, in read_array raise ValueError("Object arrays cannot be loaded when " ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last): File "/usr/local/lib64/python3.6/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 352, in test_ppsd_w_iris_against_obspy_results results_paz = PPSD.load_npz(filename_paz, metadata=None) File "/usr/local/lib64/python3.6/site-packages/obspy/signal/spectral_estimation.py", line 1257, in load_npz return _load(data) File "/usr/local/lib64/python3.6/site-packages/obspy/signal/spectral_estimation.py", line 1242, in _load data_ = data[key] File "/usr/local/lib64/python3.6/site-packages/numpy/lib/npyio.py", line 262, in __getitem__ pickle_kwargs=self.pickle_kwargs) File "/usr/local/lib64/python3.6/site-packages/numpy/lib/format.py", line 739, in read_array raise ValueError("Object arrays cannot be loaded when " ValueError: Object arrays cannot be loaded when allow_pickle=False
Skipped tests (43)
Submodule | Test | Skip message |
---|---|---|
core | test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) | basemap not installed |
core | test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | No code formatting tests for release builds |
core | test_use_obspy_deprecation_warning (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | No code formatting tests for release builds |
core | test_future_imports_in_every_file (obspy.core.tests.test_code_formatting.FutureUsageTestCase) | No code formatting tests for release builds |
core | test_no_pyplot_import_in_any_file (obspy.core.tests.test_code_formatting.MatplotlibBackendUsageTestCase) | No code formatting tests for release builds |
core | test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
geodetics | test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
geodetics | test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
imaging | test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) | Currently broken until further review. |
io.nlloc | test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) | pyproj not installed |
io.shapefile | test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
signal | test_schema_validation (obspy.signal.tests.test_quality_control.QualityControlTestCase) | Test requires the jsonschema module |
signal | test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) | matplotlib >= 3 shifts labels |
taup | test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) | Module geographiclib is not installed |
taup | test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) | test needs geographiclib >= 1.34 |
taup | test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) | test needs geographiclib >= 1.34 |
taup | test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) | Module geographiclib is not installed or too old. |
taup | test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) | Module geographiclib is not installed or too old. |
taup | test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) | test needs geographiclib >= 1.34 |
Slowest tests (20)
Runtime | Test |
---|---|
6.252s | __init__ (obspy.taup) |
5.546s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
4.921s | read (obspy.core.stream) |
4.390s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
4.070s | test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase) |
3.963s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
3.478s | plot_tfr (obspy.signal.tf_misfit) |
2.852s | plot_travel_times (obspy.taup.tau) |
2.733s | test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase) |
2.561s | test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase) |
2.284s | test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |
2.197s | test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase) |
2.194s | test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase) |
2.068s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
1.955s | test_read_and_write (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) |
1.510s | test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase) |
1.349s | test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |
1.344s | test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase) |
1.325s | test_plot_travel_times_convenience (obspy.taup.tests.test_plotting.TauPyPlottingTestCase) |
1.312s | test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase) |