#127054 Report by node geos-l-0622 covering 2010 tests from 60 modules resulted into 17 errors

Report

ObsPy version
1.3.0
GitHub Pull Request
-
Report file
JSON document
Total runtime
213.3 sec
Report date/time
Aug. 17, 2022, 4:18 a.m.

System / Python

Architecture
64bit
Machine
AMD64
Node
geos-l-0622
Processor
Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
Python Compiler
MSC v.1929 64 bit (AMD64)
Python Implementation
CPython
Python Version
3.10.5
Release
10
System
Windows
Version
10.0.19043

Dependencies

cartopy
0.20.3
decorator
5.1.1
flake8
---
geographiclib
---
lxml
4.9.1
matplotlib
3.5.3
numpy
1.23.2
obspy
1.3.0
pyproj
3.3.1
pytest
7.1.2
pytest-json-report
1.5.0
requests
2.28.1
scipy
1.9.0
setuptools
65.0.2
shapefile
---
sqlalchemy
1.4.40

Modules (60)

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

Tracebacks (17)

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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.resample[2]>", line 1, in <module>
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\stream.py", line 2351, in resample
tr.resample(sampling_rate, window=window,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\util\decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\scipy\signal\windows\_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.resample[3]>", line 1, in <module>
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\util\decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\scipy\signal\windows\_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py:1696: UnexpectedException
Traceback (most recent call last):
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_event.py", line 120, in test_plot_farfield_without_quiver_with_maps
ev.plot(kind=[['global'], ['ortho', 'beachball'],
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\event\event.py", line 273, in plot
plot_radiation_pattern(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\imaging\source.py", line 196, in plot_radiation_pattern
fig.canvas.draw()
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 436, in draw
self.figure.draw(self.renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 74, in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 2845, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 558, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\axes\_base.py", line 3091, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\feature_artist.py", line 147, in draw
extent = ax.get_extent(feature_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 814, in get_extent
p = self._get_extent_geom(crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 859, in _get_extent_geom
geom_in_crs = proj.project_geometry(geom_in_src_proj,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 805, in project_geometry
return getattr(self, method_name)(geometry, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 948, in _project_polygon
p_rings, p_mline = self._project_linear_ring(src_ring, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 824, in _project_linear_ring
multi_line_string = cartopy.trace.project_linear(linear_ring,
File "lib/cartopy/trace.pyx", line 628, in cartopy.trace.project_linear
File "lib/cartopy/trace.pyx", line 100, in cartopy.trace.geos_from_shapely
TypeError: an integer is required
Traceback (most recent call last):
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_inventory.py", line 699, in test_location_plot_global
inv.plot(method='cartopy', outfile=image_path)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\inventory\inventory.py", line 1031, in plot
fig.savefig(outfile)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 3058, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 2319, in print_figure
result = print_method(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 1648, in wrapper
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\_api\deprecation.py", line 415, in wrapper
return func(*inner_args, **inner_kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 540, in print_png
FigureCanvasAgg.draw(self)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 436, in draw
self.figure.draw(self.renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 74, in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 2845, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 558, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\axes\_base.py", line 3091, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\feature_artist.py", line 147, in draw
extent = ax.get_extent(feature_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 814, in get_extent
p = self._get_extent_geom(crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 859, in _get_extent_geom
geom_in_crs = proj.project_geometry(geom_in_src_proj,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 805, in project_geometry
return getattr(self, method_name)(geometry, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 948, in _project_polygon
p_rings, p_mline = self._project_linear_ring(src_ring, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 824, in _project_linear_ring
multi_line_string = cartopy.trace.project_linear(linear_ring,
File "lib/cartopy/trace.pyx", line 628, in cartopy.trace.project_linear
File "lib/cartopy/trace.pyx", line 100, in cartopy.trace.geos_from_shapely
TypeError: an integer is required
Traceback (most recent call last):
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_inventory.py", line 707, in test_location_plot_ortho
inv.plot(method='cartopy', projection='ortho', resolution='c',
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\inventory\inventory.py", line 1031, in plot
fig.savefig(outfile)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 3058, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 2319, in print_figure
result = print_method(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 1648, in wrapper
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\_api\deprecation.py", line 415, in wrapper
return func(*inner_args, **inner_kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 540, in print_png
FigureCanvasAgg.draw(self)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 436, in draw
self.figure.draw(self.renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 74, in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 2845, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 558, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\axes\_base.py", line 3091, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\feature_artist.py", line 147, in draw
extent = ax.get_extent(feature_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 814, in get_extent
p = self._get_extent_geom(crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 859, in _get_extent_geom
geom_in_crs = proj.project_geometry(geom_in_src_proj,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 805, in project_geometry
return getattr(self, method_name)(geometry, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 948, in _project_polygon
p_rings, p_mline = self._project_linear_ring(src_ring, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 824, in _project_linear_ring
multi_line_string = cartopy.trace.project_linear(linear_ring,
File "lib/cartopy/trace.pyx", line 628, in cartopy.trace.project_linear
File "lib/cartopy/trace.pyx", line 100, in cartopy.trace.geos_from_shapely
TypeError: an integer is required
Traceback (most recent call last):
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_inventory.py", line 717, in test_location_plot_local
inv.plot(method='cartopy', projection='local', resolution='50m',
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\inventory\inventory.py", line 1031, in plot
fig.savefig(outfile)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 3058, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 2319, in print_figure
result = print_method(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 1648, in wrapper
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\_api\deprecation.py", line 415, in wrapper
return func(*inner_args, **inner_kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 540, in print_png
FigureCanvasAgg.draw(self)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 436, in draw
self.figure.draw(self.renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 74, in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 2845, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 558, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\axes\_base.py", line 3091, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\feature_artist.py", line 147, in draw
extent = ax.get_extent(feature_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 814, in get_extent
p = self._get_extent_geom(crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 859, in _get_extent_geom
geom_in_crs = proj.project_geometry(geom_in_src_proj,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 805, in project_geometry
return getattr(self, method_name)(geometry, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 948, in _project_polygon
p_rings, p_mline = self._project_linear_ring(src_ring, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 824, in _project_linear_ring
multi_line_string = cartopy.trace.project_linear(linear_ring,
File "lib/cartopy/trace.pyx", line 628, in cartopy.trace.project_linear
File "lib/cartopy/trace.pyx", line 100, in cartopy.trace.geos_from_shapely
TypeError: an integer is required
Traceback (most recent call last):
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_inventory.py", line 729, in test_combined_station_event_plot
cat.plot(outfile=image_path, fig=fig)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\event\catalog.py", line 759, in plot
fig.savefig(outfile)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 3058, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 2319, in print_figure
result = print_method(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 1648, in wrapper
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\_api\deprecation.py", line 415, in wrapper
return func(*inner_args, **inner_kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 540, in print_png
FigureCanvasAgg.draw(self)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 436, in draw
self.figure.draw(self.renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 74, in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 2845, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 558, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\axes\_base.py", line 3091, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\feature_artist.py", line 147, in draw
extent = ax.get_extent(feature_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 814, in get_extent
p = self._get_extent_geom(crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 859, in _get_extent_geom
geom_in_crs = proj.project_geometry(geom_in_src_proj,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 805, in project_geometry
return getattr(self, method_name)(geometry, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 948, in _project_polygon
p_rings, p_mline = self._project_linear_ring(src_ring, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 824, in _project_linear_ring
multi_line_string = cartopy.trace.project_linear(linear_ring,
File "lib/cartopy/trace.pyx", line 628, in cartopy.trace.project_linear
File "lib/cartopy/trace.pyx", line 100, in cartopy.trace.geos_from_shapely
TypeError: an integer is required
Traceback (most recent call last):
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_network.py", line 324, in test_location_plot_global
net.plot(method='cartopy', outfile=image_path)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\inventory\network.py", line 632, in plot
fig.savefig(outfile)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 3058, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 2319, in print_figure
result = print_method(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 1648, in wrapper
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\_api\deprecation.py", line 415, in wrapper
return func(*inner_args, **inner_kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 540, in print_png
FigureCanvasAgg.draw(self)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 436, in draw
self.figure.draw(self.renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 74, in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 2845, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 558, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\axes\_base.py", line 3091, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\feature_artist.py", line 147, in draw
extent = ax.get_extent(feature_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 814, in get_extent
p = self._get_extent_geom(crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 859, in _get_extent_geom
geom_in_crs = proj.project_geometry(geom_in_src_proj,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 805, in project_geometry
return getattr(self, method_name)(geometry, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 948, in _project_polygon
p_rings, p_mline = self._project_linear_ring(src_ring, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 824, in _project_linear_ring
multi_line_string = cartopy.trace.project_linear(linear_ring,
File "lib/cartopy/trace.pyx", line 628, in cartopy.trace.project_linear
File "lib/cartopy/trace.pyx", line 100, in cartopy.trace.geos_from_shapely
TypeError: an integer is required
Traceback (most recent call last):
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_network.py", line 332, in test_location_plot_ortho
net.plot(method='cartopy', projection='ortho', resolution='c',
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\inventory\network.py", line 632, in plot
fig.savefig(outfile)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 3058, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 2319, in print_figure
result = print_method(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 1648, in wrapper
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\_api\deprecation.py", line 415, in wrapper
return func(*inner_args, **inner_kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 540, in print_png
FigureCanvasAgg.draw(self)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 436, in draw
self.figure.draw(self.renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 74, in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 2845, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 558, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\axes\_base.py", line 3091, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\feature_artist.py", line 147, in draw
extent = ax.get_extent(feature_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 814, in get_extent
p = self._get_extent_geom(crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 859, in _get_extent_geom
geom_in_crs = proj.project_geometry(geom_in_src_proj,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 805, in project_geometry
return getattr(self, method_name)(geometry, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 948, in _project_polygon
p_rings, p_mline = self._project_linear_ring(src_ring, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 824, in _project_linear_ring
multi_line_string = cartopy.trace.project_linear(linear_ring,
File "lib/cartopy/trace.pyx", line 628, in cartopy.trace.project_linear
File "lib/cartopy/trace.pyx", line 100, in cartopy.trace.geos_from_shapely
TypeError: an integer is required
Traceback (most recent call last):
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_network.py", line 342, in test_location_plot_local
net.plot(method='cartopy', projection='local', resolution='50m',
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\inventory\network.py", line 632, in plot
fig.savefig(outfile)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 3058, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 2319, in print_figure
result = print_method(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backend_bases.py", line 1648, in wrapper
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\_api\deprecation.py", line 415, in wrapper
return func(*inner_args, **inner_kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 540, in print_png
FigureCanvasAgg.draw(self)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\backends\backend_agg.py", line 436, in draw
self.figure.draw(self.renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 74, in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\figure.py", line 2845, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 558, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\axes\_base.py", line 3091, in draw
mimage._draw_list_compositing_images(
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\matplotlib\artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\feature_artist.py", line 147, in draw
extent = ax.get_extent(feature_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 814, in get_extent
p = self._get_extent_geom(crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\mpl\geoaxes.py", line 859, in _get_extent_geom
geom_in_crs = proj.project_geometry(geom_in_src_proj,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 805, in project_geometry
return getattr(self, method_name)(geometry, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 948, in _project_polygon
p_rings, p_mline = self._project_linear_ring(src_ring, src_crs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\cartopy\crs.py", line 824, in _project_linear_ring
multi_line_string = cartopy.trace.project_linear(linear_ring,
File "lib/cartopy/trace.pyx", line 628, in cartopy.trace.project_linear
File "lib/cartopy/trace.pyx", line 100, in cartopy.trace.geos_from_shapely
TypeError: an integer is required
Traceback (most recent call last):
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_stream.py", line 2247, in test_method_chaining
.resample(st[0].stats.sampling_rate / 2)\
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\stream.py", line 2351, in resample
tr.resample(sampling_rate, window=window,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\util\decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_trace.py", line 1640, in test_resample
tr_2 = tr.copy().resample(sampling_rate=50.0)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\util\decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_trace.py", line 1678, in test_method_chaining
.resample(tr.stats.sampling_rate / 2.0)\
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\util\decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_trace.py", line 1845, in test_processing_information
tr.resample(tr.stats.sampling_rate / 2.0)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\util\decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_trace.py", line 2119, in test_resample_new
tr.resample(0.5, window='hanning', no_filter=True)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\util\decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\util\decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\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 "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\tests\test_trace.py", line 2717, in test_resample_short_traces
tr.resample(30)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\util\decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "C:\Users\ebreard\Anaconda3\envs\obspy\lib\site-packages\scipy\signal\windows\_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.

Skipped tests (27)

Submodule Test Skip message
core core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.CatchOutput Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.SuppressOutput Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory Skipped: all tests skipped by +SKIP option
geodetics geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_with_geographiclib Skipped: Module geographiclib is not installed
geodetics geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_issue_375 Skipped: Module geographiclib is not installed
imaging imaging/tests/test_mopad_script.py::TestMopad::test_script_plot Skipped: Currently broken until further review.
io.ascii io/ascii/core.py::obspy.io.ascii.core._is_slist Skipped: all tests skipped by +SKIP option
io.ascii io/ascii/core.py::obspy.io.ascii.core._is_tspair Skipped: all tests skipped by +SKIP option
io.nordic io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor Skipped: all tests skipped by +SKIP option
io.nordic io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag Skipped: all tests skipped by +SKIP option
io.pde io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr Skipped: all tests skipped by +SKIP option
io.quakeml io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml Skipped: all tests skipped by +SKIP option
io.seisan io/seisan/core.py::obspy.io.seisan.core._is_seisan Skipped: all tests skipped by +SKIP option
io.sh io/sh/core.py::obspy.io.sh.core._is_asc Skipped: all tests skipped by +SKIP option
io.sh io/sh/core.py::obspy.io.sh.core._is_q Skipped: all tests skipped by +SKIP option
io.wav io/wav/core.py::obspy.io.wav.core._is_wav Skipped: all tests skipped by +SKIP option
io.y io/y/core.py::obspy.io.y.core._is_y Skipped: all tests skipped by +SKIP option
signal signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata Skipped: all tests skipped by +SKIP option
signal signal/tests/test_invsim.py::InvSimTestCase::test_evalresp_file_like_object Skipped: unreproducible test fail encountered on Appveyor sometimes.
signal signal/tests/test_quality_control.py::QualityControlTestCase::test_schema_validation Skipped: Test requires the jsonschema module
taup taup/tests/test_ray_paths.py::TestRayPathCalculations::test_compute_ray_paths Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_tau.py::TestTauPyModel::test_p_iasp91_geo_manual Skipped: Module geographiclib is not installed
taup taup/tests/test_tau.py::TestTauPyModel::test_pierce_p_iasp91_geo Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_tau.py::TestTauPyModel::test_single_path_geo_iasp91 Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_taup_geo.py::TestTaupGeo::test_path_geo Skipped: Module geographiclib is not installed or too old.
taup taup/tests/test_taup_geo.py::TestTaupGeo::test_path_resampling Skipped: Module geographiclib is not installed or too old.

Slowest tests (20)

Runtime Test
6.773s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
6.637s taup/__init__.py::obspy.taup
5.369s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
3.790s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
3.282s signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
3.239s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
2.957s taup/tau.py::obspy.taup.tau.plot_travel_times
2.818s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
2.600s io/mseed/tests/test_mseed_special_issues.py::MSEEDSpecialIssueTestCase::test_infinite_loop
2.516s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
2.372s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
2.103s io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
2.059s signal/tests/test_polarization.py::PolarizationTestCase::test_polarization_vidale
1.829s core/tests/test_trace.py::TestTrace::test_remove_response_plot
1.681s signal/tests/test_tf_misfit.py::TestTfPlot::test_plot_tf_gofs
1.467s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_default_section
1.463s imaging/tests/test_source.py::TestRadPattern::test_farfield_with_quiver
1.433s core/stream.py::obspy.core.stream.read
1.403s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_ref_time_section
1.394s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces