#104640 Report by node sihy covering 837 tests from 38 modules resulted into 95 errors

Report

ObsPy version
1.0.2
GitHub Pull Request
-
Report file
XML document
Total runtime
688.6 sec
Report date/time
Aug. 30, 2019, 5:01 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
sihy
Processor
x86_64
Python Compiler
GCC 7.3.0
Python Implementation
CPython
Python Version
2.7.16
Release
3.10.0-957.el7.x86_64
System
Linux
Version
#1 SMP Thu Nov 8 23:39:32 UTC 2018

Dependencies

cartopy
---
decorator
4.4.0
flake8
---
future
0.17.1
geographiclib
---
lxml.etree
4.4.1
m2crypto
---
matplotlib
2.2.3
mock
---
mpl_toolkits.basemap
---
numpy
1.16.4
osgeo.gdal
---
pep8-naming
---
pyflakes
---
pyimgur
---
pyproj
---
requests
2.22.0
scipy
1.2.1
setuptools
41.0.1
sqlalchemy
1.3.7

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 1 1
obspy.db - -
obspy.geodetics - -
obspy.imaging 42 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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
obspy.io.ah - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.datamark - -
obspy.io.gse2 1 44
obspy.io.json - -
obspy.io.kinemetrics 1 45
obspy.io.kml - -
obspy.io.mseed 1 46
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.sac 2 47 48
obspy.io.seg2 1 49
obspy.io.segy - -
obspy.io.seisan 2 50 51
obspy.io.seiscomp - -
obspy.io.sh 1 52
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime 1 53
obspy.signal 27 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
obspy.taup 15 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
Summary 95 95

Tracebacks (95)

