#94865 Report by node docker-deb-ubuntu_18_04_bionic_32bit covering 1741 tests from 49 modules resulted into 90 errors

Report

ObsPy version
1.0.2.post0+998.g54b8d6bb3a.d…
GitHub Pull Request
-
Report file
XML document
Total runtime
777.7 sec
Report date/time
May 6, 2018, 5:49 a.m.

System / Python

Architecture
32bit
Machine
x86_64
Node
docker-deb-ubuntu_18_04_bionic_32bit
Processor
x86_64
Python Compiler
GCC 7.3.0
Python Implementation
CPython
Python Version
2.7.15rc1
Release
4.4.0-119-generic
System
Linux
Version
#143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018

Dependencies

cartopy
---
decorator
4.1.2
flake8
3.5.0
future
0.15.2
geographiclib
1.49
lxml.etree
4.2.1
m2crypto
---
matplotlib
2.1.1
mock
2.0.0
mpl_toolkits.basemap
1.1.0
numpy
1.13.3
osgeo.gdal
---
pep8-naming
---
pyflakes
1.6.0
pyimgur
0.5.3
pyproj
1.9.5.1
requests
2.18.4
scipy
0.19.1
setuptools
39.0.1
sqlalchemy
1.1.11

Modules (49)

Module Errors / Failures Tracebacks
obspy.clients.arclink 1 1
obspy.clients.earthworm - -
obspy.clients.fdsn 1 2
obspy.clients.filesystem - -
obspy.clients.iris 2 3 4
obspy.clients.neic - -
obspy.clients.seedlink 3 5 6 7
obspy.clients.seishub - -
obspy.clients.syngine - -
obspy.core 19 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
obspy.db - -
obspy.geodetics - -
obspy.imaging 41 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
obspy.io.ah - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.datamark - -
obspy.io.gcf - -
obspy.io.gse2 - -
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.sac - -
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.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.signal 14 68 69 70 71 72 73 74 75 76 77 78 79 80 81
obspy.taup 9 82 83 84 85 86 87 88 89 90
Summary 90 90

Tracebacks (90)

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/clients/arclink/tests/test_client.py", line 499, in test_save_waveform_compressed
end, format="FSEED", unpack=False)
File "/usr/lib/python2.7/dist-packages/obspy/clients/arclink/client.py", line 553, in save_waveforms
data = self._fetch(rtype, rdata, route=route)
File "/usr/lib/python2.7/dist-packages/obspy/clients/arclink/client.py", line 260, in _fetch
return self._request(request_type, request_data)
File "/usr/lib/python2.7/dist-packages/obspy/clients/arclink/client.py", line 324, in _request
raise ArcLinkException("%s %s" % (err_code, msg))
ArcLinkException: UNSET
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.fdsn.client.Client.get_stations_bulk
File "/usr/lib/python2.7/dist-packages/obspy/clients/fdsn/client.py", line 905, in get_stations_bulk
----------------------------------------------------------------------
File "/usr/lib/python2.7/dist-packages/obspy/clients/fdsn/client.py", line 937, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
print(inv) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
Inventory created at ...
Created by: IRIS WEB SERVICE: fdsnws-station | version: ...
http://service.iris.edu/fdsnws/station/1/query?
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (2):
GR, IU
Stations (2):
GR.GRA1 (GRAFENBERG ARRAY, BAYERN)
IU.ANMO (Albuquerque, New Mexico, USA)
Channels (0):
Got:
Inventory created at 2018-05-06T10:40:05.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.32
		 http://service.iris.edu/fdsnws/station/1/query
	Sending institution: IRIS-DMC (IRIS-DMC)
	Contains:
		Networks (2):
			GR, IU
		Stations (2):
			GR.GRA1 (GRAFENBERG ARRAY, BAYERN)
			IU.ANMO (Albuquerque, New Mexico, USA)
		Channels (0):
<BLANKLINE>
----------------------------------------------------------------------
File "/usr/lib/python2.7/dist-packages/obspy/clients/fdsn/client.py", line 967, in obspy.clients.fdsn.client.Client.get_stations_bulk
Failed example:
print(inv) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
Inventory created at ...
Created by: IRIS WEB SERVICE: fdsnws-station | version: ...
http://service.iris.edu/fdsnws/station/1/query?
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (2):
GR, IU
Stations (2):
GR.GRA1 (GRAFENBERG ARRAY, BAYERN)
IU.ANMO (Albuquerque, New Mexico, USA)
Channels (5):
GR.GRA1..BHZ, GR.GRA1..BHN, GR.GRA1..BHE, IU.ANMO.00.BHZ,
IU.ANMO.10.BHZ
Got:
Inventory created at 2018-05-06T10:40:06.000000Z
	Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.32
		 http://service.iris.edu/fdsnws/station/1/query
	Sending institution: IRIS-DMC (IRIS-DMC)
	Contains:
		Networks (2):
			GR, IU
		Stations (2):
			GR.GRA1 (GRAFENBERG ARRAY, BAYERN)
			IU.ANMO (Albuquerque, New Mexico, USA)
		Channels (5):
			GR.GRA1..BHZ, GR.GRA1..BHN, GR.GRA1..BHE, IU.ANMO.00.BHZ,
			IU.ANMO.10.BHZ
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/clients/iris/tests/test_client.py", line 256, in test_timeseries
filter=["correct"])
File "/usr/lib/python2.7/dist-packages/obspy/clients/iris/client.py", line 341, in timeseries
raise Exception(msg)
Exception: No waveform data available (HTTPError: HTTP Error 400: Bad Request)
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.timeseries
File "/usr/lib/python2.7/dist-packages/obspy/clients/iris/client.py", line 174, in timeseries
----------------------------------------------------------------------
File "/usr/lib/python2.7/dist-packages/obspy/clients/iris/client.py", line 315, in obspy.clients.iris.client.Client.timeseries
Failed example:
st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10,
filter=["correct", "demean", "lp=2.0"])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.clients.iris.client.Client.timeseries[6]>", line 2, in <module>
filter=["correct", "demean", "lp=2.0"])
File "/usr/lib/python2.7/dist-packages/obspy/clients/iris/client.py", line 341, in timeseries
raise Exception(msg)
Exception: No waveform data available (HTTPError: HTTP Error 400: Bad Request)
----------------------------------------------------------------------
File "/usr/lib/python2.7/dist-packages/obspy/clients/iris/client.py", line 317, in obspy.clients.iris.client.Client.timeseries
Failed example:
print(st[0].data) # doctest: +ELLIPSIS
Expected:
[ -1.57488682e-06 -1.26318002e-06 -7.84807128e-07 ...
Got:
[ 24 20 19 19 19 15 10 4 -4 -11 -19 -26 -35 -48 -60
-72 -83 -95 -109 -121 -133 -147 -162 -179 -195 -208 -221 -238 -256 -272
-285 -301 -314 -324 -333 -341 -350 -358 -365 -370 -376 -378 -378 -380 -381
-381 -378 -376 -374 -370 -364 -359 -356 -352 -345 -337 -331 -328 -323 -316
-310 -305 -301 -295 -290 -289 -283 -275 -271 -269 -267 -263 -258 -257 -253
-248 -243 -240 -239 -237 -233 -229 -224 -218 -211 -208 -205 -202 -200 -195
-191 -185 -181 -180 -179 -177 -177 -177 -176 -176 -179 -183 -185 -187 -189
-192 -198 -204 -210 -216 -220 -227 -235 -241 -247 -253 -262 -270 -277 -284
-294 -304 -313 -323 -332 -340 -345 -350 -355 -358 -361 -364 -369 -372 -371
-372 -374 -373 -368 -364 -362 -357 -349 -344 -338 -331 -320 -311 -302 -291
-280 -268 -255 -243 -231 -218 -203 -187 -173 -160 -147 -132 -119 -108 -97
-86 -73 -62 -54 -48 -42 -37 -33 -29 -27 -27 -25 -26 -27 -29
-31 -30 -31 -36 -40 -44 -52 -59 -68 -77 -83 -89 -95 -101 -108
-116 -123 -130 -141 -150]
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/clients/seedlink/tests/test_slpacket.py", line 36, in test_get_string_payload
payload = packet.get_string_payload()
File "/usr/lib/python2.7/dist-packages/obspy/clients/seedlink/slpacket.py", line 178, in get_string_payload
msr, msrecord_py = self.get_ms_record()
File "/usr/lib/python2.7/dist-packages/obspy/clients/seedlink/slpacket.py", line 119, in get_ms_record
len(pyobj), C.pointer(msr), -1, 1, 1)
ArgumentError: argument 1: <type 'exceptions.TypeError'>: argument must be an ndarray
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.seedlink.basic_client.Client.get_waveforms
File "/usr/lib/python2.7/dist-packages/obspy/clients/seedlink/basic_client.py", line 62, in get_waveforms
----------------------------------------------------------------------
File "/usr/lib/python2.7/dist-packages/obspy/clients/seedlink/basic_client.py", line 70, in obspy.clients.seedlink.basic_client.Client.get_waveforms
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
1 Trace(s) in Stream:
G.FDF.00.BHZ | 20... | 20.0 Hz, ... samples
Got:
0 Trace(s) in Stream:
<BLANKLINE>
----------------------------------------------------------------------
File "/usr/lib/python2.7/dist-packages/obspy/clients/seedlink/basic_client.py", line 79, in obspy.clients.seedlink.basic_client.Client.get_waveforms
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
3 Trace(s) in Stream:
G.FDF.00.BHZ | 20... | 20.0 Hz, ... samples
G.FDF.00.BHN | 20... | 20.0 Hz, ... samples
G.FDF.00.BHE | 20... | 20.0 Hz, ... samples
Got:
0 Trace(s) in Stream:
<BLANKLINE>
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/clients/seedlink/tests/test_basic_client.py", line 24, in test_get_waveform
self.assertGreater(len(st), 0)
AssertionError: 0 not greater than 0
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_inventory.py", line 165, in test_response_plot
station="[WR]*", time=t, outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_inventory.py", line 488, in test_combined_station_event_plot
cat.plot(outfile=ic.name, fig=fig)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_inventory.py", line 436, in test_location_plot_global
inv.plot(outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_inventory.py", line 469, in test_location_plot_local
outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_inventory.py", line 449, in test_location_plot_ortho
colormap='Set3', color_per_network=True, outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_station.py", line 58, in test_response_plot
sta.plot(0.05, channel="*[NE]", outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_event.py", line 511, in test_catalog_plot_global
cat.plot(method='basemap', outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_event.py", line 555, in test_catalog_plot_local
color='date', colormap='gist_heat')
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_event.py", line 523, in test_catalog_plot_ortho
color='date')
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_event.py", line 537, in test_catalog_plot_ortho_longitude_wrap
water_fill_color='b')
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (192, 256, 4) is not equal to the expected shape (240, 320, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_network.py", line 294, in test_location_plot_ortho
color='yellow', label=False, outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_trace.py", line 2235, in test_remove_response_plot
water_level=60, end_stage=None, plot=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: trace_remove_response.png
	RMS: 53.9818161977
	Tolerance: 4.5
	Expected: /usr/lib/python2.7/dist-packages/obspy/core/tests/images/trace_remove_response.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/core/tests/images/testrun/trace_remove_response.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/core/tests/images/testrun/trace_remove_response-failed-diff.png
	Expected: https://i.imgur.com/UpNLxN7.png
	Actual: https://i.imgur.com/xNK9ntm.png
	Diff: https://i.imgur.com/EQcvRuV.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_channel.py", line 63, in test_response_plot
cha.plot(0.005, outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_event.py", line 155, in test_plot_farfield_without_quiver_with_maps
['p_sphere', 's_sphere']], outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: event.png
	RMS: 51.6896791762
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/core/tests/images/event.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/core/tests/images/testrun/event.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/core/tests/images/testrun/event-failed-diff.png
	Expected: https://i.imgur.com/ZW8lsiM.png
	Actual: https://i.imgur.com/15PbLLK.png
	Diff: https://i.imgur.com/1pRuOH3.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_response.py", line 148, in test_response_plot
outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_network.py", line 281, in test_location_plot_global
net.plot(method='basemap', outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_network.py", line 313, in test_location_plot_local
size=13**2, outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_code_formatting.py", line 165, in test_no_pyplot_import_in_any_file
self.assertEqual(len(failures), 0, "\n" + "\n\n".join(failures))
AssertionError:
File '/usr/lib/python2.7/dist-packages/obspy/signal/array_analysis/seismic_array.py' (line 26)
matches a forbidden matplotlib import statement outside of class/def statements
(breaking matplotlib backend switching on some systems):
'import matplotlib.pyplot as plt'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/core/tests/test_network.py", line 149, in test_response_plot
time=t, outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 328, in test_plot_ref_time_section
st.plot(outfile=ic.name, type='section', reftime=reftime)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_reftime_section.png
	RMS: 23.9684815261
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_reftime_section.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_reftime_section.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_reftime_section-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 438, in test_plot_ref_time_relative
st.plot(outfile=ic.name, type='relative', reftime=ref)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_reftime_relative.png
	RMS: 46.7264396247
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_reftime_relative.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_reftime_relative.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_reftime_relative-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 150, in test_plot_simple_gap_many_samples
st.plot(outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_simple_gap_many_samples.png
	RMS: 36.8497902301
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_simple_gap_many_samples.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_simple_gap_many_samples.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_simple_gap_many_samples-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 165, in test_plot_simple_gap_few_samples
st.plot(outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_simple_gap_few_samples.png
	RMS: 37.3680119889
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_simple_gap_few_samples.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_simple_gap_few_samples.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_simple_gap_few_samples-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 361, in test_plot_wiggles_negative_section
fillcolors=(None, "black"))
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_wiggles_negative_section.png
	RMS: 79.7288792513
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_wiggles_negative_section.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_wiggles_negative_section.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_wiggles_negative_section-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 396, in test_plot_wiggles_horizontal_section
fillcolors=("blue", "red"))
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_wiggles_horizontal_section.png
	RMS: 95.5933029732
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_wiggles_horizontal_section.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_wiggles_horizontal_section.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_wiggles_horizontal_section-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 413, in test_plot_wiggles_vertical_section
fillcolors=("blue", "red"))
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_wiggles_vertical_section.png
	RMS: 95.3759897109
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_wiggles_vertical_section.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_wiggles_vertical_section.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_wiggles_vertical_section-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 379, in test_plot_wiggles_positive_section
fillcolors=("black", None))
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_wiggles_positive_section.png
	RMS: 87.7717913683
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_wiggles_positive_section.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_wiggles_positive_section.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_wiggles_positive_section-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_beachball.py", line 83, in test_beachball
beachball(data_, outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: bb_sumatra_mt.png
	RMS: 79.8027117334
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/bb_sumatra_mt.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/bb_sumatra_mt.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/bb_sumatra_mt-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 255, in test_plot_with_labels
st.plot(outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_labels.png
	RMS: 36.5501153669
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_labels.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_labels.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_labels-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_ppsd.py", line 44, in test_ppsd_plot
fig.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_spectrogram.py", line 48, in test_spectrogram
samp_rate=st[0].stats.sampling_rate, show=False)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_mopad.py", line 79, in test_collection
fig.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (1800, 1800, 4) is not equal to the expected shape (600, 600, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_plot.py", line 60, in test_plot_no_merge
all_files)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: plot_nomerge.png
	RMS: 29.1765101866
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/plot_nomerge.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/plot_nomerge.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/plot_nomerge-failed-diff.png
	Expected: https://i.imgur.com/K0hA9zJ.png
	Actual: https://i.imgur.com/fkDYOgs.png
	Diff: https://i.imgur.com/G4CIBgo.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 265, in test_plot_binning_error
tr.plot(outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_binning_error.png
	RMS: 43.9486700595
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_binning_error.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_binning_error.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_binning_error-failed-diff.png
	Expected: https://i.imgur.com/rRvhc48.png
	Actual: https://i.imgur.com/hk3jNtO.png
	Diff: https://i.imgur.com/UaFDu2J.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 300, in test_plot_azim_section
ev_coord=(0.0, 0.0))
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_azim_section.png
	RMS: 24.1302023752
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_azim_section.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_azim_section.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_azim_section-failed-diff.png
	Expected: https://i.imgur.com/kETdNEU.png
	Actual: https://i.imgur.com/4oFxL6m.png
	Diff: https://i.imgur.com/eVhYtou.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_ppsd.py", line 63, in test_ppsd_plot_frequency
fig.savefig(ic.name, dpi=50)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (240, 320, 4) is not equal to the expected shape (300, 400, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_ppsd.py", line 85, in test_ppsd_plot_cumulative
fig.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 207, in test_plot_complex_gap_few_samples
st.plot(outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_complex_gap_few_samples.png
	RMS: 39.1149955899
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_complex_gap_few_samples.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_complex_gap_few_samples.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_complex_gap_few_samples-failed-diff.png
	Expected: https://i.imgur.com/7MNB0Ve.png
	Actual: https://i.imgur.com/9qCkdF9.png
	Diff: https://i.imgur.com/hadAJuY.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 343, in test_plot_colored_section
st.plot(outfile=ic.name, type='section', color='channel')
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_color_section.png
	RMS: 20.878425228
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_color_section.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_color_section.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_color_section-failed-diff.png
	Expected: https://i.imgur.com/9l0YBv3.png
	Actual: https://i.imgur.com/bwWY5zd.png
	Diff: https://i.imgur.com/dBWgNqY.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_plot.py", line 44, in test_plot
obspy_plot(['--outfile', ic.name] + all_files)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: plot.png
	RMS: 29.2777690407
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/plot.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/plot.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/plot-failed-diff.png
	Expected: https://i.imgur.com/G52mRlt.png
	Actual: https://i.imgur.com/GwjKreZ.png
	Diff: https://i.imgur.com/yAIZ5hE.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_scan.py", line 54, in test_scan_main_method
obspy_scan([os.curdir] + ['--output', ic.name, '--quiet'])
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (468, 1872, 4) is not equal to the expected shape (650, 2600, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_scan.py", line 118, in test_scan_save_load_npz
'--quiet'])
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (468, 1872, 4) is not equal to the expected shape (650, 2600, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_scan.py", line 171, in test_multiple_sampling_rates
expected_stdout_lines, out.stdout.decode().splitlines())
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (288, 432, 4) is not equal to the expected shape (400, 600, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_scan.py", line 70, in test_scan_function_and_scanner_class
scan(paths=os.curdir, plot=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (468, 1872, 4) is not equal to the expected shape (650, 2600, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_beachball.py", line 314, in test_collection_aspect_y
filename_width_height='bb_aspect_y_height.png')
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_beachball.py", line 280, in collection_aspect
fig.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_beachball.py", line 326, in test_mopad_fallback
beachball(mt, outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: mopad_fallback.png
	RMS: 71.4869750374
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/mopad_fallback.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/mopad_fallback.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/mopad_fallback-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_beachball.py", line 254, in test_collection
fig.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (1800, 1800, 4) is not equal to the expected shape (600, 600, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_beachball.py", line 305, in test_collection_aspect_x
filename_width_height='bb_aspect_x_height.png')
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_beachball.py", line 280, in collection_aspect
fig.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_scan.py", line 137, in test_scan_times
['--quiet'])
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (468, 876, 4) is not equal to the expected shape (650, 1216, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_scan.py", line 95, in test_scanner_manually_add_streams
scanner.plot(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (468, 1872, 4) is not equal to the expected shape (650, 2600, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 186, in test_plot_complex_gap_many_samples
st.plot(outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_complex_gap_many_samples.png
	RMS: 38.5349918905
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_complex_gap_many_samples.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_complex_gap_many_samples.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_complex_gap_many_samples-failed-diff.png
	Expected: https://i.imgur.com/QSfMRse.png
	Actual: https://i.imgur.com/4MJf2zj.png
	Diff: https://i.imgur.com/w7PTdhf.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 450, in test_plot_day_plot
timezone='EST', time_offset=-5)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_dayplot.png
	RMS: 16.7466504114
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_dayplot.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_dayplot.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_dayplot-failed-diff.png
	Expected: https://i.imgur.com/wHjUcnT.png
	Actual: https://i.imgur.com/6KXzcrJ.png
	Diff: https://i.imgur.com/QDZNmzM.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 486, in test_plot_day_plot_catalog
events=cat)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_dayplot_catalog.png
	RMS: 24.0949427612
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_dayplot_catalog.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_dayplot_catalog.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_dayplot_catalog-failed-diff.png
	Expected: https://i.imgur.com/mXq2uyh.png
	Actual: https://i.imgur.com/9DQM9gr.png
	Diff: https://i.imgur.com/Y5LxeQp.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 472, in test_plot_day_plot_explicit_event
{'time': event5, 'text': 'Event 5'}])
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_dayplot_event.png
	RMS: 20.7289202163
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_dayplot_event.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_dayplot_event.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_dayplot_event-failed-diff.png
	Expected: https://i.imgur.com/XBr4UoG.png
	Actual: https://i.imgur.com/bJoIUng.png
	Diff: https://i.imgur.com/KdZugeB.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 424, in test_plot_default_relative
st.plot(outfile=ic.name, type='relative')
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_default_relative.png
	RMS: 46.5236112098
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_default_relative.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_default_relative.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_default_relative-failed-diff.png
	Expected: https://i.imgur.com/wcS7MyG.png
	Actual: https://i.imgur.com/OrEvkoq.png
	Diff: https://i.imgur.com/qTb1IPL.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 284, in test_plot_default_section
st.plot(outfile=ic.name, type='section')
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_default_section.png
	RMS: 24.2151236489
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_default_section.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_default_section.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_default_section-failed-diff.png
	Expected: https://i.imgur.com/bhBNIr0.png
	Actual: https://i.imgur.com/Va3imw3.png
	Diff: https://i.imgur.com/YctCk1W.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 313, in test_plot_horizontal_section
st.plot(outfile=ic.name, type='section', orientation='horizontal')
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_horiz_section.png
	RMS: 26.8125711809
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_horiz_section.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_horiz_section.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_horiz_section-failed-diff.png
	Expected: https://i.imgur.com/7zWCNfh.png
	Actual: https://i.imgur.com/Mxa2IHm.png
	Diff: https://i.imgur.com/ZzA9MlN.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 216, in test_plot_multiple_traces
st.plot(outfile=ic.name, automerge=False)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_1_trace.png
	RMS: 31.3096917902
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_1_trace.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_1_trace.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_1_trace-failed-diff.png
	Expected: https://i.imgur.com/kIMS5pH.png
	Actual: https://i.imgur.com/AWVDSuO.png
	Diff: https://i.imgur.com/qqFgWk0.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 135, in test_plot_one_hour_few_samples
st.plot(outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_one_hour_few_samples.png
	RMS: 48.18881696
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_one_hour_few_samples.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_one_hour_few_samples.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_one_hour_few_samples-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/imaging/tests/test_waveform.py", line 122, in test_plot_one_hour_many_samples
st.plot(outfile=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_one_hour_many_samples.png
	RMS: 47.7422010385
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/waveform_one_hour_many_samples.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_one_hour_many_samples.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/imaging/tests/images/testrun/waveform_one_hour_many_samples-failed-diff.png
Upload to imgur failed (caught HTTPError: 400 Client Error: Bad Request for url: https://api.imgur.com/3/image).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/signal/tests/test_interpolation.py", line 136, in test_plot_lanczos_window
plot_lanczos_windows(a=20, filename=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: plot_lanczos_window.png
	RMS: 47.834545397
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/signal/tests/images/plot_lanczos_window.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/signal/tests/images/testrun/plot_lanczos_window.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/signal/tests/images/testrun/plot_lanczos_window-failed-diff.png
	Expected: https://i.imgur.com/K96EShX.png
	Actual: https://i.imgur.com/coB5v6z.png
	Diff: https://i.imgur.com/5BTWMG6.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/signal/tests/test_spectral_estimation.py", line 439, in test_ppsd_restricted_stacks
fig.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/signal/tests/test_detrend.py", line 73, in test_polynomial_detrend_plotting
polynomial(tr.data, order=3, plot=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: polynomial_detrend.png
	RMS: 60.6516163016
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/signal/tests/images/polynomial_detrend.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/signal/tests/images/testrun/polynomial_detrend.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/signal/tests/images/testrun/polynomial_detrend-failed-diff.png
	Expected: https://i.imgur.com/Cy29qXe.png
	Actual: https://i.imgur.com/gwdztcr.png
	Diff: https://i.imgur.com/u76R4kc.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/signal/tests/test_detrend.py", line 87, in test_spline_detrend_plotting
spline(tr.data, order=1, dspline=1500, plot=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: degree_1_spline_detrend.png
	RMS: 61.4466584934
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/signal/tests/images/degree_1_spline_detrend.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/signal/tests/images/testrun/degree_1_spline_detrend.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/signal/tests/images/testrun/degree_1_spline_detrend-failed-diff.png
	Expected: https://i.imgur.com/eBI1Si5.png
	Actual: https://i.imgur.com/FPlAkp2.png
	Diff: https://i.imgur.com/JLai5f0.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/signal/tests/test_tf_misfit.py", line 292, in test_plot_tfr
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/signal/tests/test_tf_misfit.py", line 300, in test_plot_tf_misfits
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/signal/tests/test_tf_misfit.py", line 308, in test_plot_tf_gofs
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/signal/tests/test_cross_correlation.py", line 74, in test_xcorr_pick_correction_images
t1, tr1, t2, tr2, 0.05, 0.2, 0.1, plot=True, filename=ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/signal/tests/test_seismic_array.py", line 319, in test_plot_radial_transfer_function
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/signal/tests/test_seismic_array.py", line 329, in test_array_plotting
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 403, in __exit__
msg = self.compare()
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 501, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 220, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal.array_analysis.seismic_array.SeismicArray.plot
File "/usr/lib/python2.7/dist-packages/obspy/signal/array_analysis/seismic_array.py", line 185, in plot
----------------------------------------------------------------------
File "/usr/lib/python2.7/dist-packages/obspy/signal/array_analysis/seismic_array.py", line 196, in obspy.signal.array_analysis.seismic_array.SeismicArray.plot
Failed example:
array.plot()
Expected nothing
Got:
<matplotlib.figure.Figure object at 0xec6200ac>
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal.array_analysis.seismic_array.SeismicArray
File "/usr/lib/python2.7/dist-packages/obspy/signal/array_analysis/seismic_array.py", line 73, in SeismicArray
----------------------------------------------------------------------
File "/usr/lib/python2.7/dist-packages/obspy/signal/array_analysis/seismic_array.py", line 100, in obspy.signal.array_analysis.seismic_array.SeismicArray
Failed example:
print(array)
Expected:
Seismic Array 'AGFA' with 5 Stations, aperture: 0.06 km.
Got:
Seismic Array 'AGFA' with 5 Stations, Aperture: 0.06 km.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/signal/tests/test_seismic_array.py", line 305, in test_three_component_beamforming
freq_range=[0.1, .3], whiten=True, coherency=False)
File "/usr/lib/python2.7/dist-packages/obspy/signal/array_analysis/seismic_array.py", line 1790, in three_component_beamforming
uindex=uindex)
File "/usr/lib/python2.7/dist-packages/obspy/signal/array_analysis/seismic_array.py", line 1502, in _three_c_do_bf
fcoeffz, fcoeffn, fcoeffe, deltaf, whiten)
File "/usr/lib/python2.7/dist-packages/obspy/signal/array_analysis/seismic_array.py", line 1354, in _three_c_dowhiten
ampw[ww / 2:n_freqs - ww / 2] += (csamp[ww:, k] -
TypeError: slice indices must be integers or None or have an __index__ method
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/signal/tests/test_seismic_array.py", line 184, in test_covariance_array_processing
dt[i]:-(np.max(dt) + 1) + dt[i]].copy())
TypeError: slice indices must be integers or None or have an __index__ method
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/taup/tests/test_plotting.py", line 55, in test_spherical_many_phases_no_other_way
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: spherical_many_phases_single_way.png
	RMS: 28.895274631
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/spherical_many_phases_single_way.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/spherical_many_phases_single_way.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/spherical_many_phases_single_way-failed-diff.png
	Expected: https://i.imgur.com/uRzjvAT.png
	Actual: https://i.imgur.com/NE2GBAN.png
	Diff: https://i.imgur.com/luSah2H.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/taup/tests/test_plotting.py", line 44, in test_spherical_many_phases_buried_station
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: spherical_many_phases_buried_station.png
	RMS: 34.8680456579
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/spherical_many_phases_buried_station.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/spherical_many_phases_buried_station.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/spherical_many_phases_buried_station-failed-diff.png
	Expected: https://i.imgur.com/emSdYe3.png
	Actual: https://i.imgur.com/97RUGDe.png
	Diff: https://i.imgur.com/dWhXrJK.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/taup/tests/test_plotting.py", line 65, in test_spherical_more_then_360_degrees
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: spherical_more_then_360.png
	RMS: 20.8335874971
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/spherical_more_then_360.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/spherical_more_then_360.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/spherical_more_then_360-failed-diff.png
	Expected: https://i.imgur.com/VeHX3Lj.png
	Actual: https://i.imgur.com/hkIgM5O.png
	Diff: https://i.imgur.com/1YrbhKh.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/taup/tests/test_plotting.py", line 74, in test_spherical_diff_phases
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: spherical_diff_phases.png
	RMS: 21.2207905602
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/spherical_diff_phases.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/spherical_diff_phases.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/spherical_diff_phases-failed-diff.png
	Expected: https://i.imgur.com/YPoaRYp.png
	Actual: https://i.imgur.com/sI1vzKA.png
	Diff: https://i.imgur.com/w44frX6.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/taup/tests/test_plotting.py", line 32, in test_spherical_many_phases
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: spherical_many_phases.png
	RMS: 34.5055033292
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/spherical_many_phases.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/spherical_many_phases.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/spherical_many_phases-failed-diff.png
	Expected: https://i.imgur.com/XhxuSmQ.png
	Actual: https://i.imgur.com/1WwQ9R9.png
	Diff: https://i.imgur.com/9blvaUL.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/taup/tests/test_plotting.py", line 81, in test_cartesian_many_phases
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: cartesian_many_phases.png
	RMS: 44.7156616858
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/cartesian_many_phases.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/cartesian_many_phases.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/cartesian_many_phases-failed-diff.png
	Expected: https://i.imgur.com/YRAtzll.png
	Actual: https://i.imgur.com/ksI1THA.png
	Diff: https://i.imgur.com/QlnYxNX.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/taup/tests/test_plotting.py", line 93, in test_cartesian_many_phases_buried_station
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: cartesian_many_phases_buried_station.png
	RMS: 45.6036913711
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/cartesian_many_phases_buried_station.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/cartesian_many_phases_buried_station.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/cartesian_many_phases_buried_station-failed-diff.png
	Expected: https://i.imgur.com/s4OXOBl.png
	Actual: https://i.imgur.com/C1Mu2je.png
	Diff: https://i.imgur.com/77pH3Zo.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/taup/tests/test_plotting.py", line 104, in test_cartesian_many_phases_no_other_way
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: cartesian_many_phases_single_way.png
	RMS: 43.9975044747
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/cartesian_many_phases_single_way.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/cartesian_many_phases_single_way.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/cartesian_many_phases_single_way-failed-diff.png
	Expected: https://i.imgur.com/2VuxnrN.png
	Actual: https://i.imgur.com/5ARC1OC.png
	Diff: https://i.imgur.com/NZML26X.png
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/obspy/taup/tests/test_plotting.py", line 114, in test_cartesian_multiple_station_markers
plt.savefig(ic.name)
File "/usr/lib/python2.7/dist-packages/obspy/core/util/testing.py", line 470, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: cartesian_multiple_stations.png
	RMS: 41.6330926067
	Tolerance: 3.0
	Expected: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/cartesian_multiple_stations.png
	Actual: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/cartesian_multiple_stations.png
	Diff: /usr/lib/python2.7/dist-packages/obspy/taup/tests/images/testrun/cartesian_multiple_stations-failed-diff.png
	Expected: https://i.imgur.com/IfaUOX5.png
	Actual: https://i.imgur.com/wwhQyvM.png
	Diff: https://i.imgur.com/w2We3Qa.png

Skipped tests (36)

Submodule Test Skip message
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
clients.seishub runTest (doctest.DocTestCase) Seishub test server not reachable.
clients.seishub runTest (doctest.DocTestCase) Seishub test server not reachable.
clients.seishub runTest (doctest.DocTestCase) Seishub test server not reachable.
clients.seishub test_get_channel_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_coordinates (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_event_list (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_location_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_network_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_paz (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_preview (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_preview_by_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_station_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_waveform_with_metadata (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_localcache (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_ping (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) flake8 check disabled
core test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
io.shapefile test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
io.shapefile test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) gdal not installed or version is too old
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
io.wav test_rescale_on_write (obspy.io.wav.tests.test_core.CoreTestCase) needs a recent NumPy version
clients.seedlink test_info (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seedlink test_issue708 (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seedlink test_time_window (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually

Slowest tests (20)

Runtime Test
31.475s test_save_waveform_compressed (obspy.clients.arclink.tests.test_client.ClientTestCase)
22.219s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
21.937s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
18.028s test_plot_day_plot (obspy.imaging.tests.test_waveform.WaveformTestCase)
16.913s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
16.195s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
16.004s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.644s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.079s test_kennet_ak135_ttime_tables_s_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
11.795s test_kennet_ak135_ttime_tables_p_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
11.078s test_redirection_auth (obspy.clients.fdsn.tests.test_client.ClientTestCase)
10.604s test_kennet_ak135_ttime_tables_p_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
9.866s test_redirection (obspy.clients.fdsn.tests.test_client.ClientTestCase)
9.137s test_dataselect_bulk (obspy.clients.fdsn.tests.test_client.ClientTestCase)
8.832s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
8.717s test_kennet_ak135_ttime_tables_s_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
8.601s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
8.503s test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase)
8.361s test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
7.991s test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase)