#112680 Report by node localhost covering 1968 tests from 49 modules resulted into 14 errors
Report
- ObsPy version
- 1.2.2
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 139.0 sec
- Report date/time
- Jan. 25, 2021, 9:10 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- localhost
- Processor
- x86_64
- Python Compiler
- GCC 9.3.0
- Python Implementation
- CPython
- Python Version
- 3.7.9
- Release
- 3.10.0-957.el7.x86_64
- System
- Linux
- Version
- #1 SMP Thu Nov 8 23:39:32 UTC 2018
Dependencies
- cartopy
- 0.18.0
- decorator
- 4.4.2
- flake8
- ---
- future
- 0.18.2
- geographiclib
- ---
- lxml.etree
- 4.6.2
- m2crypto
- ---
- matplotlib
- 3.3.3
- mock
- ---
- mpl_toolkits.basemap
- ---
- numpy
- 1.19.5
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- ---
- pyproj
- ---
- requests
- 2.25.1
- scipy
- 1.6.0
- setuptools
- 49.6.0.post20210108
- shapefile
- 2.1.3
- sqlalchemy
- 1.3.22
Modules (49)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | Not tested | - | - | - | - | - |
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | Not tested | - | - | - | - | - |
obspy.clients.filesystem | - | 28 | 28 | - | 1.76s | - |
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 | 14 | 666 | 649 | 17 | 31.14s | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
obspy.db | - | 9 | 9 | - | 0.06s | - |
obspy.geodetics | - | 20 | 18 | 2 | 0.08s | - |
obspy.imaging | - | 77 | 76 | 1 | 21.28s | - |
obspy.io.ah | - | 5 | 5 | - | 0.06s | - |
obspy.io.arclink | - | 5 | 5 | - | 1.19s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.11s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.05s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.02s | - |
obspy.io.css | - | 7 | 7 | - | 0.34s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.02s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.08s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.02s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.34s | - |
obspy.io.hypodd | - | 6 | 6 | - | 0.08s | - |
obspy.io.iaspei | - | 7 | 7 | - | 0.62s | - |
obspy.io.json | - | 4 | 4 | - | 0.02s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 0.34s | - |
obspy.io.kml | - | 3 | 3 | - | 0.09s | - |
obspy.io.mseed | - | 127 | 127 | - | 1.15s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.25s | - |
obspy.io.nied | - | 11 | 11 | - | 0.04s | - |
obspy.io.nlloc | - | 12 | 11 | 1 | 0.10s | - |
obspy.io.nordic | - | 51 | 51 | - | 1.22s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
obspy.io.pde | - | 13 | 13 | - | 0.25s | - |
obspy.io.quakeml | - | 38 | 38 | - | 0.46s | - |
obspy.io.reftek | - | 20 | 20 | - | 0.12s | - |
obspy.io.rg16 | - | 36 | 36 | - | 0.13s | - |
obspy.io.sac | - | 96 | 96 | - | 0.29s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.05s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.03s | - |
obspy.io.segy | - | 56 | 56 | - | 0.50s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.06s | - |
obspy.io.seiscomp | - | 47 | 47 | - | 1.19s | - |
obspy.io.sh | - | 25 | 25 | - | 0.29s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.32s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.05s | - |
obspy.io.stationxml | - | 22 | 22 | - | 0.30s | - |
obspy.io.wav | - | 8 | 8 | - | 0.02s | - |
obspy.io.win | - | 2 | 2 | - | 0.06s | - |
obspy.io.xseed | - | 82 | 82 | - | 5.57s | - |
obspy.io.y | - | 5 | 5 | - | 0.01s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.16s | - |
obspy.realtime | - | 22 | 22 | - | 0.30s | - |
obspy.scripts | - | 2 | 2 | - | 0.01s | - |
obspy.signal | - | 199 | 197 | 2 | 34.02s | - |
obspy.taup | - | 64 | 58 | 6 | 34.39s | - |
Summary | 14 | 1968 | 1939 | 29 | 139.03s | 14 |
Tracebacks (14)
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1350, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1277, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1323, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1272, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1032, in _send_output self.send(msg) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 972, in send self.connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1439, in connect super().connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 944, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 752, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 623, in test_catalog_plot_global cat.plot(method='cartopy', outfile=ic.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 763, in plot fig.savefig(outfile) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 2311, in savefig self.canvas.print_figure(fname, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2217, in print_figure **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper return func(*args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png FigureCanvasAgg.draw(self) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 1864, in draw renderer, self, artists, self.suppressComposite) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper return func(*inner_args, **inner_kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2747, in draw mimage._draw_list_compositing_images(renderer, self, artists) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw geoms = self._feature.intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries return super(NaturalEarthFeature, self).intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries return (geom for geom in self.geometries() if File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 286, in geometries name=self.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth return ne_downloader.path(format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 222, in path result_path = self.acquire_resource(target_path, format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource shapefile_online = self._urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 261, in _urlopen return urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1352, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1350, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1277, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1323, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1272, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1032, in _send_output self.send(msg) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 972, in send self.connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1439, in connect super().connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 944, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 752, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 661, in test_catalog_plot_local color='date', colormap='gist_heat') File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 763, in plot fig.savefig(outfile) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 2311, in savefig self.canvas.print_figure(fname, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2217, in print_figure **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper return func(*args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png FigureCanvasAgg.draw(self) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 1864, in draw renderer, self, artists, self.suppressComposite) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper return func(*inner_args, **inner_kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2747, in draw mimage._draw_list_compositing_images(renderer, self, artists) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw geoms = self._feature.intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries return super(NaturalEarthFeature, self).intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries return (geom for geom in self.geometries() if File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 286, in geometries name=self.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth return ne_downloader.path(format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 222, in path result_path = self.acquire_resource(target_path, format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource shapefile_online = self._urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 261, in _urlopen return urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1352, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1350, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1277, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1323, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1272, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1032, in _send_output self.send(msg) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 972, in send self.connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1439, in connect super().connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 944, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 752, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 635, in test_catalog_plot_ortho color='date') File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 763, in plot fig.savefig(outfile) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 2311, in savefig self.canvas.print_figure(fname, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2217, in print_figure **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper return func(*args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png FigureCanvasAgg.draw(self) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 1864, in draw renderer, self, artists, self.suppressComposite) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper return func(*inner_args, **inner_kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2747, in draw mimage._draw_list_compositing_images(renderer, self, artists) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw geoms = self._feature.intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries return super(NaturalEarthFeature, self).intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries return (geom for geom in self.geometries() if File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 286, in geometries name=self.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth return ne_downloader.path(format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 222, in path result_path = self.acquire_resource(target_path, format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource shapefile_online = self._urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 261, in _urlopen return urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1352, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1350, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1277, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1323, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1272, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1032, in _send_output self.send(msg) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 972, in send self.connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1439, in connect super().connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 944, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 752, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 649, in test_catalog_plot_ortho_longitude_wrap water_fill_color='b') File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 763, in plot fig.savefig(outfile) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 2311, in savefig self.canvas.print_figure(fname, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2217, in print_figure **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper return func(*args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png FigureCanvasAgg.draw(self) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 1864, in draw renderer, self, artists, self.suppressComposite) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper return func(*inner_args, **inner_kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2747, in draw mimage._draw_list_compositing_images(renderer, self, artists) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw geoms = self._feature.intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries return super(NaturalEarthFeature, self).intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries return (geom for geom in self.geometries() if File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 286, in geometries name=self.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth return ne_downloader.path(format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 222, in path result_path = self.acquire_resource(target_path, format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource shapefile_online = self._urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 261, in _urlopen return urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1352, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1350, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1277, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1323, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1272, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1032, in _send_output self.send(msg) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 972, in send self.connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1439, in connect super().connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 944, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 752, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/tests/test_inventory.py", line 788, in test_location_plot_global inv.plot(method='cartopy', outfile=ic.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/inventory/inventory.py", line 1025, in plot fig.savefig(outfile) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 2311, in savefig self.canvas.print_figure(fname, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2217, in print_figure **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper return func(*args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png FigureCanvasAgg.draw(self) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 1864, in draw renderer, self, artists, self.suppressComposite) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper return func(*inner_args, **inner_kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2747, in draw mimage._draw_list_compositing_images(renderer, self, artists) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw geoms = self._feature.intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries return super(NaturalEarthFeature, self).intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries return (geom for geom in self.geometries() if File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 286, in geometries name=self.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth return ne_downloader.path(format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 222, in path result_path = self.acquire_resource(target_path, format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource shapefile_online = self._urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 261, in _urlopen return urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1352, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1350, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1277, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1323, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1272, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1032, in _send_output self.send(msg) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 972, in send self.connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1439, in connect super().connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 944, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 752, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/tests/test_inventory.py", line 814, in test_location_plot_local outfile=ic.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/inventory/inventory.py", line 1025, in plot fig.savefig(outfile) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 2311, in savefig self.canvas.print_figure(fname, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2217, in print_figure **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper return func(*args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png FigureCanvasAgg.draw(self) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 1864, in draw renderer, self, artists, self.suppressComposite) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper return func(*inner_args, **inner_kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2747, in draw mimage._draw_list_compositing_images(renderer, self, artists) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw geoms = self._feature.intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries return super(NaturalEarthFeature, self).intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries return (geom for geom in self.geometries() if File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 286, in geometries name=self.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth return ne_downloader.path(format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 222, in path result_path = self.acquire_resource(target_path, format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource shapefile_online = self._urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 261, in _urlopen return urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1352, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1350, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1277, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1323, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1272, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1032, in _send_output self.send(msg) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 972, in send self.connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1439, in connect super().connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 944, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 752, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/tests/test_inventory.py", line 801, in test_location_plot_ortho colormap='Set3', color_per_network=True, outfile=ic.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/inventory/inventory.py", line 1025, in plot fig.savefig(outfile) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 2311, in savefig self.canvas.print_figure(fname, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2217, in print_figure **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper return func(*args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png FigureCanvasAgg.draw(self) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 1864, in draw renderer, self, artists, self.suppressComposite) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper return func(*inner_args, **inner_kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2747, in draw mimage._draw_list_compositing_images(renderer, self, artists) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw geoms = self._feature.intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries return super(NaturalEarthFeature, self).intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries return (geom for geom in self.geometries() if File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 286, in geometries name=self.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth return ne_downloader.path(format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 222, in path result_path = self.acquire_resource(target_path, format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource shapefile_online = self._urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 261, in _urlopen return urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1352, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1350, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1277, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1323, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1272, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1032, in _send_output self.send(msg) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 972, in send self.connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1439, in connect super().connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 944, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 752, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 412, in test_location_plot_global net.plot(method='cartopy', outfile=ic.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 638, in plot fig.savefig(outfile) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 2311, in savefig self.canvas.print_figure(fname, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2217, in print_figure **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper return func(*args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png FigureCanvasAgg.draw(self) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 1864, in draw renderer, self, artists, self.suppressComposite) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper return func(*inner_args, **inner_kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2747, in draw mimage._draw_list_compositing_images(renderer, self, artists) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw geoms = self._feature.intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries return super(NaturalEarthFeature, self).intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries return (geom for geom in self.geometries() if File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 286, in geometries name=self.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth return ne_downloader.path(format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 222, in path result_path = self.acquire_resource(target_path, format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource shapefile_online = self._urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 261, in _urlopen return urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1352, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1350, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1277, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1323, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1272, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1032, in _send_output self.send(msg) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 972, in send self.connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1439, in connect super().connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 944, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 752, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 437, in test_location_plot_local size=13**2, outfile=ic.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 638, in plot fig.savefig(outfile) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 2311, in savefig self.canvas.print_figure(fname, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2217, in print_figure **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper return func(*args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png FigureCanvasAgg.draw(self) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 1864, in draw renderer, self, artists, self.suppressComposite) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper return func(*inner_args, **inner_kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2747, in draw mimage._draw_list_compositing_images(renderer, self, artists) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw geoms = self._feature.intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries return super(NaturalEarthFeature, self).intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries return (geom for geom in self.geometries() if File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 286, in geometries name=self.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth return ne_downloader.path(format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 222, in path result_path = self.acquire_resource(target_path, format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource shapefile_online = self._urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 261, in _urlopen return urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1352, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1350, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1277, in request self._send_request(method, url, body, headers, encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1323, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1272, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1032, in _send_output self.send(msg) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 972, in send self.connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 1439, in connect super().connect() File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/http/client.py", line 944, in connect (self.host,self.port), self.timeout, self.source_address) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/socket.py", line 752, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 425, in test_location_plot_ortho color='yellow', label=False, outfile=ic.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 638, in plot fig.savefig(outfile) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 2311, in savefig self.canvas.print_figure(fname, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2217, in print_figure **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper return func(*args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png FigureCanvasAgg.draw(self) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw self.figure.draw(self.renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/figure.py", line 1864, in draw renderer, self, artists, self.suppressComposite) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper return func(*inner_args, **inner_kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2747, in draw mimage._draw_list_compositing_images(renderer, self, artists) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/matplotlib/artist.py", line 41, in draw_wrapper return draw(artist, renderer, *args, **kwargs) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw geoms = self._feature.intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries return super(NaturalEarthFeature, self).intersecting_geometries(extent) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries return (geom for geom in self.geometries() if File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/feature/__init__.py", line 286, in geometries name=self.name) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth return ne_downloader.path(format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 222, in path result_path = self.acquire_resource(target_path, format_dict) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource shapefile_online = self._urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/cartopy/io/__init__.py", line 261, in _urlopen return urlopen(url) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/urllib/request.py", line 1352, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.trace.Trace.times File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/trace.py", line 2487, in times ---------------------------------------------------------------------- File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/trace.py", line 2529, in obspy.core.trace.Trace.times Failed example: tr.times("matplotlib") Expected: array([ 733643.01392361, 733643.01392373, 733643.01392384, ..., 733643.01427049, 733643.0142706 , 733643.01427072]) Got: array([ 14480.01392361, 14480.01392373, 14480.01392384, ..., 14480.01427049, 14480.0142706 , 14480.01427072])
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/doctest.py", line 2204, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.utcdatetime.UTCDateTime.matplotlib_date File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/utcdatetime.py", line unknown line number, in matplotlib_date ---------------------------------------------------------------------- File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/utcdatetime.py", line ?, in obspy.core.utcdatetime.UTCDateTime.matplotlib_date Failed example: t.matplotlib_date Expected: 733643.0139780092 Got: 14480.01397800926
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/tests/test_trace.py", line 1448, in test_times np.testing.assert_allclose(got[:5], expected, rtol=1e-17) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1528, in assert_allclose verbose=verbose, header=header, equal_nan=equal_nan) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 840, in assert_array_compare raise AssertionError(msg) AssertionError: Not equal to tolerance rtol=1e-17, atol=0 Mismatched elements: 5 / 5 (100%) Max absolute difference: 719163.0 Max relative difference: 0.9849928778830878 x: array([ 10957. , 10957.000001, 10957.000001, 10957.000002, 10957.000002]) y: array([ 730120. , 730120.000001, 730120.000001, 730120.000002, 730120.000002])
Traceback (most recent call last): File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/obspy/core/tests/test_utcdatetime.py", line 1093, in test_matplotlib_date t.matplotlib_date, expected, decimal=8) File "/home/sihan/anaconda3/envs/obspy/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 595, in assert_almost_equal raise AssertionError(_build_err_msg()) AssertionError: Arrays are not almost equal to 8 decimals ACTUAL: 5965.5723676839116 DESIRED: 725128.5723676839
Skipped tests (29)
Submodule | Test | Skip message |
---|---|---|
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_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_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) | basemap not installed |
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_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 |
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 |
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_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) | test needs geographiclib >= 1.34 |
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. |
Slowest tests (20)
Runtime | Test |
---|---|
5.346s | read (obspy.core.stream) |
5.096s | __init__ (obspy.taup) |
4.434s | test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase) |
4.105s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
3.846s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
3.377s | test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase) |
2.945s | test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase) |
2.866s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
2.570s | test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) |
2.280s | plot_travel_times (obspy.taup.tau) |
2.251s | test_evalresp_file_like_object (obspy.signal.tests.test_invsim.InvSimTestCase) |
2.169s | test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase) |
2.033s | test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase) |
1.996s | test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |
1.814s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
1.800s | test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase) |
1.747s | test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase) |
1.578s | test_read_thread_safe (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) |
1.392s | test_relcal_using_traces (obspy.signal.tests.test_calibration.CalibrationTestCase) |
1.327s | test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |