#107379 Report by node MacBook-Air-de-Alina covering 1252 tests from 38 modules resulted into 86 errors

Report

ObsPy Version
1.0.2
Continuous Integration
-
GitHub Pull Request
-
Report File
XML Document
Total Runtime
295.0 sec
Report Date/Time
2019-12-09 09:08:52

System / Python

Architecture
64bit
Machine
x86_64
Node
MacBook-Air-de-Alina
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)
Python Implementation
CPython
Python Version
3.5.5
Release
18.7.0
System
Darwin
Version
Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.3.0
flake8
---
future
0.16.0
geographiclib
---
lxml.etree
4.2.5
m2crypto
---
matplotlib
2.2.2
mock
3.0.5
mpl_toolkits.basemap
---
numpy
1.14.3
osgeo.gdal
---
pep8-naming
---
pyflakes
2.1.1
pyimgur
---
pyproj
---
requests
2.19.1
scipy
1.1.0
setuptools
40.2.0
sqlalchemy
1.2.11

Modules (38)

Module Errors /
Failures
Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem - -
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
obspy.db - -
obspy.geodetics - -
obspy.imaging 36 16 17 18 19 20 21 22 23 24 25 26 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
obspy.io.ah - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.datamark - -
obspy.io.gse2 3 52 53 54
obspy.io.json - -
obspy.io.kinemetrics 1 55
obspy.io.kml - -
obspy.io.mseed 1 56
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.sac 2 57 58
obspy.io.seg2 1 59
obspy.io.segy - -
obspy.io.seisan 1 60
obspy.io.seiscomp 13 61 62 63 64 65 66 67 68 69 70 71 72 73
obspy.io.sh 1 74
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.xseed 1 75
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime 1 76
obspy.signal 1 77
obspy.taup 9 78 79 80 81 82 83 84 85 86
Summary 86 86

Tracebacks (86)

Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_utcdatetime.py", line 59, in test_from_numpy_string
self.assertEqual(dt, UTCDateTime(2009, 7, 1, 12, 12, 12))
AssertionError: <obspy.core.utcdatetime.UTCDateTime object at 0x1c1f5836a0> != UTCDateTime(2009, 7, 1, 12, 12, 12)
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_waveform_plugins.py", line 215, in test_is_format
self.assertEqual(len(false_positives), 0)
File "/anaconda3/lib/python3.5/unittest/case.py", line 829, in assertEqual
assertion_func(first, second, msg=msg)
File "/anaconda3/lib/python3.5/unittest/case.py", line 822, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 7 != 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_waveform_plugins.py", line 220, in test_is_format
raise Exception(msg)
Exception: False positives for isFormat:
	Format MSEED: /anaconda3/lib/python3.5/site-packages/obspy/io/ascii/tests/data/miniseed_record.mseed
	Format MSEED: /anaconda3/lib/python3.5/site-packages/obspy/io/seisan/tests/data/2011-09-06-1311-36S.A1032_001BH_Z.mseed
	Format MSEED: /anaconda3/lib/python3.5/site-packages/obspy/io/seisan/tests/data/D1360930.203.mseed
	Format MSEED: /anaconda3/lib/python3.5/site-packages/obspy/io/seisan/tests/data/2005-07-23-1452-04S.CER___030.mseed
	Format MSEED: /anaconda3/lib/python3.5/site-packages/obspy/io/ascii/tests/data/miniseed_record.mseed
	Format MSEED: /anaconda3/lib/python3.5/site-packages/obspy/core/tests/data/ffbx_unrotated_gaps.mseed
	Format SLIST: /anaconda3/lib/python3.5/site-packages/obspy/core/tests/data/ffbx_rotated.slist
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.resample
File "/anaconda3/lib/python3.5/site-packages/obspy/core/trace.py", line 1, in resample
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/core/trace.py", line 53, in obspy.core.trace.Trace.resample
Failed example:
tr.data # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Expected:
array([ 0.5 , 0.40432914, 0.3232233 , 0.26903012, 0.25 ...
Got:
array([0.5 , 0.40432914, 0.3232233 , 0.26903012, 0.25 ,
0.26903012, 0.3232233 , 0.40432914, 0.5 , 0.59567086,
0.6767767 , 0.73096988, 0.75 , 0.73096988, 0.6767767 ,
0.59567086, 0.5 , 0.40432914, 0.3232233 , 0.26903012,
0.25 , 0.26903012, 0.3232233 , 0.40432914, 0.5 ,
0.59567086, 0.6767767 , 0.73096988, 0.75 , 0.73096988,
0.6767767 , 0.59567086])
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.util.base.create_empty_data_chunk
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 126, in create_empty_data_chunk
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 142, in obspy.core.util.base.create_empty_data_chunk
Failed example:
create_empty_data_chunk(6, np.complex128, 0)
Expected:
array([ 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j])
Got:
array([0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j])
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 145, in obspy.core.util.base.create_empty_data_chunk
Failed example:
create_empty_data_chunk(
3, 'f') # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
masked_array(data = [-- -- --],
mask = ...,
...)
Got:
masked_array(data=[--, --, --],
mask=[ True, True, True],
fill_value=1e+20,
dtype=float32)
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_inventory.py", line 164, in test_response_plot
station="[WR]*", time=t, outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_trace.py", line 1414, in test_plot
tr.plot(show=False)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/trace.py", line 846, in plot
return waveform.plot_waveform()
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_response.py", line 138, in test_response_plot
outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_stream.py", line 1869, in test_plot
self.mseed_stream.plot(show=False)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.std
File "/anaconda3/lib/python3.5/site-packages/obspy/core/trace.py", line 1771, in std
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/core/trace.py", line 1783, in obspy.core.trace.Trace.std
Failed example:
tr.std()
Expected:
4.2614551505325036
Got:
4.261455150532504
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/core/trace.py", line 1786, in obspy.core.trace.Trace.std
Failed example:
tr.std()
Expected:
4.4348618918744247
Got:
4.434861891874425
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.__init__
File "/anaconda3/lib/python3.5/site-packages/obspy/core/__init__.py", line 11, in __init__
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/core/__init__.py", line 71, in obspy.core.__init__
Failed example:
tr.data
Expected:
array([ 0. , 0.00694644, 0.07597424, ..., 1.93449584,
0.98196204, 0.44196924])
Got:
array([0. , 0.00694644, 0.07597424, ..., 1.93449584, 0.98196204,
0.44196924])
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_trace.py", line 2205, in test_remove_response_plot
water_level=60, end_stage=None, plot=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: trace_remove_response.png
	RMS: 53.99760925924671
	Tolerance: 4.5
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_network.py", line 149, in test_response_plot
time=t, outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_station.py", line 58, in test_response_plot
sta.plot(0.05, channel="*[NE]", outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.std
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 2472, in std
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 2488, in obspy.core.stream.Stream.std
Failed example:
st.std()
Expected:
[4.2614551505325036, 4.4348618918744247]
Got:
[4.261455150532504, 4.434861891874425]
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_channel.py", line 63, in test_response_plot
cha.plot(0.005, outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 343, in test_plot_colored_section
st.plot(outfile=ic.name, type='section', color='channel')
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_color_section.png
	RMS: 20.87830069713529
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 402, in test_plot_day_plot_explicit_event
{'time': event5, 'text': 'Event 5'}])
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 283, in plot_waveform
self.plot_day(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 460, in plot_day
ax = self.fig.add_subplot(1, 1, 1, axisbg=self.background_color)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 83, in test_beachball
beachball(data_, outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: bb_sumatra_mt.png
	RMS: 79.80270672101291
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_mopad.py", line 79, in test_collection
fig.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_spectrogram.py", line 49, in test_spectrogram
np.seterr(**np_err)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 78, in test_data_remains_unchanged
st.plot(format='png')
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 186, in test_plot_complex_gap_many_samples
st.plot(outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 326, in test_mopad_fallback
beachball(mt, outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: mopad_fallback.png
	RMS: 71.48701700308945
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 216, in test_plot_multiple_traces
st.plot(outfile=ic.name, automerge=False)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/trace.py", line 846, in plot
return waveform.plot_waveform()
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_plot.py", line 60, in test_plot_no_merge
all_files)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/scripts/plot.py", line 38, in main
st.plot(outfile=args.outfile, automerge=args.automerge)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 255, in test_plot_with_labels
st.plot(outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_scan.py", line 69, in test_scan_times
['--quiet'])
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 207, in test_plot_complex_gap_few_samples
st.plot(outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 150, in test_plot_simple_gap_many_samples
st.plot(outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 416, in test_plot_day_plot_catalog
events=cat)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 283, in plot_waveform
self.plot_day(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 460, in plot_day
ax = self.fig.add_subplot(1, 1, 1, axisbg=self.background_color)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 135, in test_plot_one_hour_few_samples
st.plot(outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 300, in test_plot_azim_section
ev_coord=(0.0, 0.0))
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_azim_section.png
	RMS: 24.130108440148653
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 314, in test_collection_aspect_y
filename_width_height='bb_aspect_y_height.png')
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 280, in collection_aspect
fig.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 165, in test_plot_simple_gap_few_samples
st.plot(outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_scan.py", line 52, in test_scan
obspy_scan([os.curdir] + ['--output', ic.name, '--quiet'])
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 354, in test_plot_default_relative
st.plot(outfile=ic.name, type='relative')
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_ppsd.py", line 46, in test_ppsd_plot
fig.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 265, in test_plot_binning_error
tr.plot(outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/trace.py", line 846, in plot
return waveform.plot_waveform()
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 122, in test_plot_one_hour_many_samples
st.plot(outfile=ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_plot.py", line 44, in test_plot
obspy_plot(['--outfile', ic.name] + all_files)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/scripts/plot.py", line 38, in main
st.plot(outfile=args.outfile, automerge=args.automerge)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_ppsd.py", line 95, in test_ppsd_plot_cumulative
fig.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.imaging.__init__
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/__init__.py", line 35, in obspy.imaging.__init__
Failed example:
st.plot(color='gray', tick_format='%I:%M %p',
starttime=st[0].stats.starttime,
endtime=st[0].stats.starttime+20)
Exception raised:
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 1321, in __run
compileflags, 1), test.globs)
File "<doctest obspy.imaging.__init__[3]>", line 3, in <module>
endtime=st[0].stats.starttime+20)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/__init__.py", line 109, in obspy.imaging.__init__
Failed example:
beachball(np1) #doctest: +ELLIPSIS
Expected:
<matplotlib.figure.Figure object at 0x...>
Got:
<Figure size 200x200 with 1 Axes>
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/__init__.py", line 128, in obspy.imaging.__init__
Failed example:
beachball(mt) #doctest: +ELLIPSIS
Expected:
<matplotlib.figure.Figure object at 0x...>
Got:
<Figure size 200x200 with 1 Axes>
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 313, in test_plot_horizontal_section
st.plot(outfile=ic.name, type='section', orientation='horizontal')
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_horiz_section.png
	RMS: 26.81245083911577
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 254, in test_collection
fig.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_scan.py", line 95, in test_multiple_sampling_rates
obspy_scan(files + ['--output', ic.name, '--quiet'])
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 284, in test_plot_default_section
st.plot(outfile=ic.name, type='section')
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_default_section.png
	RMS: 24.215133560096945
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-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 "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_reftime_section.png
	RMS: 23.968450374050747
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 380, in test_plot_day_plot
timezone='EST', time_offset=-5)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 283, in plot_waveform
self.plot_day(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 460, in plot_day
ax = self.fig.add_subplot(1, 1, 1, axisbg=self.background_color)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 305, in test_collection_aspect_x
filename_width_height='bb_aspect_x_height.png')
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 280, in collection_aspect
fig.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 368, in test_plot_ref_time_relative
st.plot(outfile=ic.name, type='relative', reftime=ref)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_ppsd.py", line 69, in test_ppsd_plot_frequency
fig.savefig(ic.name, dpi=50)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.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 "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gse2.__init__
File "/anaconda3/lib/python3.5/site-packages/obspy/io/gse2/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/io/gse2/__init__.py", line 77, in obspy.io.gse2.__init__
Failed example:
print(st[0].data)
Expected:
[ 12 -10 16 ..., 8 0 -40]
Got:
[ 12 -10 16 ... 8 0 -40]
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/gse2/tests/test_bulletin.py", line 700, in test_read_events
catalog = read_events(filename)
File "<decorator-gen-80>", line 2, in read_events
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 294, in _map_example_filename
return func(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 839, in read_events
catalog = _read(pathnames[0], format, **kwargs)
File "<decorator-gen-81>", line 2, in _read
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 204, in uncompress_file
result = func(filename, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 852, in _read
**kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 444, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /anaconda3/lib/python3.5/site-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_2_events.txt
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gse2.bulletin._read_gse2
File "/anaconda3/lib/python3.5/site-packages/obspy/io/gse2/bulletin.py", line 984, in _read_gse2
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/io/gse2/bulletin.py", line 1107, in obspy.io.gse2.bulletin._read_gse2
Failed example:
catalog = read_events('/path/to/bulletin/gse_2.0_non_standard.txt',
default_network_code='FR', res_id_prefix='quakeml:abc',
fields=fields, event_point_separator=True)
Exception raised:
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 1321, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.bulletin._read_gse2[3]>", line 3, in <module>
fields=fields, event_point_separator=True)
File "<decorator-gen-80>", line 2, in read_events
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 294, in _map_example_filename
return func(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 839, in read_events
catalog = _read(pathnames[0], format, **kwargs)
File "<decorator-gen-81>", line 2, in _read
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 204, in uncompress_file
result = func(filename, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 852, in _read
**kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 444, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /anaconda3/lib/python3.5/site-packages/obspy/io/gse2/tests/data/bulletin/gse_2.0_non_standard.txt
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/io/gse2/bulletin.py", line 1110, in obspy.io.gse2.bulletin._read_gse2
Failed example:
print(catalog)
Exception raised:
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 1321, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.bulletin._read_gse2[4]>", line 1, in <module>
print(catalog)
NameError: name 'catalog' is not defined
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.kinemetrics.__init__
File "/anaconda3/lib/python3.5/site-packages/obspy/io/kinemetrics/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/io/kinemetrics/__init__.py", line 100, in obspy.io.kinemetrics.__init__
Failed example:
print(st[0].data)
Expected:
[-0.02446475 -0.02453492 -0.02446709 ..., -0.02452556 -0.02450685
-0.02442499]
Got:
[-0.02446475 -0.02453492 -0.02446709 ... -0.02452556 -0.02450685
-0.02442499]
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.mseed.__init__
File "/anaconda3/lib/python3.5/site-packages/obspy/io/mseed/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/io/mseed/__init__.py", line 65, in obspy.io.mseed.__init__
Failed example:
print(st[0].data)
Expected:
[2787 2776 2774 ..., 2850 2853 2853]
Got:
[2787 2776 2774 ... 2850 2853 2853]
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.sactrace.SACTrace.read
File "/anaconda3/lib/python3.5/site-packages/obspy/io/sac/sactrace.py", line 1101, in read
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/io/sac/sactrace.py", line 1139, in obspy.io.sac.sactrace.SACTrace.read
Failed example:
sac.data # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
array([ -8.74227766e-08, -3.09016973e-01, -5.87785363e-01,
-8.09017122e-01, -9.51056600e-01, -1.00000000e+00,
-9.51056302e-01, -8.09016585e-01, -5.87784529e-01,
...
8.09022486e-01, 9.51059461e-01, 1.00000000e+00,
9.51053500e-01, 8.09011161e-01, 5.87777138e-01,
3.09007347e-01], dtype=float32)
Got:
array([-8.74227766e-08, -3.09016973e-01, -5.87785363e-01, -8.09017122e-01,
-9.51056600e-01, -1.00000000e+00, -9.51056302e-01, -8.09016585e-01,
-5.87784529e-01, -3.09016049e-01, 1.12851990e-06, 3.09018195e-01,
5.87786376e-01, 8.09017897e-01, 9.51057017e-01, 1.00000000e+00,
9.51056063e-01, 8.09016109e-01, 5.87783873e-01, 3.09015274e-01,
-1.93119831e-06, -3.09018940e-01, -5.87787032e-01, -8.09018373e-01,
-9.51057255e-01, -1.00000000e+00, -9.51055706e-01, -8.09015334e-01,
-5.87782860e-01, -3.09014052e-01, 3.21071411e-06, 3.09020162e-01,
5.87788045e-01, 8.09019089e-01, 9.51057673e-01, 1.00000000e+00,
9.51055288e-01, 8.09014559e-01, 5.87781847e-01, 3.09012860e-01,
-4.49022991e-06, -3.09021384e-01, -5.87789118e-01, -8.09019864e-01,
-9.51058090e-01, -1.00000000e+00, -9.51054871e-01, -8.09013844e-01,
-5.87780774e-01, -3.09011638e-01, 5.76974526e-06, 3.09022605e-01,
5.87790132e-01, 8.09020638e-01, 9.51058447e-01, 1.00000000e+00,
9.51054513e-01, 8.09013069e-01, 5.87779760e-01, 3.09010416e-01,
-7.04926106e-06, -3.09023827e-01, -5.87791145e-01, -8.09021354e-01,
-9.51058865e-01, -1.00000000e+00, -9.51054096e-01, -8.09012353e-01,
-5.87778747e-01, -3.09009194e-01, 8.32877686e-06, 3.09025049e-01,
5.87792218e-01, 8.09022129e-01, 9.51059222e-01, 1.00000000e+00,
9.51053679e-01, 8.09011579e-01, 5.87777674e-01, 3.09007972e-01,
-9.60829220e-06, -3.09026241e-01, -5.87793231e-01, -8.09022844e-01,
-9.51059639e-01, -1.00000000e+00, -9.51053321e-01, -8.09010804e-01,
-5.87776661e-01, -3.09006751e-01, 1.08878085e-05, 3.09027463e-01,
5.87792754e-01, 8.09022486e-01, 9.51059461e-01, 1.00000000e+00,
9.51053500e-01, 8.09011161e-01, 5.87777138e-01, 3.09007347e-01],
dtype=float32)
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.__init__
File "/anaconda3/lib/python3.5/site-packages/obspy/io/sac/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/io/sac/__init__.py", line 59, in obspy.io.sac.__init__
Failed example:
st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
array([ -8.74227766e-08, -3.09016973e-01,..., 3.09007347e-01], dtype=float32)
Got:
array([-8.74227766e-08, -3.09016973e-01, -5.87785363e-01, -8.09017122e-01,
-9.51056600e-01, -1.00000000e+00, -9.51056302e-01, -8.09016585e-01,
-5.87784529e-01, -3.09016049e-01, 1.12851990e-06, 3.09018195e-01,
5.87786376e-01, 8.09017897e-01, 9.51057017e-01, 1.00000000e+00,
9.51056063e-01, 8.09016109e-01, 5.87783873e-01, 3.09015274e-01,
-1.93119831e-06, -3.09018940e-01, -5.87787032e-01, -8.09018373e-01,
-9.51057255e-01, -1.00000000e+00, -9.51055706e-01, -8.09015334e-01,
-5.87782860e-01, -3.09014052e-01, 3.21071411e-06, 3.09020162e-01,
5.87788045e-01, 8.09019089e-01, 9.51057673e-01, 1.00000000e+00,
9.51055288e-01, 8.09014559e-01, 5.87781847e-01, 3.09012860e-01,
-4.49022991e-06, -3.09021384e-01, -5.87789118e-01, -8.09019864e-01,
-9.51058090e-01, -1.00000000e+00, -9.51054871e-01, -8.09013844e-01,
-5.87780774e-01, -3.09011638e-01, 5.76974526e-06, 3.09022605e-01,
5.87790132e-01, 8.09020638e-01, 9.51058447e-01, 1.00000000e+00,
9.51054513e-01, 8.09013069e-01, 5.87779760e-01, 3.09010416e-01,
-7.04926106e-06, -3.09023827e-01, -5.87791145e-01, -8.09021354e-01,
-9.51058865e-01, -1.00000000e+00, -9.51054096e-01, -8.09012353e-01,
-5.87778747e-01, -3.09009194e-01, 8.32877686e-06, 3.09025049e-01,
5.87792218e-01, 8.09022129e-01, 9.51059222e-01, 1.00000000e+00,
9.51053679e-01, 8.09011579e-01, 5.87777674e-01, 3.09007972e-01,
-9.60829220e-06, -3.09026241e-01, -5.87793231e-01, -8.09022844e-01,
-9.51059639e-01, -1.00000000e+00, -9.51053321e-01, -8.09010804e-01,
-5.87776661e-01, -3.09006751e-01, 1.08878085e-05, 3.09027463e-01,
5.87792754e-01, 8.09022486e-01, 9.51059461e-01, 1.00000000e+00,
9.51053500e-01, 8.09011161e-01, 5.87777138e-01, 3.09007347e-01],
dtype=float32)
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seg2/tests/test_seg2.py", line 85, in test_read_data_format_2
self.assertEqual(len(w), 1)
AssertionError: 4 != 1
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.seisan.__init__
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seisan/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seisan/__init__.py", line 52, in obspy.io.seisan.__init__
Failed example:
print(st[0].data)
Expected:
[ 464 492 519 ..., -7042 -6960 -6858]
Got:
[ 464 492 519 ... -7042 -6960 -6858]
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/test_event.py", line 163, in test_read_id_prefix
catalog = _read_sc3ml(filename, id_prefix='quakeml:obspy.org/')
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/event.py", line 67, in _read_sc3ml
r'[0-9]*\.?[0-9]+)}', sc3ml_doc.tag)
AttributeError: 'lxml.etree._ElementTree' object has no attribute 'tag'
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 121, in test_empty_depth
"sc3ml_empty_depth_and_id.sc3ml"))
File "<decorator-gen-83>", line 2, in read_inventory
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 294, in _map_example_filename
return func(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/inventory/inventory.py", line 72, in read_inventory
format=format)[0]
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 464, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/sc3ml.py", line 159, in _read_sc3ml
networks.append(_read_network(inv_element, net_element, _ns))
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/sc3ml.py", line 209, in _read_network
stations.append(_read_station(inventory_root, sta_element, _ns))
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/sc3ml.py", line 272, in _read_station
channels.append(_read_channel(inventory_root, channel, _ns))
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/sc3ml.py", line 381, in _read_channel
longitude=longitude, elevation=elevation, depth=depth)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/inventory/channel.py", line 130, in __init__
self.latitude = latitude
File "/anaconda3/lib/python3.5/site-packages/obspy/core/inventory/channel.py", line 229, in latitude
self._latitude = Latitude(value)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/obspy_types.py", line 239, in __new__
if not cls._minimum <= float(value) <= cls._maximum:
TypeError: float() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/test_event.py", line 272, in test_write_xslt_neries_events
verbose=True)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 494, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'SC3ML'
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 71, in test_channel_level
"channel_level.sc3ml"))
File "<decorator-gen-83>", line 2, in read_inventory
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 294, in _map_example_filename
return func(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/inventory/inventory.py", line 72, in read_inventory
format=format)[0]
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 464, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/sc3ml.py", line 158, in _read_sc3ml
for net_element in inv_element.findall(_ns("network")):
AttributeError: 'NoneType' object has no attribute 'findall'
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 807, in read_events
catalog = _read(pathname_or_url, format, **kwargs)
File "<decorator-gen-81>", line 2, in _read
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 144, in uncompress_file
return func(filename, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 852, in _read
**kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 444, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file b'<?xml version="1.0" encoding="UTF-8"?>\n<seiscomp xmlns="http://geofon.gfz-potsdam.de/ns/seiscomp3-schema/0.9" version="0.9">\n <EventParameters publicID="smi:nz.org.geonet/catalog/1">\n <amplitude publicID="smi:nz.org.geonet/event/2806038g/amplitude/1/modified">\n <type>A</type>\n <amplitude>\n <value>1.0e-08</value>\n </amplitude>\n <timeWindow>\n <reference>2007-10-10T14:40:39.055</reference>\n <begin>0</begin>\n <end>0.51424</end>\n </timeWindow>\n <unit>m/s</unit>\n </amplitude>\n <origin publicID="smi:nz.org.geonet/event/2806038g/origin/1">\n <time>\n <value>2007-10-10T14:40:39.055</value>\n <uncertainty>0.51424</uncertainty>\n <confidenceLevel>68.0</confidenceLevel>\n </time>\n <latitude>\n <value>-38.28462</value>\n <uncertainty>0.02711</uncertainty>\n <confidenceLevel>99.0</confidenceLevel>\n </latitude>\n <longitude>\n <value>176.00703</value>\n <uncertainty>0.02229</uncertainty>\n <confidenceLevel>99.0</confidenceLevel>\n </longitude>\n <depth>\n <value>0.1555297</value>\n <uncertainty>0.0043677</uncertainty>\n <confidenceLevel>90.0</confidenceLevel>\n </depth>\n <depthType>from location</depthType>\n <timeFixed>true</timeFixed>\n <epicenterFixed>false</epicenterFixed>\n <referenceSystemID>smi:nz.org.geonet/referencesystem/27200</referenceSystemID>\n <quality>\n <usedPhaseCount>23</usedPhaseCount>\n <usedStationCount>19</usedStationCount>\n <standardError>0.21386</standardError>\n <azimuthalGap>203</azimuthalGap>\n <maximumDistance>217.43</maximumDistance>\n <minimumDistance>96.61</minimumDistance>\n </quality>\n <type>hypocenter</type>\n <evaluationMode>manual</evaluationMode>\n <evaluationStatus>confirmed</evaluationStatus>\n <stationMagnitude publicID="smi:nz.org.geonet/event/2806038g/stationmagnitude/1">\n <originID>smi:nz.org.geonet/event/2806038g/origin/1</originID>\n <magnitude>\n <value>3.662</value>\n <uncertainty>0.217</uncertainty>\n </magnitude>\n <amplitudeID>smi:nz.org.geonet/event/2806038g/amplitude/1/modified</amplitudeID>\n </stationMagnitude>\n <magnitude publicID="smi:nz.org.geonet/event/2806038g/magnitude/1">\n <magnitude>\n <value>3.662</value>\n <uncertainty>0.217</uncertainty>\n </magnitude>\n <type>ML</type>\n <originID>smi:nz.org.geonet/event/2806038g/origin/1</originID>\n <stationCount>15</stationCount>\n <evaluationStatus>confirmed</evaluationStatus>\n </magnitude>\n </origin>\n <event publicID="smi:nz.org.geonet/event/2806038g">\n <preferredOriginID>smi:nz.org.geonet/event/2806038g/origin/1</preferredOriginID>\n <preferredMagnitudeID>smi:nz.org.geonet/event/2806038g/magnitude/1</preferredMagnitudeID>\n <type>earthquake</type>\n <originReference>smi:nz.org.geonet/event/2806038g/origin/1</originReference>\n </event>\n </EventParameters>\n</seiscomp>\n'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/test_event.py", line 200, in test_read_string
catalog = read_events(data)
File "<decorator-gen-80>", line 2, in read_events
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 294, in _map_example_filename
return func(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 811, in read_events
pathname_or_url.seek(0)
AttributeError: 'bytes' object has no attribute 'seek'
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.seiscomp.event._read_sc3ml
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/event.py", line 31, in _read_sc3ml
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/event.py", line 57, in obspy.io.seiscomp.event._read_sc3ml
Failed example:
cat = read_events('/path/to/iris_events.sc3ml')
Exception raised:
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 1321, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.seiscomp.event._read_sc3ml[1]>", line 1, in <module>
cat = read_events('/path/to/iris_events.sc3ml')
File "<decorator-gen-80>", line 2, in read_events
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 294, in _map_example_filename
return func(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 839, in read_events
catalog = _read(pathnames[0], format, **kwargs)
File "<decorator-gen-81>", line 2, in _read
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 204, in uncompress_file
result = func(filename, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 852, in _read
**kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 444, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/data/iris_events.sc3ml
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/event.py", line 58, in obspy.io.seiscomp.event._read_sc3ml
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 1321, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.seiscomp.event._read_sc3ml[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/test_event.py", line 311, in test_read_and_write
catalog = read_events(filename)
File "<decorator-gen-80>", line 2, in read_events
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 294, in _map_example_filename
return func(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 839, in read_events
catalog = _read(pathnames[0], format, **kwargs)
File "<decorator-gen-81>", line 2, in _read
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 204, in uncompress_file
result = func(filename, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 852, in _read
**kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 444, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/data/qml-example-1.2-RC3_write.sc3ml
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/test_inventory.py", line 52, in test_sc3ml_versions
read_inventory(filename)
File "<decorator-gen-83>", line 2, in read_inventory
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 294, in _map_example_filename
return func(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/inventory/inventory.py", line 72, in read_inventory
format=format)[0]
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 464, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/sc3ml.py", line 158, in _read_sc3ml
for net_element in inv_element.findall(_ns("network")):
AttributeError: 'NoneType' object has no attribute 'findall'
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/test_event.py", line 155, in test_read_example
catalog = _read_sc3ml(filename)
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/event.py", line 67, in _read_sc3ml
r'[0-9]*\.?[0-9]+)}', sc3ml_doc.tag)
AttributeError: 'lxml.etree._ElementTree' object has no attribute 'tag'
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 449, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SC3ML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/test_event.py", line 209, in test_read_quakeml
read_events(filename, format='SC3ML')
File "<decorator-gen-80>", line 2, in read_events
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 294, in _map_example_filename
return func(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 839, in read_events
catalog = _read(pathnames[0], format, **kwargs)
File "<decorator-gen-81>", line 2, in _read
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 204, in uncompress_file
result = func(filename, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 852, in _read
**kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 452, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SC3ML" is not supported. Supported types: FNETMT, NLLOC_HYP, QUAKEML, MCHEDR, NDK, ZMAP, CMTSOLUTION
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/test_event.py", line 90, in test_sc3ml_versions
read_events(filename)
File "<decorator-gen-80>", line 2, in read_events
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 294, in _map_example_filename
return func(*args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 839, in read_events
catalog = _read(pathnames[0], format, **kwargs)
File "<decorator-gen-81>", line 2, in _read
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 204, in uncompress_file
result = func(filename, *args, **kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 852, in _read
**kwargs)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/base.py", line 444, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/data/version0.5
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/test_event.py", line 304, in test_write_remove_events
event_removal=True)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 494, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'SC3ML'
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/io/seiscomp/tests/test_event.py", line 293, in test_write_example
catalog.write(tf, format='SC3ML', validate=True)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 494, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'SC3ML'
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sh.__init__
File "/anaconda3/lib/python3.5/site-packages/obspy/io/sh/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/io/sh/__init__.py", line 55, in obspy.io.sh.__init__
Failed example:
st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
array([ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, ...
-4.03387604e+01, -3.99515305e+01, -3.95423012e+01], dtype=float32)
Got:
array([ 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00,
9.999987e-05, 3.338366e+01, 6.641345e+01, 9.907165e+01,
1.313408e+02, 1.632039e+02, 1.946445e+02, 2.256463e+02,
2.561938e+02, 2.862716e+02, 3.158649e+02, 3.449595e+02,
3.735416e+02, 4.015977e+02, 4.291148e+02, 4.560807e+02,
4.824833e+02, 5.083111e+02, 5.335532e+02, 5.581991e+02,
5.822387e+02, 6.056627e+02, 6.284618e+02, 6.506277e+02,
6.721521e+02, 6.930278e+02, 7.132476e+02, 7.328047e+02,
7.516935e+02, 7.699081e+02, 7.874437e+02, 8.042954e+02,
8.204593e+02, 8.359318e+02, 8.507097e+02, 8.647904e+02,
8.781716e+02, 8.908519e+02, 9.028298e+02, 9.141045e+02,
9.246761e+02, 9.345443e+02, 9.437100e+02, 9.521742e+02,
9.599384e+02, 9.670044e+02, 9.733748e+02, 9.790523e+02,
9.840402e+02, 9.883419e+02, 9.919617e+02, 9.949040e+02,
9.971735e+02, 9.987755e+02, 9.997157e+02, 1.000000e+03,
9.996348e+02, 9.986266e+02, 9.969827e+02, 9.947104e+02,
9.918174e+02, 9.883117e+02, 9.842017e+02, 9.794961e+02,
9.742039e+02, 9.683343e+02, 9.618969e+02, 9.549014e+02,
9.473580e+02, 9.392769e+02, 9.306688e+02, 9.215444e+02,
9.119149e+02, 9.017914e+02, 8.911855e+02, 8.801086e+02,
8.685729e+02, 8.565902e+02, 8.441728e+02, 8.313329e+02,
8.180833e+02, 8.044363e+02, 7.904048e+02, 7.760018e+02,
7.612402e+02, 7.461334e+02, 7.306941e+02, 7.149359e+02,
6.988723e+02, 6.825165e+02, 6.658820e+02, 6.489823e+02,
6.318311e+02, 6.144420e+02, 5.968284e+02, 5.790043e+02,
5.609829e+02, 5.427780e+02, 5.244034e+02, 5.058723e+02,
4.871986e+02, 4.683954e+02, 4.494765e+02, 4.304553e+02,
4.113447e+02, 3.921585e+02, 3.729093e+02, 3.536106e+02,
3.342753e+02, 3.149161e+02, 2.955461e+02, 2.761774e+02,
2.568228e+02, 2.374949e+02, 2.182056e+02, 1.989673e+02,
1.797915e+02, 1.606902e+02, 1.416753e+02, 1.227577e+02,
1.039492e+02, 8.526044e+01, 6.670248e+01, 4.828622e+01,
3.002179e+01, 1.191969e+01, -6.009835e+00, -2.375724e+01,
-4.131253e+01, -5.866658e+01, -7.581001e+01, -9.273368e+01,
-1.094291e+02, -1.258876e+02, -1.421010e+02, -1.580611e+02,
-1.737601e+02, -1.891906e+02, -2.043451e+02, -2.192169e+02,
-2.337988e+02, -2.480843e+02, -2.620674e+02, -2.757417e+02,
-2.891018e+02, -3.021419e+02, -3.148568e+02, -3.272417e+02,
-3.392915e+02, -3.510022e+02, -3.623694e+02, -3.733889e+02,
-3.840574e+02, -3.943714e+02, -4.043277e+02, -4.139235e+02,
-4.231560e+02, -4.320230e+02, -4.405224e+02, -4.486523e+02,
-4.564113e+02, -4.637978e+02, -4.708109e+02, -4.774497e+02,
-4.837136e+02, -4.896024e+02, -4.951160e+02, -5.002545e+02,
-5.050183e+02, -5.094081e+02, -5.134249e+02, -5.170696e+02,
-5.203436e+02, -5.232486e+02, -5.257861e+02, -5.279585e+02,
-5.297678e+02, -5.312165e+02, -5.323072e+02, -5.330428e+02,
-5.334263e+02, -5.334611e+02, -5.331505e+02, -5.324981e+02,
-5.315079e+02, -5.301838e+02, -5.285301e+02, -5.265509e+02,
-5.242509e+02, -5.216347e+02, -5.187073e+02, -5.154734e+02,
-5.119384e+02, -5.081075e+02, -5.039861e+02, -4.995798e+02,
-4.948942e+02, -4.899351e+02, -4.847086e+02, -4.792205e+02,
-4.734773e+02, -4.674849e+02, -4.612498e+02, -4.547784e+02,
-4.480773e+02, -4.411532e+02, -4.340126e+02, -4.266623e+02,
-4.191092e+02, -4.113603e+02, -4.034225e+02, -3.953027e+02,
-3.870081e+02, -3.785457e+02, -3.699226e+02, -3.611463e+02,
-3.522235e+02, -3.431619e+02, -3.339684e+02, -3.246504e+02,
-3.152153e+02, -3.056700e+02, -2.960221e+02, -2.862787e+02,
-2.764471e+02, -2.665348e+02, -2.565485e+02, -2.464957e+02,
-2.363835e+02, -2.262190e+02, -2.160095e+02, -2.057618e+02,
-1.954829e+02, -1.851799e+02, -1.748596e+02, -1.645292e+02,
-1.541949e+02, -1.438638e+02, -1.335424e+02, -1.232373e+02,
-1.129553e+02, -1.027023e+02, -9.248491e+01, -8.230938e+01,
-7.218187e+01, -6.210864e+01, -5.209529e+01, -4.214787e+01,
-3.227218e+01, -2.247388e+01, -1.275873e+01, -3.131806e+00,
6.401351e+00, 1.583551e+01, 2.516556e+01, 3.438632e+01,
4.349327e+01, 5.248148e+01, 6.134630e+01, 7.008325e+01,
7.868778e+01, 8.715596e+01, 9.548351e+01, 1.036665e+02,
1.117009e+02, 1.195831e+02, 1.273096e+02, 1.348769e+02,
1.422817e+02, 1.495208e+02, 1.565910e+02, 1.634897e+02,
1.702141e+02, 1.767615e+02, 1.831294e+02, 1.893154e+02,
1.953175e+02, 2.011336e+02, 2.067617e+02, 2.122001e+02,
2.174471e+02, 2.225013e+02, 2.273613e+02, 2.320260e+02,
2.364941e+02, 2.407648e+02, 2.448374e+02, 2.487110e+02,
2.523853e+02, 2.558598e+02, 2.591343e+02, 2.622086e+02,
2.650827e+02, 2.677568e+02, 2.702311e+02, 2.725060e+02,
2.745821e+02, 2.764599e+02, 2.781403e+02, 2.796240e+02,
2.809121e+02, 2.820058e+02, 2.829061e+02, 2.836146e+02,
2.841326e+02, 2.844617e+02, 2.846035e+02, 2.845599e+02,
2.843326e+02, 2.839238e+02, 2.833354e+02, 2.825696e+02,
2.816287e+02, 2.805150e+02, 2.792309e+02, 2.777791e+02,
2.761621e+02, 2.743825e+02, 2.724432e+02, 2.703470e+02,
2.680969e+02, 2.656956e+02, 2.631466e+02, 2.604527e+02,
2.576170e+02, 2.546431e+02, 2.515340e+02, 2.482932e+02,
2.449242e+02, 2.414301e+02, 2.378148e+02, 2.340815e+02,
2.302341e+02, 2.262761e+02, 2.222110e+02, 2.180428e+02,
2.137749e+02, 2.094114e+02, 2.049558e+02, 2.004119e+02,
1.957837e+02, 1.910748e+02, 1.862894e+02, 1.814311e+02,
1.765036e+02, 1.715112e+02, 1.664573e+02, 1.613463e+02,
1.561818e+02, 1.509675e+02, 1.457076e+02, 1.404056e+02,
1.350658e+02, 1.296917e+02, 1.242871e+02, 1.188560e+02,
1.134019e+02, 1.079290e+02, 1.024407e+02, 9.694056e+01,
9.143266e+01, 8.592022e+01, 8.040728e+01, 7.489719e+01,
6.939329e+01, 6.389946e+01, 5.841878e+01, 5.295506e+01,
4.751145e+01, 4.209107e+01, 3.669762e+01, 3.133389e+01,
2.600347e+01, 2.070927e+01, 1.545415e+01, 1.024153e+01,
5.073956e+00, -4.528630e-02, -5.113564e+00, -1.012829e+01,
-1.508639e+01, -1.998558e+01, -2.482291e+01, -2.959606e+01,
-3.430275e+01, -3.894025e+01, -4.350659e+01, -4.799920e+01,
-5.241605e+01, -5.675522e+01, -6.101436e+01, -6.519180e+01,
-6.928538e+01, -7.329341e+01, -7.721430e+01, -8.104610e+01,
-8.478751e+01, -8.843670e+01, -9.199241e+01, -9.545336e+01,
-9.881802e+01, -1.020854e+02, -1.052542e+02, -1.083233e+02,
-1.112920e+02, -1.141590e+02, -1.169238e+02, -1.195853e+02,
-1.221431e+02, -1.245964e+02, -1.269447e+02, -1.291877e+02,
-1.313246e+02, -1.333554e+02, -1.352798e+02, -1.370975e+02,
-1.388086e+02, -1.404127e+02, -1.419101e+02, -1.433009e+02,
-1.445851e+02, -1.457630e+02, -1.468349e+02, -1.478013e+02,
-1.486624e+02, -1.494188e+02, -1.500710e+02, -1.506197e+02,
-1.510655e+02, -1.514092e+02, -1.516516e+02, -1.517935e+02,
-1.518357e+02, -1.517794e+02, -1.516255e+02, -1.513750e+02,
-1.510292e+02, -1.505891e+02, -1.500560e+02, -1.494311e+02,
-1.487158e+02, -1.479115e+02, -1.470195e+02, -1.460413e+02,
-1.449784e+02, -1.438323e+02, -1.426046e+02, -1.412969e+02,
-1.399108e+02, -1.384480e+02, -1.369102e+02, -1.352992e+02,
-1.336167e+02, -1.318646e+02, -1.300446e+02, -1.281586e+02,
-1.262085e+02, -1.241962e+02, -1.221236e+02, -1.199925e+02,
-1.178052e+02, -1.155633e+02, -1.132691e+02, -1.109245e+02,
-1.085314e+02, -1.060920e+02, -1.036081e+02, -1.010821e+02,
-9.851581e+01, -9.591125e+01, -9.327070e+01, -9.059598e+01,
-8.788938e+01, -8.515289e+01, -8.238844e+01, -7.959832e+01,
-7.678439e+01, -7.394889e+01, -7.109379e+01, -6.822102e+01,
-6.533281e+01, -6.243098e+01, -5.951776e+01, -5.659503e+01,
-5.366467e+01, -5.072888e+01, -4.778937e+01, -4.484832e+01,
-4.190754e+01, -3.896879e+01, -3.603420e+01, -3.310539e+01,
-3.018443e+01, -2.727300e+01, -2.437280e+01, -2.148581e+01,
-1.861353e+01, -1.575791e+01, -1.292050e+01, -1.010287e+01,
-7.306848e+00, -4.533814e+00, -1.785544e+00, 9.365342e-01,
3.631025e+00, 6.296255e+00, 8.930993e+00, 1.153364e+01,
1.410293e+01, 1.663764e+01, 1.913626e+01, 2.159774e+01,
2.402068e+01, 2.640396e+01, 2.874655e+01, 3.104715e+01,
3.330486e+01, 3.551849e+01, 3.768711e+01, 3.980988e+01,
4.188569e+01, 4.391383e+01, 4.589332e+01, 4.782344e+01,
4.970349e+01, 5.153262e+01, 5.331029e+01, 5.503572e+01,
5.670840e+01, 5.832783e+01, 5.989335e+01, 6.140462e+01,
6.286109e+01, 6.426241e+01, 6.560828e+01, 6.689828e+01,
6.813223e+01, 6.930978e+01, 7.043080e+01, 7.149516e+01,
7.250264e+01, 7.345325e+01, 7.434686e+01, 7.518349e+01,
7.596322e+01, 7.668604e+01, 7.735207e+01, 7.796144e+01,
7.851433e+01, 7.901096e+01, 7.945152e+01, 7.983635e+01,
8.016570e+01, 8.043991e+01, 8.065939e+01, 8.082452e+01,
8.093573e+01, 8.099349e+01, 8.099830e+01, 8.095068e+01,
8.085117e+01, 8.070037e+01, 8.049888e+01, 8.024734e+01,
7.994638e+01, 7.959673e+01, 7.919907e+01, 7.875417e+01,
7.826274e+01, 7.772560e+01, 7.714354e+01, 7.651736e+01,
7.584795e+01, 7.513612e+01, 7.438281e+01, 7.358889e+01,
7.275525e+01, 7.188288e+01, 7.097267e+01, 7.002564e+01,
6.904277e+01, 6.802498e+01, 6.697335e+01, 6.588885e+01,
6.477255e+01, 6.362548e+01, 6.244863e+01, 6.124314e+01,
6.001001e+01, 5.875037e+01, 5.746527e+01, 5.615575e+01,
5.482299e+01, 5.346798e+01, 5.209193e+01, 5.069588e+01,
4.928088e+01, 4.784815e+01, 4.639867e+01, 4.493367e+01,
4.345417e+01, 4.196125e+01, 4.045609e+01, 3.893969e+01,
3.741326e+01, 3.587782e+01, 3.433439e+01, 3.278417e+01,
3.122812e+01, 2.966741e+01, 2.810305e+01, 2.653602e+01,
2.496747e+01, 2.339833e+01, 2.182973e+01, 2.026262e+01,
1.869794e+01, 1.713679e+01, 1.558004e+01, 1.402876e+01,
1.248384e+01, 1.094616e+01, 9.416759e+00, 7.896429e+00,
6.386178e+00, 4.886823e+00, 3.399170e+00, 1.924178e+00,
4.625617e-01, -9.847549e-01, -2.417034e+00, -3.833552e+00,
-5.233443e+00, -6.616073e+00, -7.980615e+00, -9.326418e+00,
-1.065285e+01, -1.195914e+01, -1.324475e+01, -1.450896e+01,
-1.575120e+01, -1.697090e+01, -1.816757e+01, -1.934050e+01,
-2.048925e+01, -2.161332e+01, -2.271222e+01, -2.378559e+01,
-2.483281e+01, -2.585355e+01, -2.684742e+01, -2.781403e+01,
-2.875311e+01, -2.966418e+01, -3.054700e+01, -3.140128e+01,
-3.222675e+01, -3.302323e+01, -3.379036e+01, -3.452802e+01,
-3.523600e+01, -3.591415e+01, -3.656237e+01, -3.718045e+01,
-3.776833e+01, -3.832594e+01, -3.885322e+01, -3.935016e+01,
-3.981667e+01, -4.025278e+01, -4.065853e+01, -4.103395e+01,
-4.137911e+01, -4.169406e+01, -4.197891e+01, -4.223377e+01,
-4.245879e+01, -4.265413e+01, -4.281992e+01, -4.295636e+01,
-4.306367e+01, -4.314207e+01, -4.319178e+01, -4.321307e+01,
-4.320619e+01, -4.317144e+01, -4.310912e+01, -4.301954e+01,
-4.290302e+01, -4.275992e+01, -4.259060e+01, -4.239541e+01,
-4.217473e+01, -4.192899e+01, -4.165858e+01, -4.136391e+01,
-4.104543e+01, -4.070354e+01, -4.033876e+01, -3.995153e+01,
-3.954230e+01], dtype=float32)
>>> Cannot import test suite for module obspy.io.xseed due to:
--------------------------------------------------------------
File "/anaconda3/bin/obspy-runtests", line 9, in <module>
load_entry_point('obspy==1.0.2', 'console_scripts', 'obspy-runtests')()
File "/anaconda3/lib/python3.5/site-packages/obspy/scripts/runtests.py", line 749, in main
errors = run(argv, interactive)
File "/anaconda3/lib/python3.5/site-packages/obspy/scripts/runtests.py", line 717, in run
pr_url=args.pr_url)
File "/anaconda3/lib/python3.5/site-packages/obspy/scripts/runtests.py", line 557, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/anaconda3/lib/python3.5/site-packages/obspy/scripts/runtests.py", line 177, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/anaconda3/lib/python3.5/unittest/loader.py", line 204, in loadTestsFromName
test = obj()
File "/anaconda3/lib/python3.5/site-packages/obspy/io/xseed/tests/__init__.py", line 16, in suite
add_doctests(suite, MODULE_NAME)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 135, in add_doctests
fromlist=[native_str("obspy")])
File "/anaconda3/lib/python3.5/site-packages/obspy/io/xseed/core.py", line 23, in <module>
from . import InvalidResponseError
ImportError: cannot import name 'InvalidResponseError'
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.realtime.rttrace.RtTrace
File "/anaconda3/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 41, in RtTrace
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 79, in obspy.realtime.rttrace.RtTrace
Failed example:
print(epicentral_distance)
Expected:
30.0855
Got:
30.085527
----------------------------------------------------------------------
File "/anaconda3/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 109, in obspy.realtime.rttrace.RtTrace
Failed example:
print(peak)
Expected:
0.136404
Got:
0.13640444
>>> Cannot import test suite for module obspy.signal due to:
------------------------------------------------------------
File "/anaconda3/bin/obspy-runtests", line 9, in <module>
load_entry_point('obspy==1.0.2', 'console_scripts', 'obspy-runtests')()
File "/anaconda3/lib/python3.5/site-packages/obspy/scripts/runtests.py", line 749, in main
errors = run(argv, interactive)
File "/anaconda3/lib/python3.5/site-packages/obspy/scripts/runtests.py", line 717, in run
pr_url=args.pr_url)
File "/anaconda3/lib/python3.5/site-packages/obspy/scripts/runtests.py", line 557, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/anaconda3/lib/python3.5/site-packages/obspy/scripts/runtests.py", line 177, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/anaconda3/lib/python3.5/unittest/loader.py", line 204, in loadTestsFromName
test = obj()
File "/anaconda3/lib/python3.5/site-packages/obspy/signal/tests/__init__.py", line 16, in suite
add_doctests(suite, MODULE_NAME)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 135, in add_doctests
fromlist=[native_str("obspy")])
File "/anaconda3/lib/python3.5/site-packages/obspy/signal/quality_control.py", line 34, in <module>
from obspy.core.util.base import get_dependency_version
ImportError: cannot import name 'get_dependency_version'
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 93, in test_cartesian_many_phases_buried_station
plt.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: cartesian_many_phases_buried_station.png
	RMS: 45.60233327363853
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 32, in test_spherical_many_phases
plt.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: spherical_many_phases.png
	RMS: 34.50491906960513
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 114, in test_cartesian_multiple_station_markers
plt.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: cartesian_multiple_stations.png
	RMS: 41.6316594272516
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 74, in test_spherical_diff_phases
plt.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: spherical_diff_phases.png
	RMS: 21.219802826605154
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 104, in test_cartesian_many_phases_no_other_way
plt.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: cartesian_many_phases_single_way.png
	RMS: 43.996592292282514
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 81, in test_cartesian_many_phases
plt.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: cartesian_many_phases.png
	RMS: 44.7142244332457
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 55, in test_spherical_many_phases_no_other_way
plt.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: spherical_many_phases_single_way.png
	RMS: 28.894513804526976
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 65, in test_spherical_more_then_360_degrees
plt.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: spherical_more_then_360.png
	RMS: 20.83252533899815
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 44, in test_spherical_many_phases_buried_station
plt.savefig(ic.name)
File "/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: spherical_many_phases_buried_station.png
	RMS: 34.867456460143465
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').

Slowest Tests (20)

Runtime Test
22.927s test_kennet_ak135_ttime_tables_p_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
21.922s test_kennet_ak135_ttime_tables_s_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
20.056s test_kennet_ak135_ttime_tables_p_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
16.390s test_kennet_ak135_ttime_tables_s_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
12.076s test_kennet_ak135_ttime_tables_pkikp (obspy.taup.tests.test_tau.TauPyModelTestCase)
11.517s test_kennet_ak135_ttime_tables_scs (obspy.taup.tests.test_tau.TauPyModelTestCase)
11.425s test_kennet_ak135_ttime_tables_pcp (obspy.taup.tests.test_tau.TauPyModelTestCase)
9.373s read (obspy.core.stream)
9.210s test_kennet_ak135_ttime_tables_scp (obspy.taup.tests.test_tau.TauPyModelTestCase)
6.330s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
5.701s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
5.200s test_read (obspy.core.tests.test_stream.StreamTestCase)
4.446s test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.380s test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.259s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.243s test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
4.144s test_spherical_many_phases_buried_station (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
4.089s test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.010s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.623s test_cartesian_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)

Chuck Norris Fact

No one has ever pair-programmed with Chuck Norris and lived to tell about it.