#102890 Report by node appveyor-ci covering 1847 tests from 47 modules resulted into 38 errors

Report

ObsPy version
1.1.1.post0+332.g1ea348c4de
GitHub Pull Request
https://github.com/obspy/obspy/pull/2067
Report file
XML document
Total runtime
375.8 sec
Report date/time
March 15, 2019, 7:32 a.m.

System / Python

Architecture
64bit
Machine
AMD64
Node
appveyor-ci
Processor
Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
Python Compiler
MSC v.1500 64 bit (AMD64)
Python Implementation
CPython
Python Version
2.7.15
Release
2012ServerR2
System
Windows
Version
6.3.9600

Dependencies

cartopy
---
decorator
4.3.2
flake8
---
future
0.17.1
geographiclib
1.49
lxml.etree
4.3.2
m2crypto
---
matplotlib
2.2.3
mock
2.0.0
mpl_toolkits.basemap
1.1.0
numpy
1.16.2
pep8-naming
---
pyflakes
---
pyimgur
0.6.0
pyproj
1.9.5.1
requests
2.21.0
scipy
1.2.1
setuptools
40.8.0
shapefile
2.1.0
sqlalchemy
1.3.1

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 1 1
obspy.db - -
obspy.geodetics - -
obspy.imaging - -
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 - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy 37 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
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 - -
obspy.scripts - -
obspy.signal - -
obspy.taup - -
Summary 38 38

Tracebacks (38)

Traceback (most recent call last):
File "obspy\core\tests\test_waveform_plugins.py", line 451, in test_deepcopy
stream.write(format=format, filename=tmpfile)
File "obspy\core\stream.py", line 1452, in write
write_format(self, filename, **kwargs)
File "obspy\io\segy\core.py", line 394, in _write_segy
segy_file.write(filename, data_encoding=data_encoding, endian=byteorder)
File "obspy\io\segy\segy.py", line 280, in write
endian=endian, map_header=map_header)
File "obspy\io\segy\segy.py", line 321, in _write
self.binary_file_header.write(file, endian=endian, map_header=map_header)
TypeError: write() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 614, in test_comparing_still_packed_trace_headers
header_a = read(file)[0].stats.segy.trace_header
File "<C:\Miniconda-x64\envs\test\lib\site-packages\decorator.pyc:decorator-gen-31>", line 2, in read
File "obspy\core\util\decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "obspy\core\stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "obspy\core\util\base.py", line 678, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<C:\Miniconda-x64\envs\test\lib\site-packages\decorator.pyc:decorator-gen-32>", line 2, in _read
File "obspy\core\util\decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "obspy\core\stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "obspy\core\util\base.py", line 460, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 289, in test_enforcing_endianness_while_reading
st1 = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 125, in test_enforcing_endianness_while_writing
st1 = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 99, in test_enforcing_textual_header_encoding_while_reading
st1 = _read_segy(file, textual_header_encoding='EBCDIC')
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 234, in test_enforcing_textual_header_encoding_while_writing
st1 = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 219, in test_invalid_data_encoding_raises
st = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 597, in test_issue_377
st = _read_segy(filename)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 435, in test_large_sample_rate_interval_raises
segy = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 204, in test_not_matching_data_encoding_and_dtype_raises
st = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_segy.py", line 571, in test_unpack_remapped_trace_header
segy = _read_segy(file,map_header=[[4, 'remap_test', False, 156]])
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_segy.py", line 617, in test_iterative_reading
st = obspy.read(filename, unpack_trace_headers=True)
File "<C:\Miniconda-x64\envs\test\lib\site-packages\decorator.pyc:decorator-gen-31>", line 2, in read
File "obspy\core\util\decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "obspy\core\stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "obspy\core\util\base.py", line 678, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<C:\Miniconda-x64\envs\test\lib\site-packages\decorator.pyc:decorator-gen-32>", line 2, in _read
File "obspy\core\util\decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "obspy\core\stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "obspy\core\util\base.py", line 460, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 348, in test_writing_using_core
segy_file = _read_segy_internal(file)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 667, in test_writing_text_and_binary_textual_file_headers
textual_header_encoding=encoding)
File "obspy\core\stream.py", line 1452, in write
write_format(self, filename, **kwargs)
File "obspy\io\segy\core.py", line 394, in _write_segy
segy_file.write(filename, data_encoding=data_encoding, endian=byteorder)
File "obspy\io\segy\segy.py", line 283, in write
endian=endian, map_header=map_header)
File "obspy\io\segy\segy.py", line 321, in _write
self.binary_file_header.write(file, endian=endian, map_header=map_header)
TypeError: write() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 526, in test_writing_starttime_timestamp_0
segy = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_segy.py", line 404, in test_read_and_write_segy_map_header
self.test_read_and_write_segy(map_header=[[4, 'new test', False, 180]])
File "obspy\io\segy\tests\test_segy.py", line 361, in test_read_and_write_segy
segy_file = _read_segy(file, headonly=headonly, map_header=map_header)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_segy.py", line 398, in test_read_and_write_segy_headonly
self.test_read_and_write_segy(headonly=True)
File "obspy\io\segy\tests\test_segy.py", line 361, in test_read_and_write_segy
segy_file = _read_segy(file, headonly=headonly, map_header=map_header)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_segy.py", line 361, in test_read_and_write_segy
segy_file = _read_segy(file, headonly=headonly, map_header=map_header)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_segy.py", line 793, in test_packing_raises_nice_error_messages
tr.write(buf, format="segy")
File "obspy\core\trace.py", line 962, in write
Stream([self]).write(filename, format, **kwargs)
File "obspy\core\stream.py", line 1452, in write
write_format(self, filename, **kwargs)
File "obspy\io\segy\core.py", line 394, in _write_segy
segy_file.write(filename, data_encoding=data_encoding, endian=byteorder)
File "obspy\io\segy\segy.py", line 283, in write
endian=endian, map_header=map_header)
File "obspy\io\segy\segy.py", line 321, in _write
self.binary_file_header.write(file, endian=endian, map_header=map_header)
TypeError: write() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_segy.py", line 643, in test_revision_number_in_binary_file_header
_tr.write(buf, format="segy", byteorder=endian)
File "obspy\core\trace.py", line 962, in write
Stream([self]).write(filename, format, **kwargs)
File "obspy\core\stream.py", line 1452, in write
write_format(self, filename, **kwargs)
File "obspy\io\segy\core.py", line 394, in _write_segy
segy_file.write(filename, data_encoding=data_encoding, endian=byteorder)
File "obspy\io\segy\segy.py", line 283, in write
endian=endian, map_header=map_header)
File "obspy\io\segy\segy.py", line 321, in _write
self.binary_file_header.write(file, endian=endian, map_header=map_header)
TypeError: write() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_segy.py", line 584, in test_read_bytes_io
st = _read_segy(io.BytesIO(data))
File "obspy\io\segy\segy.py", line 1084, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_segy.py", line 457, in test_unpack_trace_header
segy = _read_segy(file)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_segy.py", line 663, in test_textual_header_has_the_right_fields_at_the_end
tr.write(buf, format="segy")
File "obspy\core\trace.py", line 962, in write
Stream([self]).write(filename, format, **kwargs)
File "obspy\core\stream.py", line 1452, in write
write_format(self, filename, **kwargs)
File "obspy\io\segy\core.py", line 394, in _write_segy
segy_file.write(filename, data_encoding=data_encoding, endian=byteorder)
File "obspy\io\segy\segy.py", line 283, in write
endian=endian, map_header=map_header)
File "obspy\io\segy\segy.py", line 321, in _write
self.binary_file_header.write(file, endian=endian, map_header=map_header)
TypeError: write() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_segy.py", line 412, in test_unpack_binary_file_header
segy = _read_segy(file)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 499, in test_writing_modified_date
segy = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 396, in test_writing_new_sampling_rate
segy = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.segy.core._read_segy
File "obspy\io\segy\core.py", line 131, in _read_segy
----------------------------------------------------------------------
File "obspy\io\segy\core.py", line 165, in obspy.io.segy.core._read_segy
Failed example:
st = read("/path/to/00001034.sgy_first_trace")
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.core._read_segy[1]>", line 1, in <module>
st = read("/path/to/00001034.sgy_first_trace")
File "<C:\Miniconda-x64\envs\test\lib\site-packages\decorator.pyc:decorator-gen-31>", line 2, in read
File "obspy\core\util\decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "obspy\core\stream.py", line 210, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "obspy\core\util\base.py", line 678, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<C:\Miniconda-x64\envs\test\lib\site-packages\decorator.pyc:decorator-gen-32>", line 2, in _read
File "obspy\core\util\decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "obspy\core\stream.py", line 255, in _read
headonly=headonly, **kwargs)
File "obspy\core\util\base.py", line 460, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
----------------------------------------------------------------------
File "obspy\io\segy\core.py", line 166, in obspy.io.segy.core._read_segy
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.core._read_segy[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "obspy\io\segy\core.py", line 168, in obspy.io.segy.core._read_segy
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.core._read_segy[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.segy.segy.iread_segy
File "obspy\io\segy\segy.py", line 1129, in iread_segy
----------------------------------------------------------------------
File "obspy\io\segy\segy.py", line 1138, in obspy.io.segy.segy.iread_segy
Failed example:
from obspy.core.util import get_Example_file
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.segy.iread_segy[0]>", line 1, in <module>
from obspy.core.util import get_Example_file
ImportError: cannot import name get_Example_file
----------------------------------------------------------------------
File "obspy\io\segy\segy.py", line 1139, in obspy.io.segy.segy.iread_segy
Failed example:
filename = get_Example_file("00001034.sgy_first_trace")
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.segy.iread_segy[1]>", line 1, in <module>
filename = get_Example_file("00001034.sgy_first_trace")
NameError: name 'get_Example_file' is not defined
----------------------------------------------------------------------
File "obspy\io\segy\segy.py", line 1141, in obspy.io.segy.segy.iread_segy
Failed example:
for tr in iread_segy(filename):
# Each Trace's stats attribute will have references to the file
# headers and some more information.
tf = tr.stats.segy.textual_file_header
bf = tr.stats.segy.binary_file_header
tfe = tr.stats.segy.textual_file_header_encoding
de = tr.stats.segy.data_encoding
e = tr.stats.segy.endian
# Also do something meaningful with each Trace.
print(int(tr.data.sum() * 1E9))
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.segy.iread_segy[3]>", line 1, in <module>
for tr in iread_segy(filename):
NameError: name 'filename' is not defined
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.segy.segy.iread_su
File "obspy\io\segy\segy.py", line 1228, in iread_su
----------------------------------------------------------------------
File "obspy\io\segy\segy.py", line 1237, in obspy.io.segy.segy.iread_su
Failed example:
from obspy.core.util import get_Example_file
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.segy.iread_su[0]>", line 1, in <module>
from obspy.core.util import get_Example_file
ImportError: cannot import name get_Example_file
----------------------------------------------------------------------
File "obspy\io\segy\segy.py", line 1238, in obspy.io.segy.segy.iread_su
Failed example:
filename = get_Example_file("1.su_first_trace")
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.segy.iread_su[1]>", line 1, in <module>
filename = get_Example_file("1.su_first_trace")
NameError: name 'get_Example_file' is not defined
----------------------------------------------------------------------
File "obspy\io\segy\segy.py", line 1240, in obspy.io.segy.segy.iread_su
Failed example:
for tr in iread_su(filename):
# Each Trace's stats attribute will have some file-wide
# information.
de = tr.stats.su.data_encoding
e = tr.stats.su.endian
# Also do something meaningful with each Trace.
print(int(tr.data.sum()))
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.segy.iread_su[3]>", line 1, in <module>
for tr in iread_su(filename):
NameError: name 'filename' is not defined
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.segy.__init__
File "obspy\io\segy\__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 66, in obspy.io.segy.__init__
Failed example:
st = _read_segy(filename)
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[3]>", line 1, in <module>
st = _read_segy(filename)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 67, in obspy.io.segy.__init__
Failed example:
st #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[4]>", line 1, in <module>
st #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 69, in obspy.io.segy.__init__
Failed example:
print(st) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[5]>", line 1, in <module>
print(st) #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 79, in obspy.io.segy.__init__
Failed example:
st1 = _read_segy(filename)
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[6]>", line 1, in <module>
st1 = _read_segy(filename)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 80, in obspy.io.segy.__init__
Failed example:
len(st1[0].stats.segy.trace_header)
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[7]>", line 1, in <module>
len(st1[0].stats.segy.trace_header)
NameError: name 'st1' is not defined
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 82, in obspy.io.segy.__init__
Failed example:
st1[0].stats.segy.trace_header.data_use # Unpacking a value on the fly.
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[8]>", line 1, in <module>
st1[0].stats.segy.trace_header.data_use # Unpacking a value on the fly.
NameError: name 'st1' is not defined
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 84, in obspy.io.segy.__init__
Failed example:
len(st1[0].stats.segy.trace_header) # This value will remain unpacked.
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[9]>", line 1, in <module>
len(st1[0].stats.segy.trace_header) # This value will remain unpacked.
NameError: name 'st1' is not defined
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 86, in obspy.io.segy.__init__
Failed example:
st2 = _read_segy(filename, unpack_trace_headers=True)
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[10]>", line 1, in <module>
st2 = _read_segy(filename, unpack_trace_headers=True)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 87, in obspy.io.segy.__init__
Failed example:
len(st2[0].stats.segy.trace_header)
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[11]>", line 1, in <module>
len(st2[0].stats.segy.trace_header)
NameError: name 'st2' is not defined
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 103, in obspy.io.segy.__init__
Failed example:
segy = _read_segy(filename)
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[13]>", line 1, in <module>
segy = _read_segy(filename)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 104, in obspy.io.segy.__init__
Failed example:
segy #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[14]>", line 1, in <module>
segy #doctest: +ELLIPSIS
NameError: name 'segy' is not defined
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 106, in obspy.io.segy.__init__
Failed example:
print(segy)
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[15]>", line 1, in <module>
print(segy)
NameError: name 'segy' is not defined
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 127, in obspy.io.segy.__init__
Failed example:
segy = _read_segy(filename, headonly=True)
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[17]>", line 1, in <module>
segy = _read_segy(filename, headonly=True)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 128, in obspy.io.segy.__init__
Failed example:
print(len(segy.traces[0].data))
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[18]>", line 1, in <module>
print(len(segy.traces[0].data))
NameError: name 'segy' is not defined
----------------------------------------------------------------------
File "obspy\io\segy\__init__.py", line 140, in obspy.io.segy.__init__
Failed example:
for trace in iread_segy(filename):
# Do something meaningful.
print(int(trace.data.sum() * 1E9))
Exception raised:
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest obspy.io.segy.__init__[20]>", line 1, in <module>
for trace in iread_segy(filename):
File "obspy\io\segy\segy.py", line 1191, in iread_segy
map_header=map_header):
File "obspy\io\segy\segy.py", line 1214, in _internal_iread_segy
map_header=map_header):
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 628, in test_reading_and_writing_with_unset_dates
f.write(buf, data_encoding=5)
File "obspy\io\segy\segy.py", line 283, in write
endian=endian, map_header=map_header)
File "obspy\io\segy\segy.py", line 321, in _write
self.binary_file_header.write(file, endian=endian, map_header=map_header)
TypeError: write() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 417, in test_reading_date
segy = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 82, in test_read_head_only
st = _read_segy(file, headonly=True)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 174, in test_reading_and_writing_different_data_encodings
st = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 384, in test_setting_delta_and_sampling_rate_in_stats
segy = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 573, in test_two_digit_years_segy
st = _read_segy(filename)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 309, in test_reading_using_core
segy_file = _read_segy_internal(file)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'
Traceback (most recent call last):
File "obspy\io\segy\tests\test_core.py", line 148, in test_setting_data_encoding_works
st = _read_segy(file)
File "obspy\io\segy\core.py", line 176, in _read_segy
unpack_headers=unpack_trace_headers)
File "obspy\io\segy\segy.py", line 1078, in _read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 1125, in _internal_read_segy
map_header=map_header)
File "obspy\io\segy\segy.py", line 157, in __init__
map_header=map_header)]
TypeError: _read_traces() got an unexpected keyword argument 'map_header'

Skipped tests (24)

Submodule Test Skip message
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
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.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
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
signal test_evalresp_file_like_object (obspy.signal.tests.test_invsim.InvSimTestCase) unreproducible test fail encountered on Appveyor sometimes.

Slowest tests (20)

Runtime Test
19.813s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
16.433s test_is_format (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
10.713s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
10.226s test_event_scoped_resource_id_many_threads (obspy.core.tests.test_resource_identifier.ResourceIdentifierTestCase)
10.156s __init__ (obspy.taup)
8.703s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
7.094s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
6.687s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
6.500s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
5.063s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.891s plot_travel_times (obspy.taup.tau)
4.812s test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.734s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
4.656s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.609s test_reading_via_file (obspy.io.iaspei.tests.test_core.IASPEITestCase)
4.609s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.594s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.312s test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.297s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.203s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)