#105222 Report by node travis-ci covering 1864 tests from 47 modules resulted into 44 errors

Report

ObsPy Version
1.1.1.post0+833.g4236e6decd
Continuous Integration
https://travis-ci.org/obspy/obspy/jobs/586437312
GitHub Pull Request
https://github.com/obspy/obspy/pull/2459
Report File
XML Document
Total Runtime
377.0 sec
Report Date/Time
2019-09-18 05:23:03

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
i386
Python Compiler
Clang 4.0.1 (tags/RELEASE_401/final)
Python Implementation
CPython
Python Version
3.7.3
Release
17.4.0
System
Darwin
Version
Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.4.0
flake8
---
future
0.17.1
geographiclib
1.49
lxml.etree
4.4.1
m2crypto
---
matplotlib
3.1.1
mock
3.0.5
mpl_toolkits.basemap
1.2.1
numpy
1.17.2
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.6
requests
2.22.0
scipy
1.3.1
setuptools
41.2.0
shapefile
2.1.0
sqlalchemy
1.3.8

Modules (47)

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.nrl Not tested -
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core 4 1 2 3 4
obspy.db - -
obspy.geodetics - -
obspy.imaging 5 5 6 7 8 9
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.focmec - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.rg16 - -
obspy.io.sac 30 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
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime 2 40 41
obspy.scripts - -
obspy.signal 3 42 43 44
obspy.taup - -
Summary 44 44