>>> Cannot import test suite for module obspy.core due to:
----------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/bin/obspy-runtests", line 9, in <module>
load_entry_point('obspy==1.0.2', 'console_scripts', 'obspy-runtests')()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 749, in main
errors = run(argv, interactive)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 717, in run
pr_url=args.pr_url)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 557, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/scripts/runtests.py", line 177, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/tests/__init__.py", line 17, in suite
add_unittests(suite, MODULE_NAME)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 86, in add_unittests
fromlist=[native_str("obspy")])
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/tests/test_inventory.py", line 25, in <module>
from obspy.core.compatibility import mock
ImportError: cannot import name mock
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 241, in test_script_gmt_event
'-r', '3')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 202, in compare_gmt
exp_data = np.genfromtxt(expected, comments='>')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 213, in test_script_gmt_fill
'--scaling', '2', '--color1', '3', '--color2', '5')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 202, in compare_gmt
exp_data = np.genfromtxt(expected, comments='>')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 218, in test_script_gmt_lines
'--scaling', '2', '--color1', '3', '--color2', '5')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 202, in compare_gmt
exp_data = np.genfromtxt(expected, comments='>')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 236, in test_script_gmt_lines_lambo
'--projection', 'stereo')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 202, in compare_gmt
exp_data = np.genfromtxt(expected, comments='>')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 230, in test_script_gmt_lines_ortho
'--projection', 'ortho')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 202, in compare_gmt
exp_data = np.genfromtxt(expected, comments='>')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 224, in test_script_gmt_lines_stereo
'--projection', 'stereo')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad_script.py", line 202, in compare_gmt
exp_data = np.genfromtxt(expected, comments='>')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_plot.py", line 44, in test_plot
obspy_plot(['--outfile', ic.name] + all_files)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/scripts/plot.py", line 38, in main
st.plot(outfile=args.outfile, automerge=args.automerge)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_plot.py", line 60, in test_plot_no_merge
all_files)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/scripts/plot.py", line 38, in main
st.plot(outfile=args.outfile, automerge=args.automerge)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 78, in test_data_remains_unchanged
st.plot(format='png')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_horiz_section.png
	RMS: 26.8124508391
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 284, in test_plot_default_section
st.plot(outfile=ic.name, type='section')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_default_section.png
	RMS: 24.2151335601
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_reftime_section.png
	RMS: 23.9684503741
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_ppsd.py", line 95, in test_ppsd_plot_cumulative
fig.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 255, in test_plot_with_labels
st.plot(outfile=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 150, in test_plot_simple_gap_many_samples
st.plot(outfile=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 165, in test_plot_simple_gap_few_samples
st.plot(outfile=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_beachball.py", line 305, in test_collection_aspect_x
filename_width_height='bb_aspect_x_height.png')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_beachball.py", line 280, in collection_aspect
fig.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_beachball.py", line 254, in test_collection
fig.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (1800, 1800, 4) is not equal to the expected shape (600, 600, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_beachball.py", line 83, in test_beachball
beachball(data_, outfile=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: bb_sumatra_mt.png
	RMS: 79.802706721
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.imaging.__init__
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.imaging.__init__[3]>", line 3, in <module>
endtime=st[0].stats.starttime+20)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_beachball.py", line 326, in test_mopad_fallback
beachball(mt, outfile=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: mopad_fallback.png
	RMS: 71.4870170031
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_beachball.py", line 314, in test_collection_aspect_y
filename_width_height='bb_aspect_y_height.png')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_beachball.py", line 280, in collection_aspect
fig.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_ppsd.py", line 69, in test_ppsd_plot_frequency
fig.savefig(ic.name, dpi=50)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (240, 320, 4) is not equal to the expected shape (300, 400, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 300, in test_plot_azim_section
ev_coord=(0.0, 0.0))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_azim_section.png
	RMS: 24.1301084401
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: waveform_color_section.png
	RMS: 20.8783006971
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_mopad.py", line 79, in test_collection
fig.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (1800, 1800, 4) is not equal to the expected shape (600, 600, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_ppsd.py", line 46, in test_ppsd_plot
fig.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 135, in test_plot_one_hour_few_samples
st.plot(outfile=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 122, in test_plot_one_hour_many_samples
st.plot(outfile=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_scan.py", line 95, in test_multiple_sampling_rates
obspy_scan(files + ['--output', ic.name, '--quiet'])
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (288, 432, 4) is not equal to the expected shape (400, 600, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_scan.py", line 52, in test_scan
obspy_scan([os.curdir] + ['--output', ic.name, '--quiet'])
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (468, 1872, 4) is not equal to the expected shape (650, 2600, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_scan.py", line 69, in test_scan_times
['--quiet'])
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (468, 876, 4) is not equal to the expected shape (650, 1216, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_spectrogram.py", line 49, in test_spectrogram
np.seterr(**np_err)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 186, in test_plot_complex_gap_many_samples
st.plot(outfile=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 380, in test_plot_day_plot
timezone='EST', time_offset=-5)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 283, in plot_waveform
self.plot_day(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 460, in plot_day
ax = self.fig.add_subplot(1, 1, 1, axisbg=self.background_color)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 265, in test_plot_binning_error
tr.plot(outfile=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/trace.py", line 846, in plot
return waveform.plot_waveform()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 207, in test_plot_complex_gap_few_samples
st.plot(outfile=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 354, in test_plot_default_relative
st.plot(outfile=ic.name, type='relative')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 216, in test_plot_multiple_traces
st.plot(outfile=ic.name, automerge=False)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/trace.py", line 846, in plot
return waveform.plot_waveform()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 416, in test_plot_day_plot_catalog
events=cat)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 283, in plot_waveform
self.plot_day(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 460, in plot_day
ax = self.fig.add_subplot(1, 1, 1, axisbg=self.background_color)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/tests/test_waveform.py", line 402, in test_plot_day_plot_explicit_event
{'time': event5, 'text': 'Event 5'}])
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 283, in plot_waveform
self.plot_day(*args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/imaging/waveform.py", line 460, in plot_day
ax = self.fig.add_subplot(1, 1, 1, axisbg=self.background_color)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/figure.py", line 1257, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 541, in __init__
self.update(kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gse2.__init__
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/io/gse2/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.kinemetrics.__init__
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/io/kinemetrics/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.mseed.__init__
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/io/mseed/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.sactrace.SACTrace.read
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/io/sac/sactrace.py", line 1101, in read
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.__init__
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/io/sac/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/io/seisan/tests/test_core.py", line 78, in test_read_seisan
np.loadtxt(datafile, dtype=np.int32).tolist())
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 962, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.seisan.__init__
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/io/seisan/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sh.__init__
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/io/sh/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.realtime.rttrace.RtTrace
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/realtime/rttrace.py", line 41, in RtTrace
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/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 "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/realtime/rttrace.py", line 109, in obspy.realtime.rttrace.RtTrace
Failed example:
print(peak)
Expected:
0.136404
Got:
0.13640444
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal._sosfilt._sosfilt
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/_sosfilt.py", line 403, in _sosfilt
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/_sosfilt.py", line 466, in obspy.signal._sosfilt._sosfilt
Failed example:
plt.figure() # doctest: +ELLIPSIS
Expected:
<matplotlib.figure.Figure object at 0x...>
Got:
<Figure size 640x480 with 0 Axes>
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal._sosfilt._cplxreal
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/_sosfilt.py", line 25, in _cplxreal
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/_sosfilt.py", line 69, in obspy.signal._sosfilt._cplxreal
Failed example:
print(zc)
Expected:
[ 1.+1.j 2.+1.j 2.+1.j 2.+2.j]
Got:
[1.+1.j 2.+1.j 2.+1.j 2.+2.j]
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/_sosfilt.py", line 71, in obspy.signal._sosfilt._cplxreal
Failed example:
print(zr)
Expected:
[ 1. 3. 4.]
Got:
[1. 3. 4.]
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_trigger.py", line 90, in test_ar_pick
data.append(np.loadtxt(file, dtype=np.float32))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 962, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_tf_misfit.py", line 94, in test_phase_misfit
tfem_11p_ref = np.loadtxt(self.path + os.sep + 'TFEM_11p.dat')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 962, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_tf_misfit.py", line 157, in test_envelope_misfit
tfem_11a_ref = np.loadtxt(self.path + os.sep + 'TFEM_11a.dat')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 962, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 312, in test_ppsd_w_iris_against_obspy_results
results_paz = PPSD.load_npz(filename_paz, metadata=None)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1404, in load_npz
data_ = data[key]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/format.py", line 696, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 261, in test_ppsd_w_iris
(native_str("hits"), np.int32)])
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 384, in test_ppsd_save_and_load_npz
ppsd_loaded = PPSD.load_npz(filename, metadata=paz)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1404, in load_npz
data_ = data[key]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/format.py", line 696, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 555, in test_ppsd_add_npz
ppsd = PPSD.load_npz(tf1.name, metadata=None)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1404, in load_npz
data_ = data[key]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/format.py", line 696, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 218, in test_ppsd
ppsd_loaded = PPSD.load_npz(filename)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/spectral_estimation.py", line 1404, in load_npz
data_ = data[key]
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/format.py", line 696, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_polarization.py", line 57, in setUp
data_z = np.loadtxt(join(path, 'MBGA_Z.ASC'))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 962, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_polarization.py", line 57, in setUp
data_z = np.loadtxt(join(path, 'MBGA_Z.ASC'))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 962, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_freqattributes.py", line 143, in test_logcep
self.p, self.n, 'Hamming')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/freqattributes.py", line 359, in log_cepstrum
m, a, b = log_spaced_filterbank_matrix(p, nfft, fs, w)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/freqattributes.py", line 330, in log_spaced_filterbank_matrix
xx = sparse.coo_matrix((v, (c, r))).transpose().todense()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/scipy/sparse/coo.py", line 150, in __init__
self._shape = check_shape((M, N))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/scipy/sparse/sputils.py", line 279, in check_shape
new_shape = tuple(operator.index(arg) for arg in args)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/scipy/sparse/sputils.py", line 279, in <genexpr>
new_shape = tuple(operator.index(arg) for arg in args)
TypeError: 'numpy.float64' object cannot be interpreted as an index
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_polarization.py", line 57, in setUp
data_z = np.loadtxt(join(path, 'MBGA_Z.ASC'))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 962, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_calibration.py", line 49, in test_relcal_sts2_vs_unknown
un_resp = np.loadtxt(os.path.join(self.path, 'unknown.resp'))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 962, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_polarization.py", line 57, in setUp
data_z = np.loadtxt(join(path, 'MBGA_Z.ASC'))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 962, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_polarization.py", line 57, in setUp
data_z = np.loadtxt(join(path, 'MBGA_Z.ASC'))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 962, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 462, in test_ppsd_restricted_stacks
np.seterr(**_t)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_tf_misfit.py", line 262, in test_plot_tfr
plt.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_cross_correlation.py", line 74, in test_xcorr_pick_correction_images
t1, tr1, t2, tr2, 0.05, 0.2, 0.1, plot=True, filename=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_detrend.py", line 73, in test_polynomial_detrend_plotting
polynomial(tr.data, order=3, plot=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: polynomial_detrend.png
	RMS: 60.6515134189
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_detrend.py", line 87, in test_spline_detrend_plotting
spline(tr.data, order=1, dspline=1500, plot=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: degree_1_spline_detrend.png
	RMS: 61.4465569418
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/tests/test_interpolation.py", line 136, in test_plot_lanczos_window
plot_lanczos_windows(a=20, filename=ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: plot_lanczos_window.png
	RMS: 47.8344283266
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal._sosfilt._zpk2sos
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/_sosfilt.py", line 139, in _zpk2sos
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/_sosfilt.py", line 254, in obspy.signal._sosfilt._zpk2sos
Failed example:
sos[:, :3]
Expected:
array([[ 0.0014154 , 0.00248707, 0.0014154 ],
[ 1. , 0.72965193, 1. ],
[ 1. , 0.17594966, 1. ]])
Got:
array([[0.0014154 , 0.00248707, 0.0014154 ],
[1. , 0.72965193, 1. ],
[1. , 0.17594966, 1. ]])
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal.cross_correlation.templates_max_similarity
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/cross_correlation.py", line 437, in templates_max_similarity
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/cross_correlation.py", line 467, in obspy.signal.cross_correlation.templates_max_similarity
Failed example:
print(templates_max_similarity(st, t, [templ]))
Expected:
0.922536411468
Got:
0.9225364114676284
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal.rotate._dip_azimuth2zse_base_vector
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/rotate.py", line 155, in _dip_azimuth2zse_base_vector
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/rotate.py", line 166, in obspy.signal.rotate._dip_azimuth2zse_base_vector
Failed example:
r(_dip_azimuth2zse_base_vector(-90, 0)) #doctest: +NORMALIZE_WHITESPACE
Expected:
array([ 1., 0., 0.])
Got:
array([1., 0., 0.])
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/rotate.py", line 172, in obspy.signal.rotate._dip_azimuth2zse_base_vector
Failed example:
r(_dip_azimuth2zse_base_vector(0, 180)) #doctest: +NORMALIZE_WHITESPACE
Expected:
array([ 0., 1., 0.])
Got:
array([0., 1., 0.])
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/rotate.py", line 174, in obspy.signal.rotate._dip_azimuth2zse_base_vector
Failed example:
r(_dip_azimuth2zse_base_vector(0, 90)) #doctest: +NORMALIZE_WHITESPACE
Expected:
array([ 0., 0., 1.])
Got:
array([0., 0., 1.])
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/doctest.py", line 2224, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal.rotate.rotate2zne
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/rotate.py", line 194, in rotate2zne
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/rotate.py", line 229, in obspy.signal.rotate.rotate2zne
Failed example:
rotate2zne(np.arange(3), 0, -90, np.arange(3) * 2, 0, 0, np.arange(3) * 3, 90, 0) # doctest: +NORMALIZE_WHITESPACE
Expected:
(array([ 0., 1., 2.]), array([ 0., 2., 4.]), array([ 0., 3., 6.]))
Got:
(array([0., 1., 2.]), array([0., 2., 4.]), array([0., 3., 6.]))
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/rotate.py", line 234, in obspy.signal.rotate.rotate2zne
Failed example:
rotate2zne(np.arange(3), 0, -90, np.arange(3) * 2, 180, 0, np.arange(3) * 3, 90, 0) # doctest: +NORMALIZE_WHITESPACE
Expected:
(array([ 0., 1., 2.]), array([ 0., -2., -4.]), array([ 0., 3., 6.]))
Got:
(array([0., 1., 2.]), array([ 0., -2., -4.]), array([0., 3., 6.]))
----------------------------------------------------------------------
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/signal/rotate.py", line 239, in obspy.signal.rotate.rotate2zne
Failed example:
rotate2zne(np.arange(3), 0, 0, np.arange(3) * 2, 90, 0, np.arange(3) * 3, 0, -90) # doctest: +NORMALIZE_WHITESPACE
Expected:
(array([ 0., 3., 6.]), array([ 0., 1., 2.]), array([ 0., 2., 4.]))
Got:
(array([0., 3., 6.]), array([0., 1., 2.]), array([0., 2., 4.]))
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_plotting.py", line 114, in test_cartesian_multiple_station_markers
plt.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: cartesian_multiple_stations.png
	RMS: 41.6316594273
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_plotting.py", line 104, in test_cartesian_many_phases_no_other_way
plt.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: cartesian_many_phases_single_way.png
	RMS: 43.9965922923
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_velocity_model.py", line 26, in test_read_velocity_model
test2 = VelocityModel.read_velocity_file(velocity_model)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/velocity_model.py", line 461, in read_velocity_file
v_mod = cls.read_tvel_file(filename)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/velocity_model.py", line 510, in read_tvel_file
data = np.genfromtxt(filename, skip_header=2, comments='#')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_tau.py", line 503, in test_single_path_iasp91
expected = np.genfromtxt(filename, comments='>')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_plotting.py", line 93, in test_cartesian_many_phases_buried_station
plt.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: cartesian_many_phases_buried_station.png
	RMS: 45.6023332736
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_plotting.py", line 81, in test_cartesian_many_phases
plt.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: cartesian_many_phases.png
	RMS: 44.7142244332
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_tau.py", line 362, in test_pierce_p_iasp91_fallback_geo
expected = np.genfromtxt(filename, skip_header=1)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_tau.py", line 287, in test_pierce_p_iasp91
expected = np.genfromtxt(filename, skip_header=1)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_tau.py", line 603, in test_single_path_geo_fallback_iasp91
expected = np.genfromtxt(filename, comments='>')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_tau.py", line 650, in test_single_path_ak135
expected = np.genfromtxt(filename, comments='>')
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1744, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rt', encoding=encoding))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 266, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 616, in open
found = self._findfile(path)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 445, in _findfile
filelist += self._possible_names(self.abspath(path))
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/numpy/lib/_datasource.py", line 496, in abspath
splitpath = path.split(self._destpath, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_plotting.py", line 44, in test_spherical_many_phases_buried_station
plt.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: spherical_many_phases_buried_station.png
	RMS: 34.8674564601
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_plotting.py", line 55, in test_spherical_many_phases_no_other_way
plt.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: spherical_many_phases_single_way.png
	RMS: 28.8945138045
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_plotting.py", line 74, in test_spherical_diff_phases
plt.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: spherical_diff_phases.png
	RMS: 21.2198028266
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_plotting.py", line 32, in test_spherical_many_phases
plt.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: spherical_many_phases.png
	RMS: 34.5049190696
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).
Traceback (most recent call last):
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/taup/tests/test_plotting.py", line 65, in test_spherical_more_then_360_degrees
plt.savefig(ic.name)
File "/root/anaconda3/envs/obspy0.10/lib/python2.7/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
ImageComparisonException: Image comparison failed.
	File: spherical_more_then_360.png
	RMS: 20.832525339
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named pyimgur).

Slowest tests (20)

Runtime Test
148.604s test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
44.691s test_kennet_ak135_ttime_tables_p_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
43.973s test_spherical_many_phases_buried_station (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
43.765s test_kennet_ak135_ttime_tables_s_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
40.095s test_kennet_ak135_ttime_tables_p_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
31.607s test_kennet_ak135_ttime_tables_s_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
23.674s test_kennet_ak135_ttime_tables_pcp (obspy.taup.tests.test_tau.TauPyModelTestCase)
23.482s test_kennet_ak135_ttime_tables_pkikp (obspy.taup.tests.test_tau.TauPyModelTestCase)
22.917s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
21.116s test_kennet_ak135_ttime_tables_scs (obspy.taup.tests.test_tau.TauPyModelTestCase)
20.732s test_spherical_many_phases_no_other_way (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
16.216s test_kennet_ak135_ttime_tables_scp (obspy.taup.tests.test_tau.TauPyModelTestCase)
12.820s test_spherical_more_then_360_degrees (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
8.076s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
6.479s __init__ (obspy.taup)
5.247s test_cartesian_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
4.960s test_cartesian_many_phases_buried_station (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
4.480s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.375s test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.314s test_cartesian_many_phases_no_other_way (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)