Tracebacks (44)

Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_stream.py", line 1913, in test_read_url_via_network
tr = read('https://examples.obspy.org/test.sac', dtype=np.int32)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 686, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/obspy-wngq9_cysac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_trace.py", line 1884, in test_interpolate
org_tr = read("/path/to/%s" % file_)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/interpolation_test_random_waveform_delta_0.01_npts_50.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_waveform_plugins.py", line 100, in test_read_and_write
st = read(outfile)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/obspy-wb3k0mov.tmp
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/tests/test_waveform_plugins.py", line 605, in test_is_format_check_keep_file_position
self.fail('\n '.join(msg))
AssertionError: isFormat checks that raised an exception when provided an open buffer: _is_ah _is_gse1 _is_reftek130 _is_su
Buffer's position was changed by function(s): _is_pickle _is_rg16 _is_seg2 _is_wav
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/tests/test_scan.py", line 135, in test_scanner_manually_add_streams
st = read(file_, headonly=True)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file dis.G.SCZ.__.BHE_short
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/tests/test_scan.py", line 73, in test_scan_function_and_scanner_class
scan(paths=os.curdir, plot=ic.name)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 442, in __exit__
msg = self.compare()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 542, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 204, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (400, 1600, 4) is not equal to the expected shape (650, 2600, 4).
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/tests/test_scan.py", line 57, in test_scan_main_method
obspy_scan([os.curdir] + ['--output', ic.name])
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 442, in __exit__
msg = self.compare()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 542, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 204, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (400, 1600, 4) is not equal to the expected shape (650, 2600, 4).
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/tests/test_scan.py", line 169, in test_scan_save_load_npz
scanner.plot(ic.name)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 442, in __exit__
msg = self.compare()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 542, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 204, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (400, 1600, 4) is not equal to the expected shape (650, 2600, 4).
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/imaging/tests/test_scan.py", line 189, in test_scan_times
['--event-time', '2004-02-07T18:28:18'])
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 442, in __exit__
msg = self.compare()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 542, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 204, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (400, 1216, 4) is not equal to the expected shape (650, 1216, 4).
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 151, in uncompress_file
return func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 441, in _read_from_plugin
is_format = is_format(filename)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/gse2/core.py", line 124, in _is_gse1
with open(filename, 'rb') as f:
TypeError: expected str, bytes or os.PathLike object, not _io.BytesIO
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 914, in test_always_sac_reftime
tr1 = read(tf)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 674, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/obspy-s_d60k_f.tmp
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 832, in test_decimate_resample
tr1 = read(tempfile)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/obspy-5gye92yk.tmp
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 271, in test_default_values
tr = read(self.file)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/test.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 930, in test_encoding_flag
tr0 = read(self.file_encode, encoding='cp1252')[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/test_encode.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 438, in test_issue390
tr = read(self.file, headonly=True, debug_headers=True)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/test.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 342, in test_issue_156
st = read(sac_file)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/obspy-0q6tvy18.tmp
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 254, in test_iztype11
tr = read(sod_file)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/dis.G.SCZ.__.BHE_short
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 817, in test_merge_sac_obspy_headers
tr1 = read(tempfile)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/obspy-_3en03g0.tmp
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 374, in test_not_used_but_given_headers
tr1 = read(self.file)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/test.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 413, in test_null_terminated_strings
tr = read(null_file)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/null_terminated.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 196, in test_read_and_write_via_obspy
tr = read(self.file)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/test.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 151, in uncompress_file
return func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 441, in _read_from_plugin
is_format = is_format(filename)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/gse2/core.py", line 124, in _is_gse1
with open(filename, 'rb') as f:
TypeError: expected str, bytes or os.PathLike object, not _io.BytesIO
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 593, in test_read_via_obspy_from_bytes_io
tr = read(buf)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 674, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/obspy-3exzg4fs.tmp
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 474, in test_read_with_fsize
self.assertRaises(SacError, read, longer_file)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/unittest/case.py", line 743, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/unittest/case.py", line 178, in handle
callable_obj(*args, **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/seism-longer.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 69, in test_read_write_via_obspy
tr1 = read(tempfile)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/obspy-xwr7zsls.tmp
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 283, in test_reference_time
tr = read(self.fileseis)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/seism.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 151, in uncompress_file
return func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 441, in _read_from_plugin
is_format = is_format(filename)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/gse2/core.py", line 124, in _is_gse1
with open(filename, 'rb') as f:
TypeError: expected str, bytes or os.PathLike object, not _io.BytesIO
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 891, in test_sac_file_from_new_header
tr1 = read(tf)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 674, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/obspy-ldiagpuu.tmp
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 311, in test_undefined_b
tr = read(self.file)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/test.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 782, in test_valid_sac_from_minimal_existing_sac_header
tr1 = read(tempfile)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/obspy-jalxuvtb.tmp
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 176, in test_write_via_obspy
tr = read(tempfile)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/obspy-ad6cxqm9.tmp
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 604, in test_write_via_obspy_to_bytes_io
tr = read(self.file)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/test.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 923, in test_wrong_encoding
tr0 = read(self.file_encode)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/test_encode.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_sactrace.py", line 225, in test_propagate_modified_stats_strings_to_sactrace
tr = read(self.fileseis)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/seism.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.__init__
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/__init__.py", line 26, in obspy.io.sac.__init__
Failed example:
st = read('/path/to/test.sac', debug_headers=True)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.sac.__init__[1]>", line 1, in <module>
st = read('/path/to/test.sac', debug_headers=True)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/test.sac
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/__init__.py", line 27, in obspy.io.sac.__init__
Failed example:
st #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.sac.__init__[2]>", line 1, in <module>
st #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/__init__.py", line 29, in obspy.io.sac.__init__
Failed example:
print(st) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.sac.__init__[3]>", line 1, in <module>
print(st) #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/__init__.py", line 41, in obspy.io.sac.__init__
Failed example:
print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.sac.__init__[4]>", line 1, in <module>
print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/__init__.py", line 54, in obspy.io.sac.__init__
Failed example:
print(st[0].stats.sac.dist)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.sac.__init__[5]>", line 1, in <module>
print(st[0].stats.sac.dist)
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/__init__.py", line 59, in obspy.io.sac.__init__
Failed example:
st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.sac.__init__[6]>", line 1, in <module>
st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.core._is_sac
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/core.py", line 1, in _is_sac
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/core.py", line 13, in obspy.io.sac.core._is_sac
Failed example:
_is_sac(get_example_file('test.sac'))
Expected:
True
Got:
False
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.core._read_sac
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/core.py", line 294, in _read_sac
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/core.py", line 323, in obspy.io.sac.core._read_sac
Failed example:
st = read("/path/to/test.sac")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.sac.core._read_sac[1]>", line 1, in <module>
st = read("/path/to/test.sac")
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/data/test.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 661, in test_is_sac_bytes_io
self.assertTrue(_is_sac(buf))
AssertionError: False is not true
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 685, in test_is_sac_open_file
self.assertTrue(_is_sac(fh))
AssertionError: False is not true
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 678, in test_is_sac_string_io_raises
self.assertRaises(ValueError, _is_sac, buf)
AssertionError: ValueError not raised by _is_sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 733, in test_is_sacxy_open_file_text_mode_fails
self.assertRaises(ValueError, _is_sac_xy, fh)
AssertionError: ValueError not raised by _is_sac_xy
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/sac/tests/test_core.py", line 716, in test_is_sacxy_string_io_raises
self.assertRaises(ValueError, _is_sac_xy, buf)
AssertionError: ValueError not raised by _is_sac_xy
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/tests/test_signal.py", line 33, in setUpClass
dtype=np.float64)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/tests/data/II.TLY.BHZ.SAC
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.realtime.rttrace.RtTrace
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 40, in RtTrace
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 71, in obspy.realtime.rttrace.RtTrace
Failed example:
data_trace = read('/path/to/II.TLY.BHZ.SAC')[0]
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[3]>", line 1, in <module>
data_trace = read('/path/to/II.TLY.BHZ.SAC')[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/tests/data/II.TLY.BHZ.SAC
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 72, in obspy.realtime.rttrace.RtTrace
Failed example:
len(data_trace)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[4]>", line 1, in <module>
len(data_trace)
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 74, in obspy.realtime.rttrace.RtTrace
Failed example:
ref_time_offset = data_trace.stats.sac.a
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[5]>", line 1, in <module>
ref_time_offset = data_trace.stats.sac.a
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 75, in obspy.realtime.rttrace.RtTrace
Failed example:
print(ref_time_offset)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[6]>", line 1, in <module>
print(ref_time_offset)
NameError: name 'ref_time_offset' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 77, in obspy.realtime.rttrace.RtTrace
Failed example:
epicentral_distance = data_trace.stats.sac.gcarc
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[7]>", line 1, in <module>
epicentral_distance = data_trace.stats.sac.gcarc
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 78, in obspy.realtime.rttrace.RtTrace
Failed example:
print(epicentral_distance)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[8]>", line 1, in <module>
print(epicentral_distance)
NameError: name 'epicentral_distance' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 83, in obspy.realtime.rttrace.RtTrace
Failed example:
traces = data_trace / 3
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[9]>", line 1, in <module>
traces = data_trace / 3
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 84, in obspy.realtime.rttrace.RtTrace
Failed example:
[len(tr) for tr in traces]
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[10]>", line 1, in <module>
[len(tr) for tr in traces]
NameError: name 'traces' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 92, in obspy.realtime.rttrace.RtTrace
Failed example:
rt_trace.register_rt_process('mwpintegral', mem_time=240,
ref_time=(data_trace.stats.starttime + ref_time_offset),
max_time=120, gain=1.610210e+09)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[13]>", line 2, in <module>
ref_time=(data_trace.stats.starttime + ref_time_offset),
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 99, in obspy.realtime.rttrace.RtTrace
Failed example:
for tr in traces:
processed_trace = rt_trace.append(tr, gap_overlap_check=True)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[14]>", line 1, in <module>
for tr in traces:
NameError: name 'traces' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 102, in obspy.realtime.rttrace.RtTrace
Failed example:
len(rt_trace)
Expected:
12684
Got:
0
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 107, in obspy.realtime.rttrace.RtTrace
Failed example:
peak = np.amax(np.abs(rt_trace.data))
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[16]>", line 1, in <module>
peak = np.amax(np.abs(rt_trace.data))
File "<__array_function__ internals>", line 6, in amax
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 2621, in amax
keepdims=keepdims, initial=initial, where=where)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 90, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation maximum which has no identity
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 108, in obspy.realtime.rttrace.RtTrace
Failed example:
print(peak)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[17]>", line 1, in <module>
print(peak)
NameError: name 'peak' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 110, in obspy.realtime.rttrace.RtTrace
Failed example:
mwp = calculate_mwp_mag(peak, epicentral_distance)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[18]>", line 1, in <module>
mwp = calculate_mwp_mag(peak, epicentral_distance)
NameError: name 'peak' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/realtime/rttrace.py", line 111, in obspy.realtime.rttrace.RtTrace
Failed example:
print(mwp) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[19]>", line 1, in <module>
print(mwp) # doctest: +ELLIPSIS
NameError: name 'mwp' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/test_invsim.py", line 316, in test_cosine_taper
tr = read(sac_taper)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/data/ones_trace_99_tapered.sac
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/test_invsim.py", line 417, in test_evalresp_file_like_object
tr1 = read(rawf)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/data/CRLZ.HHZ.10.NZ.SAC
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/test_invsim.py", line 287, in test_evalresp_vs_obspy
tr = read(rawf)[0]
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-32>", line 2, in read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 347, in _map_example_filename
return func(*args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/decorator.py:decorator-gen-33>", line 2, in _read
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/decorator.py", line 211, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/base.py", line 447, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file /Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/signal/tests/data/CRLZ.HHZ.10.NZ.SAC

Skipped Tests (25)

Submodule Test Skip Message
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) unsupported proj4 library
core test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
signal test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) matplotlib >= 3 shifts labels

Slowest Tests (20)

Runtime Test
19.188s __init__ (obspy.taup)
17.188s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
16.026s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
9.599s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
9.034s plot_travel_times (obspy.taup.tau)
8.217s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
7.993s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
7.358s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
5.501s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.492s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
5.296s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.607s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
4.236s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
4.179s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
3.759s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.750s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.722s test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.670s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.651s test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase)
3.624s test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)

Chuck Norris Fact

Chuck Norris burst the dot com bubble.