#113545 Report by node DESKTOP-EO1580S covering 590 tests from 49 modules resulted into 280 errors

Report

ObsPy version
0.0.0+archive
Continuous Integration
-
GitHub Pull Request
-
Report file
XML document
Total runtime
13.9 sec
Report date/time
2021-03-10 23:16:08

System / Python

Architecture
64bit
Machine
AMD64
Node
DESKTOP-EO1580S
Processor
Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
Python Compiler
MSC v.1916 64 bit (AMD64)
Python Implementation
CPython
Python Version
3.8.5
Release
10
System
Windows
Version
10.0.19041

Dependencies

cartopy
---
decorator
4.4.2
flake8
3.8.4
geographiclib
---
lxml.etree
4.6.1
m2crypto
---
matplotlib
3.3.2
mock
4.0.2
mpl_toolkits.basemap
---
numpy
1.19.2
pep8-naming
---
pyflakes
2.2.0
pyimgur
---
pyproj
---
requests
2.24.0
scipy
1.5.2
setuptools
50.3.1.post20201107
shapefile
---
sqlalchemy
1.3.20

Modules (49)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem 1 1
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 2
obspy.db - -
obspy.geodetics 1 3
obspy.imaging 1 4
obspy.io.ah 1 5
obspy.io.arclink 4 6 7 8 9
obspy.io.ascii 7 10 11 12 13 14 15 16
obspy.io.cmtsolution 9 17 18 19 20 21 22 23 24 25
obspy.io.cnv 1 26
obspy.io.css 3 27 28 29
obspy.io.dmx 4 30 31 32 33
obspy.io.focmec 3 34 35 36
obspy.io.gcf 7 37 38 39 40 41 42 43
obspy.io.gse2 1 44
obspy.io.hypodd 7 45 46 47 48 49 50 51
obspy.io.iaspei 4 52 53 54 55
obspy.io.json 2 56 57
obspy.io.kinemetrics 3 58 59 60
obspy.io.kml 3 61 62 63
obspy.io.mseed 1 64
obspy.io.ndk 14 65 66 67 68 69 70 71 72 73 74 75 76 77 78
obspy.io.nied 8 79 80 81 82 83 84 85 86
obspy.io.nlloc 7 87 88 89 90 91 92 93
obspy.io.nordic 18 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
obspy.io.pdas 1 112
obspy.io.pde 2 113 114
obspy.io.quakeml 15 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
obspy.io.reftek 1 130
obspy.io.rg16 3 131 132 133
obspy.io.sac 48 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
obspy.io.scardec 4 182 183 184 185
obspy.io.seg2 2 186 187
obspy.io.segy 1 188
obspy.io.seisan 3 189 190 191
obspy.io.seiscomp 16 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
obspy.io.sh 13 208 209 210 211 212 213 214 215 216 217 218 219 220
obspy.io.shapefile 1 221
obspy.io.stationtxt 10 222 223 224 225 226 227 228 229 230 231
obspy.io.stationxml 21 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252
obspy.io.wav 7 253 254 255 256 257 258 259
obspy.io.win 1 260
obspy.io.xseed 1 261
obspy.io.y 1 262
obspy.io.zmap 13 263 264 265 266 267 268 269 270 271 272 273 274 275
obspy.realtime 1 276
obspy.scripts 2 277 278
obspy.signal 1 279
obspy.taup 1 280
Summary 280 280

Tracebacks (280)

>>> Cannot import test suite for module obspy.clients.filesystem due to:
------------------------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 744, in main
errors = run(argv, interactive)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 708, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 537, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 161, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "C:\Users\LH\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName
test = obj()
File "C:\Users\LH\Desktop\obspy-master\obspy\clients\filesystem\tests\__init__.py", line 12, in suite
add_doctests(suite, MODULE_NAME)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\testing.py", line 114, in add_doctests
_module = __import__(_module_name,
File "C:\Users\LH\Desktop\obspy-master\obspy\clients\filesystem\miniseed.py", line 15, in <module>
from obspy.clients.filesystem.msriterator import _MSRIterator
File "C:\Users\LH\Desktop\obspy-master\obspy\clients\filesystem\msriterator.py", line 10, in <module>
from obspy.io.mseed.headers import (HPTMODULUS, MS_NOERROR, MS_ENDOFFILE,
File "C:\Users\LH\Desktop\obspy-master\obspy\io\mseed\headers.py", line 17, in <module>
__clibmseed = _load_cdll("mseed")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 112, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libmseed_Windows_64bit_py38.cp38-win_amd64.pyd"
Path: C:\Users\LH\Desktop\obspy-master\obspy\lib\libmseed_Windows_64bit_py38.cp38-win_amd64.pyd
Current directory: C:\Users\LH\Desktop\obspy-master
ctypes error message: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libmseed_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Directory listing of lib directory:
-, :, C, D, H, L, U, \, \, \, \, \, \, a, b, b, b, e, e, e, i, k, l,
m, o, o, o, p, p, p, r, r, s, s, s, s, s, s, t, t, y, y
>>> Cannot import test suite for module obspy.core due to:
----------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 744, in main
errors = run(argv, interactive)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 708, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 537, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 161, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "C:\Users\LH\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName
test = obj()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\tests\__init__.py", line 13, in suite
add_unittests(suite, MODULE_NAME)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\testing.py", line 65, in add_unittests
_module = __import__(_module_name,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\tests\test_response.py", line 28, in <module>
from obspy.signal.invsim import evalresp
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\spectral_estimation.py", line 42, in <module>
from obspy.signal.invsim import cosine_taper
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\invsim.py", line 33, in <module>
from obspy.signal import util
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\util.py", line 19, in <module>
from obspy.signal.headers import clibsignal
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\headers.py", line 13, in <module>
clibsignal = _load_cdll("signal")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 112, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libsignal_Windows_64bit_py38.cp38-win_amd64.pyd"
Path: C:\Users\LH\Desktop\obspy-master\obspy\lib\libsignal_Windows_64bit_py38.cp38-win_amd64.pyd
Current directory: C:\Users\LH\Desktop\obspy-master
ctypes error message: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libsignal_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Directory listing of lib directory:
-, :, C, D, H, L, U, \, \, \, \, \, \, a, b, b, b, e, e, e, i, k, l,
m, o, o, o, p, p, p, r, r, s, s, s, s, s, s, t, t, y, y
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.geodetics.base.inside_geobounds
File "C:\Users\LH\Desktop\obspy-master\obspy\geodetics\base.py", line 400, in inside_geobounds
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\geodetics\base.py", line 439, in obspy.geodetics.base.inside_geobounds
Failed example:
ev = read_events()[0]
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.geodetics.base.inside_geobounds[2]>", line 1, in <module>
ev = read_events()[0]
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 805, in read_events
return _create_example_catalog()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 826, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\tests\data\neries_events.xml
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\geodetics\base.py", line 440, in obspy.geodetics.base.inside_geobounds
Failed example:
orig = ev.origins[0]
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.geodetics.base.inside_geobounds[3]>", line 1, in <module>
orig = ev.origins[0]
NameError: name 'ev' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\geodetics\base.py", line 441, in obspy.geodetics.base.inside_geobounds
Failed example:
inside_geobounds(orig, minlatitude=40, maxlatitude=42)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.geodetics.base.inside_geobounds[4]>", line 1, in <module>
inside_geobounds(orig, minlatitude=40, maxlatitude=42)
NameError: name 'orig' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\geodetics\base.py", line 443, in obspy.geodetics.base.inside_geobounds
Failed example:
inside_geobounds(orig, minlatitude=40, maxlatitude=42,
minlongitude=78, maxlongitude=79)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.geodetics.base.inside_geobounds[5]>", line 1, in <module>
inside_geobounds(orig, minlatitude=40, maxlatitude=42,
NameError: name 'orig' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\geodetics\base.py", line 446, in obspy.geodetics.base.inside_geobounds
Failed example:
inside_geobounds(orig, latitude=40, longitude=80,
minradius=1, maxradius=10)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.geodetics.base.inside_geobounds[6]>", line 1, in <module>
inside_geobounds(orig, latitude=40, longitude=80,
NameError: name 'orig' is not defined
>>> Cannot import test suite for module obspy.imaging due to:
-------------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 744, in main
errors = run(argv, interactive)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 708, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 537, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 161, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "C:\Users\LH\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName
test = obj()
File "C:\Users\LH\Desktop\obspy-master\obspy\imaging\tests\__init__.py", line 20, in suite
add_unittests(suite, MODULE_NAME)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\testing.py", line 65, in add_unittests
_module = __import__(_module_name,
File "C:\Users\LH\Desktop\obspy-master\obspy\imaging\tests\test_ppsd.py", line 12, in <module>
from obspy.signal.tests.test_spectral_estimation import _get_ppsd
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\spectral_estimation.py", line 42, in <module>
from obspy.signal.invsim import cosine_taper
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\invsim.py", line 33, in <module>
from obspy.signal import util
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\util.py", line 19, in <module>
from obspy.signal.headers import clibsignal
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\headers.py", line 13, in <module>
clibsignal = _load_cdll("signal")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 112, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libsignal_Windows_64bit_py38.cp38-win_amd64.pyd"
Path: C:\Users\LH\Desktop\obspy-master\obspy\lib\libsignal_Windows_64bit_py38.cp38-win_amd64.pyd
Current directory: C:\Users\LH\Desktop\obspy-master
ctypes error message: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libsignal_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Directory listing of lib directory:
-, :, C, D, H, L, U, \, \, \, \, \, \, a, b, b, b, e, e, e, i, k, l,
m, o, o, o, p, p, p, r, r, s, s, s, s, s, s, t, t, y, y
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ah\tests\test_core.py", line 63, in test_read
st = read(testfile)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\ah\tests\data\hrv.lh.zne
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\arclink\tests\test_inventory_xml.py", line 50, in test_analogue_filter_chain
arclink_inv = read_inventory(self.arclink_afc_path)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\arclink\tests\data\arclink_afc.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\arclink\tests\test_inventory_xml.py", line 83, in test_auto_read_arclink_xml
arclink_inv = read_inventory(self.arclink_xml_path)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\arclink\tests\data\arclink_inventory.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\arclink\tests\test_inventory_xml.py", line 43, in test_publicid_slash
v = read_inventory(os.path.join(self.data_dir, "public-id-slash.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\arclink\tests\data\public-id-slash.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\arclink\tests\test_inventory_xml.py", line 77, in test_raise_polynomial
read_inventory(self.arclink_xml_poly)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\arclink\tests\data\arclink_inventory_poly.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SLIST'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\tests\test_ascii.py", line 642, in test_float_sampling_rates_write_and_read
tr.write(tempfile, format=format)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SLIST" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\tests\test_ascii.py", line 692, in test_regression_against_mseed2ascii
read(mseed_file).write(tf.name, format="TSPAIR")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\tests\data\miniseed_record.mseed
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SLIST'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\tests\test_ascii.py", line 623, in test_write_small_trace
tr.write(tempfile, format=format)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SLIST" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.ascii.core._read_slist
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\core.py", line 112, in _read_slist
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\core.py", line 131, in obspy.io.ascii.core._read_slist
Failed example:
st = read('/path/to/slist.ascii')
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.ascii.core._read_slist[1]>", line 1, in <module>
st = read('/path/to/slist.ascii')
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\tests\data\slist.ascii
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.ascii.core._read_tspair
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\core.py", line 180, in _read_tspair
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\core.py", line 199, in obspy.io.ascii.core._read_tspair
Failed example:
st = read('/path/to/tspair.ascii')
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.ascii.core._read_tspair[1]>", line 1, in <module>
st = read('/path/to/tspair.ascii')
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\tests\data\tspair.ascii
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.ascii.core._write_slist
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\core.py", line 249, in _write_slist
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\core.py", line 270, in obspy.io.ascii.core._write_slist
Failed example:
st = read()
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.ascii.core._write_slist[1]>", line 1, in <module>
st = read()
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 205, in read
st = _create_example_stream(headonly=headonly)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 294, in _create_example_stream
inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\data\BW_RJOB.xml
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.ascii.core._write_tspair
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\core.py", line 360, in _write_tspair
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ascii\core.py", line 381, in obspy.io.ascii.core._write_tspair
Failed example:
st = read()
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.ascii.core._write_tspair[1]>", line 1, in <module>
st = read()
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 205, in read
st = _create_example_stream(headonly=headonly)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 294, in _create_example_stream
inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\data\BW_RJOB.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BytesIO object at 0x00000230AF1F6DB0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\test_core.py", line 141, in test_read_and_write_cmtsolution_explosion
cat = obspy.read_events(buf)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-841slntd.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BytesIO object at 0x00000230AAD701D0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\test_core.py", line 116, in test_read_and_write_cmtsolution_from_bytes_io
cat = obspy.read_events(buf)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-ppnfbnc2.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\test_core.py", line 34, in test_read_and_write_cmtsolution_from_files
cat = obspy.read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\data\CMTSOLUTION
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BufferedReader name='C:\\Users\\LH\\Desktop\\obspy-master\\obspy\\io\\cmtsolution\\tests\\data\\CMTSOLUTION'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\test_core.py", line 91, in test_read_and_write_cmtsolution_from_open_files
cat = obspy.read_events(fh)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-7ettge1h.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\test_core.py", line 176, in test_read_and_write_multiple_cmtsolution_from_files
cat = obspy.read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\data\MULTIPLE_EVENTS
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BytesIO object at 0x00000230AAD701D0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\test_core.py", line 211, in test_read_and_write_multiple_events_from_bytes_io
cat = obspy.read_events(buf)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-6mgeiqer.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\test_core.py", line 228, in test_reading_newer_cmtsolution_files
cat = obspy.read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\data\CMTSOLUTION_NEW
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\test_core.py", line 61, in test_write_no_preferred_focal_mechanism
cat = obspy.read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\data\CMTSOLUTION
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.cmtsolution.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\__init__.py", line 22, in obspy.io.cmtsolution.__init__
Failed example:
cat = obspy.read_events("/path/to/CMTSOLUTION")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.cmtsolution.__init__[1]>", line 1, in <module>
cat = obspy.read_events("/path/to/CMTSOLUTION")
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\tests\data\CMTSOLUTION
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\__init__.py", line 23, in obspy.io.cmtsolution.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.cmtsolution.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cmtsolution\__init__.py", line 29, in obspy.io.cmtsolution.__init__
Failed example:
print(cat[0]) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.cmtsolution.__init__[3]>", line 1, in <module>
print(cat[0]) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\cnv\tests\test_core.py", line 28, in test_write_cnv
cat = read_events(filename, format="QUAKEML")
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\css\tests\test_core.py", line 96, in test_css_read_via_obspy
st = read(self.filename_css)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\css\tests\data\test_css.wfdisc
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\css\tests\test_core.py", line 115, in test_nnsa_kb_core_read_via_obspy
st = read(self.filename_nnsa)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\css\tests\data\test_nnsa.wfdisc
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\css\tests\test_station.py", line 61, in test_default_write
inv = obspy.core.inventory.read_inventory()
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 81, in read_inventory
return _create_example_inventory()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 37, in _create_example_inventory
return read_inventory('/path/to/BW_GR_misc.xml', format="STATIONXML")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\tests\test_core.py", line 82, in test_check_data_content_sum
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\tests\data\131114_090600.dmx
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\tests\test_core.py", line 30, in test_read_via_obspy
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\tests\data\131114_090600.dmx
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\tests\test_core.py", line 68, in test_read_with_station
st = read(filename, station='EMPL')
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\tests\data\131114_090600.dmx
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.dmx.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\__init__.py", line 28, in obspy.io.dmx.__init__
Failed example:
st = read("/path/to/131114_090600.dmx")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.dmx.__init__[1]>", line 1, in <module>
st = read("/path/to/131114_090600.dmx")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\tests\data\131114_090600.dmx
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\__init__.py", line 29, in obspy.io.dmx.__init__
Failed example:
print(st) #doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.dmx.__init__[2]>", line 1, in <module>
print(st) #doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\__init__.py", line 34, in obspy.io.dmx.__init__
Failed example:
st = read("/path/to/131114_090600.dmx", format='DMX')
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'DMX'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.dmx.__init__[3]>", line 1, in <module>
st = read("/path/to/131114_090600.dmx", format='DMX')
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "DMX" is not supported. Supported types:
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\__init__.py", line 35, in obspy.io.dmx.__init__
Failed example:
print(st) #doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.dmx.__init__[4]>", line 1, in <module>
print(st) #doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\__init__.py", line 43, in obspy.io.dmx.__init__
Failed example:
st = read("/path/to/131114_090600.dmx", station="EMFO")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.dmx.__init__[5]>", line 1, in <module>
st = read("/path/to/131114_090600.dmx", station="EMFO")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\tests\data\131114_090600.dmx
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\dmx\__init__.py", line 44, in obspy.io.dmx.__init__
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.dmx.__init__[6]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\focmec\tests\test_core.py", line 172, in test_read_focmec_lst_other_flavors
cat = read_events(os.path.join(self.datapath, 'focmec_qedUWne.lst'))
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\focmec\tests\data\focmec_qedUWne.lst
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\focmec\tests\test_core.py", line 158, in test_read_focmec_lst_through_plugin
cat = read_events(self.lst_file)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\focmec\tests\data\focmec_8sta.lst
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\focmec\tests\test_core.py", line 154, in test_read_focmec_out_through_plugin
cat = read_events(self.out_file)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\focmec\tests\data\focmec_8sta.out
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\tests\test_core.py", line 125, in test_merge_gcf_stream
st1 = read(filename, headonly=True, channel_prefix="HN")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\tests\data\20160603_1955n.gcf
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\tests\test_core.py", line 108, in test_read_channel_prefix_via_obspy
st = read(filename, headonly=True, channel_prefix="HN")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\tests\data\20160603_1955n.gcf
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\tests\test_core.py", line 55, in test_read_head_via_obspy
st = read(filename, headonly=True)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\tests\data\20160603_1955n.gcf
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\tests\test_core.py", line 36, in test_read_via_obspy
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\tests\data\20160603_1955n.gcf
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\tests\test_core.py", line 150, in test_sps_d
st = read(filename, headonly=True, channel_prefix="HN")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\tests\data\20160603_1910n.gcf
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gcf.core._read_gcf
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\core.py", line 56, in _read_gcf
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\core.py", line 78, in obspy.io.gcf.core._read_gcf
Failed example:
st = read("/path/to/20160603_1955n.gcf", format="GCF")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'GCF'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.gcf.core._read_gcf[1]>", line 1, in <module>
st = read("/path/to/20160603_1955n.gcf", format="GCF")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "GCF" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gcf.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\__init__.py", line 21, in obspy.io.gcf.__init__
Failed example:
st = read("/path/to/20160603_1955n.gcf")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.gcf.__init__[1]>", line 1, in <module>
st = read("/path/to/20160603_1955n.gcf")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\gcf\tests\data\20160603_1955n.gcf
>>> Cannot import test suite for module obspy.io.gse2 due to:
-------------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 744, in main
errors = run(argv, interactive)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 708, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 537, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 161, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "C:\Users\LH\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName
test = obj()
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gse2\tests\__init__.py", line 12, in suite
add_doctests(suite, MODULE_NAME)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\testing.py", line 114, in add_doctests
_module = __import__(_module_name,
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gse2\core.py", line 8, in <module>
from . import libgse1, libgse2
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gse2\libgse1.py", line 21, in <module>
from .libgse2 import uncompress_cm6, verify_checksum, read_integer_data
File "C:\Users\LH\Desktop\obspy-master\obspy\io\gse2\libgse2.py", line 37, in <module>
clibgse2 = _load_cdll("gse2")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 112, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libgse2_Windows_64bit_py38.cp38-win_amd64.pyd"
Path: C:\Users\LH\Desktop\obspy-master\obspy\lib\libgse2_Windows_64bit_py38.cp38-win_amd64.pyd
Current directory: C:\Users\LH\Desktop\obspy-master
ctypes error message: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libgse2_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Directory listing of lib directory:
-, :, C, D, H, L, U, \, \, \, \, \, \, a, b, b, b, e, e, e, i, k, l,
m, o, o, o, p, p, p, r, r, s, s, s, s, s, s, t, t, y, y
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\tests\test_pha.py", line 67, in test_60s_nan
cat = read_events(self.fname2)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\tests\data\60s_nan.pha
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\tests\test_pha.py", line 101, in test_eventid_map
cat = read_events(self.fname) + read_events(self.fname2)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\tests\data\example.pha
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\tests\test_pha.py", line 78, in test_populate_waveform_id
inv = read_inventory()
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 81, in read_inventory
return _create_example_inventory()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 37, in _create_example_inventory
return read_inventory('/path/to/BW_GR_misc.xml', format="STATIONXML")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\tests\test_pha.py", line 30, in test_read_pha
cat = read_events(self.fname)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\tests\data\example.pha
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\tests\test_pha.py", line 128, in test_write_pha
cat = read_events(self.fname)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\tests\data\example.pha
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'HYPODDPHA'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\tests\test_pha.py", line 149, in test_write_pha_minimal
cat.write(tempfile, 'HYPODDPHA')
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "HYPODDPHA" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.hypodd.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\__init__.py", line 22, in obspy.io.hypodd.__init__
Failed example:
cat = read_events('/path/to/example.pha')
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.hypodd.__init__[1]>", line 1, in <module>
cat = read_events('/path/to/example.pha')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\tests\data\example.pha
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\hypodd\__init__.py", line 23, in obspy.io.hypodd.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.hypodd.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "QUAKEML" is not supported. Supported types:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\iaspei\tests\test_core.py", line 99, in test_reading
_assert_catalog(cat)
File "C:\Users\LH\Desktop\obspy-master\obspy\io\iaspei\tests\test_core.py", line 29, in _assert_catalog
expected = read_events(bio, format="QUAKEML")
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "QUAKEML" is not supported. Supported types:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\iaspei\tests\test_core.py", line 124, in test_reading_via_bytes_io
_assert_catalog(cat)
File "C:\Users\LH\Desktop\obspy-master\obspy\io\iaspei\tests\test_core.py", line 29, in _assert_catalog
expected = read_events(bio, format="QUAKEML")
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "QUAKEML" is not supported. Supported types:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\iaspei\tests\test_core.py", line 108, in test_reading_via_file
_assert_catalog(cat)
File "C:\Users\LH\Desktop\obspy-master\obspy\io\iaspei\tests\test_core.py", line 29, in _assert_catalog
expected = read_events(bio, format="QUAKEML")
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'IMS10BULLETIN'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\iaspei\tests\test_core.py", line 130, in test_reading_via_plugin
cat = read_events(self.path_to_ims, format='IMS10BULLETIN',
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "IMS10BULLETIN" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'JSON'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\json\tests\test_json.py", line 67, in test_write_json
self.c.write(memfile, format="json")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "JSON" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.json.default
File "C:\Users\LH\Desktop\obspy-master\obspy\io\json\default.py", line 1, in default
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\json\default.py", line 16, in obspy.io.json.default
Failed example:
c = read_events()
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.json.default[3]>", line 1, in <module>
c = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 805, in read_events
return _create_example_catalog()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 826, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\tests\data\neries_events.xml
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\json\default.py", line 18, in obspy.io.json.default
Failed example:
s = json.dumps(c, default=d)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.json.default[5]>", line 1, in <module>
s = json.dumps(c, default=d)
NameError: name 'c' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\tests\test_core.py", line 78, in test_read_via_obspy
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\tests\data\BI008_MEMA-04823.evt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BytesIO object at 0x00000230AE6FCD10>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\tests\test_core.py", line 127, in test_reading_via_obspy_and_bytesio
st = read(buf)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-60bqchlv.tmp
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.kinemetrics.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\__init__.py", line 24, in obspy.io.kinemetrics.__init__
Failed example:
st = read("/path/to/BI008_MEMA-04823.evt")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.kinemetrics.__init__[1]>", line 1, in <module>
st = read("/path/to/BI008_MEMA-04823.evt")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\tests\data\BI008_MEMA-04823.evt
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\__init__.py", line 25, in obspy.io.kinemetrics.__init__
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.kinemetrics.__init__[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\__init__.py", line 27, in obspy.io.kinemetrics.__init__
Failed example:
print (st) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.kinemetrics.__init__[3]>", line 1, in <module>
print (st) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\__init__.py", line 45, in obspy.io.kinemetrics.__init__
Failed example:
stats_evt = st[0].stats.pop('kinemetrics_evt')
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.kinemetrics.__init__[4]>", line 1, in <module>
stats_evt = st[0].stats.pop('kinemetrics_evt')
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\__init__.py", line 46, in obspy.io.kinemetrics.__init__
Failed example:
print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.kinemetrics.__init__[5]>", line 1, in <module>
print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\__init__.py", line 58, in obspy.io.kinemetrics.__init__
Failed example:
for k, v in sorted(stats_evt.items()):
print(k, v)
# doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.kinemetrics.__init__[6]>", line 1, in <module>
for k, v in sorted(stats_evt.items()):
NameError: name 'stats_evt' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\__init__.py", line 98, in obspy.io.kinemetrics.__init__
Failed example:
type(st[0].data) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.kinemetrics.__init__[7]>", line 1, in <module>
type(st[0].data) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kinemetrics\__init__.py", line 100, in obspy.io.kinemetrics.__init__
Failed example:
print(st[0].data)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.kinemetrics.__init__[8]>", line 1, in <module>
print(st[0].data)
NameError: name 'st' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kml\tests\test_kml.py", line 40, in test_write_catalog
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 805, in read_events
return _create_example_catalog()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 826, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kml\tests\test_kml.py", line 23, in test_write_inventory
inv = read_inventory()
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 81, in read_inventory
return _create_example_inventory()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 37, in _create_example_inventory
return read_inventory('/path/to/BW_GR_misc.xml', format="STATIONXML")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.kml.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kml\__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kml\__init__.py", line 13, in obspy.io.kml.__init__
Failed example:
inv = read_inventory() # load example data
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.kml.__init__[1]>", line 1, in <module>
inv = read_inventory() # load example data
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 81, in read_inventory
return _create_example_inventory()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 37, in _create_example_inventory
return read_inventory('/path/to/BW_GR_misc.xml', format="STATIONXML")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\kml\__init__.py", line 15, in obspy.io.kml.__init__
Failed example:
cat = read_events() # load example data
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.kml.__init__[3]>", line 1, in <module>
cat = read_events() # load example data
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 805, in read_events
return _create_example_catalog()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 826, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\tests\data\neries_events.xml
>>> Cannot import test suite for module obspy.io.mseed due to:
--------------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 744, in main
errors = run(argv, interactive)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 708, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 537, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 161, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "C:\Users\LH\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName
test = obj()
File "C:\Users\LH\Desktop\obspy-master\obspy\io\mseed\tests\__init__.py", line 12, in suite
add_doctests(suite, MODULE_NAME)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\testing.py", line 114, in add_doctests
_module = __import__(_module_name,
File "C:\Users\LH\Desktop\obspy-master\obspy\io\mseed\core.py", line 16, in <module>
from . import (util, InternalMSEEDError, ObsPyMSEEDFilesizeTooSmallError,
File "C:\Users\LH\Desktop\obspy-master\obspy\io\mseed\util.py", line 19, in <module>
from .headers import (ENCODINGS, ENDIAN, FIXED_HEADER_ACTIVITY_FLAGS,
File "C:\Users\LH\Desktop\obspy-master\obspy\io\mseed\headers.py", line 17, in <module>
__clibmseed = _load_cdll("mseed")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 112, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libmseed_Windows_64bit_py38.cp38-win_amd64.pyd"
Path: C:\Users\LH\Desktop\obspy-master\obspy\lib\libmseed_Windows_64bit_py38.cp38-win_amd64.pyd
Current directory: C:\Users\LH\Desktop\obspy-master
ctypes error message: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libmseed_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Directory listing of lib directory:
-, :, C, D, H, L, U, \, \, \, \, \, \, a, b, b, b, e, e, e, i, k, l,
m, o, o, o, p, p, p, r, r, s, s, s, s, s, s, t, t, y, y
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.StringIO object at 0x00000230AF2345E0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 276, in test_missing_lines
cat = read_events(data)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 663, in _generic_reader
fh.write(pathname_or_url.read())
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 109, in write
return self._fileobj.write(*args, **kwargs)
TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.StringIO object at 0x00000230AF2345E0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 314, in test_raise_exception_if_no_events_in_file
self.assertRaises(ObsPyNDKException, read_events, data)
File "C:\Users\LH\anaconda3\lib\unittest\case.py", line 816, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "C:\Users\LH\anaconda3\lib\unittest\case.py", line 202, in handle
callable_obj(*args, **kwargs)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 663, in _generic_reader
fh.write(pathname_or_url.read())
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 109, in write
return self._fileobj.write(*args, **kwargs)
TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 33, in test_read_single_ndk
ref_cat = read_events(reference)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\data\C200604092050A.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 293, in test_reading_event_with_faulty_but_often_occurring_timestamp
cat = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\data\faulty_cmt_timestamp.ndk
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 216, in test_reading_file_with_multiple_errors
cat = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\data\faulty_multiple_events.ndk
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BytesIO object at 0x00000230AE6FCAE0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 128, in test_reading_from_bytes_io
cat = read_events(file_object)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-udcxu_p2.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 253, in test_reading_from_bytestring
ref_cat = read_events(reference)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\data\C200604092050A.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BufferedReader name='C:\\Users\\LH\\Desktop\\obspy-master\\obspy\\io\\ndk\\tests\\data\\C200604092050A.ndk'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 155, in test_reading_from_open_file_in_binary_mode
cat = read_events(fh)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-wtisji91.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.TextIOWrapper name='C:\\Users\\LH\\Desktop\\obspy-master\\obspy\\io\\ndk\\tests\\data\\C200604092050A.ndk' mode='rt' encoding='cp936'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 142, in test_reading_from_open_file_in_text_mode
cat = read_events(fh)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 663, in _generic_reader
fh.write(pathname_or_url.read())
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 109, in write
return self._fileobj.write(*args, **kwargs)
TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 236, in test_reading_from_string
ref_cat = read_events(reference)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\data\C200604092050A.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.StringIO object at 0x00000230AEFFFB80>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 112, in test_reading_from_string_io
cat = read_events(file_object)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 663, in _generic_reader
fh.write(pathname_or_url.read())
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 109, in write
return self._fileobj.write(*args, **kwargs)
TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 168, in test_reading_the_same_file_twice_does_not_raise_a_warnings
cat_1 = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\data\C200604092050A.ndk
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\test_ndk.py", line 97, in test_reading_using_obspy_plugin
cat = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\data\C200604092050A.ndk
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.ndk.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\__init__.py", line 60, in obspy.io.ndk.__init__
Failed example:
cat = obspy.read_events("/path/to/C200604092050A.ndk")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.ndk.__init__[1]>", line 1, in <module>
cat = obspy.read_events("/path/to/C200604092050A.ndk")
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\tests\data\C200604092050A.ndk
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\ndk\__init__.py", line 61, in obspy.io.ndk.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.ndk.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'FNETMT'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\tests\test_fnetmt_reading.py", line 20, in test_read_fnetmt_catalog
cat = read_events(testfile, 'FNETMT')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "FNETMT" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BytesIO object at 0x00000230AF275040>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\tests\test_fnetmt_reading.py", line 44, in test_read_fnetmt_catalog_from_bytes_io
read_events(buf)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-g59p8xvn.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BufferedReader name='C:\\Users\\LH\\Desktop\\obspy-master\\obspy\\io\\nied\\tests\\data\\FNETMTCATALOG'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\tests\test_fnetmt_reading.py", line 32, in test_read_fnetmt_catalog_from_open_files
read_events(fh)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-8j4llmyf.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\tests\test_knet_reading.py", line 22, in test_read_knet_ascii
tr = read(testfile)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nied\tests\data\test.knet
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BytesIO object at 0x00000230B0342AE0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\tests\test_knet_reading.py", line 56, in test_read_knet_ascii_from_bytes_io
tr = read(buf)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-vpnetz9o.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BufferedReader name='C:\\Users\\LH\\Desktop\\obspy-master\\obspy\\io\\nied\\tests\\data\\test.knet'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\tests\test_knet_reading.py", line 37, in test_read_knet_ascii_from_open_files
tr = read(fh)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-tf50j02v.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\tests\test_knet_reading.py", line 72, in test_station_name_hack
tr = read(testfile, convert_stnm=True)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nied\tests\data\test.knet
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.nied.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\__init__.py", line 22, in obspy.io.nied.__init__
Failed example:
cat = obspy.read_events("/path/to/FNETMTCATALOG")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nied.__init__[1]>", line 1, in <module>
cat = obspy.read_events("/path/to/FNETMTCATALOG")
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nied\tests\data\FNETMTCATALOG
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\__init__.py", line 23, in obspy.io.nied.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nied.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\__init__.py", line 29, in obspy.io.nied.__init__
Failed example:
print(cat[0]) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nied.__init__[3]>", line 1, in <module>
print(cat[0]) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\__init__.py", line 90, in obspy.io.nied.__init__
Failed example:
st = read('/path/to/test.knet')
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nied.__init__[5]>", line 1, in <module>
st = read('/path/to/test.knet')
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nied\tests\data\test.knet
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\__init__.py", line 91, in obspy.io.nied.__init__
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nied.__init__[6]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\__init__.py", line 101, in obspy.io.nied.__init__
Failed example:
st = read('/path/to/test.knet',convert_stnm=True)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nied.__init__[7]>", line 1, in <module>
st = read('/path/to/test.knet',convert_stnm=True)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nied\tests\data\test.knet
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\__init__.py", line 102, in obspy.io.nied.__init__
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nied.__init__[8]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\__init__.py", line 109, in obspy.io.nied.__init__
Failed example:
print(st[0].stats) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nied.__init__[9]>", line 1, in <module>
print(st[0].stats) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\__init__.py", line 123, in obspy.io.nied.__init__
Failed example:
print(st[0].stats.knet.stlo)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nied.__init__[10]>", line 1, in <module>
print(st[0].stats.knet.stlo)
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nied\__init__.py", line 126, in obspy.io.nied.__init__
Failed example:
print(st[0].stats.knet.comment)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nied.__init__[11]>", line 1, in <module>
print(st[0].stats.knet.comment)
NameError: name 'st' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\tests\test_core.py", line 88, in test_read_nlloc_hyp
cat.write(tf, format="QUAKEML")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\tests\test_core.py", line 214, in test_read_nlloc_hyp_via_plugin
cat = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\tests\data\nlloc_custom.hyp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\tests\test_core.py", line 121, in test_read_nlloc_hyp_with_builtin_projection
cat_expected = read_events(get_example_file("nlloc.qml"))
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\tests\data\nlloc.qml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'NLLOC_HYP'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\tests\test_core.py", line 246, in test_read_nlloc_with_multiple_events
got = read_events(get_example_file("vanua.sum.grid0.loc.hyp"),
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "NLLOC_HYP" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\tests\test_core.py", line 234, in test_read_nlloc_with_picks
picks = read_events(get_example_file("nlloc_custom.qml"))[0].picks
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\tests\data\nlloc_custom.qml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\tests\test_core.py", line 48, in test_write_nlloc_obs
cat = read_events(filename, "QUAKEML")
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.nlloc.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\__init__.py", line 23, in obspy.io.nlloc.__init__
Failed example:
cat = read_events("/path/to/nlloc.hyp")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nlloc.__init__[1]>", line 1, in <module>
cat = read_events("/path/to/nlloc.hyp")
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\tests\data\nlloc.hyp
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\__init__.py", line 24, in obspy.io.nlloc.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nlloc.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\__init__.py", line 28, in obspy.io.nlloc.__init__
Failed example:
event = cat[0]
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nlloc.__init__[3]>", line 1, in <module>
event = cat[0]
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\__init__.py", line 29, in obspy.io.nlloc.__init__
Failed example:
print(event) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nlloc.__init__[4]>", line 1, in <module>
print(event) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'event' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\__init__.py", line 42, in obspy.io.nlloc.__init__
Failed example:
origin = event.origins[0]
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nlloc.__init__[5]>", line 1, in <module>
origin = event.origins[0]
NameError: name 'event' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nlloc\__init__.py", line 43, in obspy.io.nlloc.__init__
Failed example:
print(origin) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.nlloc.__init__[6]>", line 1, in <module>
print(origin) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'origin' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 231, in test_blanksfile
st = read()
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 205, in read
st = _create_example_stream(headonly=headonly)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 294, in _create_example_stream
inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\data\BW_RJOB.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 653, in test_distance_conversion
cat = read_events(testing_path)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\data\01-0411-15L.S201309
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 731, in test_high_precision_read_write
cat = read_events(
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\data\sfile_high_precision_picks
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'NORDIC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 673, in test_large_negative_longitude
event.write(tf.name, format="NORDIC")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\event.py", line 323, in write
Catalog(events=[self]).write(filename, format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "NORDIC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 777, in test_long_phase_name
cat = read_events(
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\data\sfile_long_phase
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'NORDIC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 539, in test_more_than_three_mags
cat.write(tf.name, format='nordic')
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "NORDIC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 847, in test_read_bad_covariance
cat = read_events(
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\data\sfile_bad_covariance
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 857, in test_read_high_accuracy
cat = read_events(
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\data\sfile_highaccuracy
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 712, in test_read_high_precision_pick
cat = read_events(
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\data\sfile_high_precision_picks
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 480, in test_read_latin1
cat = read_events(dos_file)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\data\dos-file.sfile
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 1091, in test_read_uncert_ellipse
cat = read_events(
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\data\sfile_highaccuracy
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 810, in test_read_write_over_day
event_back = read_events(tf.name)[0]
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-ubns4qso.out
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BytesIO object at 0x00000230B08BA8B0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 366, in test_reading_bytes_io
cat = read_events(file_object)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-94mxfva8.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.StringIO object at 0x00000230B06FF1F0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 351, in test_reading_string_io
cat = read_events(file_object)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 663, in _generic_reader
fh.write(pathname_or_url.read())
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 109, in write
return self._fileobj.write(*args, **kwargs)
TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 819, in test_seconds_overflow
cat = read_events(
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\data\sfile_seconds_overflow
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 515, in test_write_plugin
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 805, in read_events
return _create_example_catalog()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 826, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'NORDIC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 690, in test_write_preferred_origin
event.write(tf.name, format="NORDIC")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\event.py", line 323, in write
Catalog(events=[self]).write(filename, format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "NORDIC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\nordic\tests\test_nordic.py", line 500, in test_write_select
cat = read_events()
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 805, in read_events
return _create_example_catalog()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 826, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.pdas.core._read_pdas
File "C:\Users\LH\Desktop\obspy-master\obspy\io\pdas\core.py", line 41, in _read_pdas
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\pdas\core.py", line 57, in obspy.io.pdas.core._read_pdas
Failed example:
st = read("/path/to/p1246001.108")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.pdas.core._read_pdas[1]>", line 1, in <module>
st = read("/path/to/p1246001.108")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\pdas\tests\data\p1246001.108
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\pdas\core.py", line 58, in obspy.io.pdas.core._read_pdas
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.pdas.core._read_pdas[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\pdas\core.py", line 60, in obspy.io.pdas.core._read_pdas
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.pdas.core._read_pdas[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\pde\tests\test_mchedr.py", line 326, in test_read_events
catalog = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\pde\tests\data\mchedr.dat
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.pde.mchedr._read_mchedr
File "C:\Users\LH\Desktop\obspy-master\obspy\io\pde\mchedr.py", line 1, in _read_mchedr
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\pde\mchedr.py", line 19, in obspy.io.pde.mchedr._read_mchedr
Failed example:
cat = read_events('/path/to/mchedr.dat')
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.pde.mchedr._read_mchedr[1]>", line 1, in <module>
cat = read_events('/path/to/mchedr.dat')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\pde\tests\data\mchedr.dat
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\pde\mchedr.py", line 20, in obspy.io.pde.mchedr._read_mchedr
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.pde.mchedr._read_mchedr[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 1082, in test_avoid_empty_stub_elements
cat.write(memfile, format="QUAKEML", validate=True)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 770, in test_creating_minimal_quakeml_with_mt
cat.write(memfile, format="quakeml", validate=IS_RECENT_LXML)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 1062, in test_focal_mechanism_write_read
cat.write(memfile, format="QUAKEML", validate=True)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 1159, in test_issue_2339
cat1 = Catalog(events=[read_events()[0]])
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 805, in read_events
return _create_example_catalog()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 826, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 1193, in test_native_namespace_in_extra
cat.write(buf, format='QUAKEML')
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 713, in test_preferred_tags
catalog = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\data\preferred.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 809, in test_read_equivalence
cat1 = read_events(self.neries_filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 613, in test_read_events
catalog = read_events(self.neries_filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BytesIO object at 0x00000230B07F2A90>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 1044, in test_read_same_file_twice_to_same_variable
cat1 = read_events(sio) # NOQA
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-5ukv6v4f.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file b'<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<quakeml xmlns="http://quakeml.org/xmlns/quakeml/1.0">\n <eventParameters publicID="smi:eu.emsc/unid">\n <event publicID="quakeml:eu.emsc/event/20120404_0000041">\n <preferredOriginID>quakeml:eu.emsc/origin/rts/261020/782484</preferredOriginID>\n <preferredMagnitudeID>quakeml:eu.emsc/NetworkMagnitude/rts/261020/782484/796646</preferredMagnitudeID>\n <type>null</type>\n <creationInfo>\n <agencyURI>smi:smi-registry/organization/EMSC</agencyURI>\n <authorURI>smi:smi-registry/organization/EMSC</authorURI>\n <creationTime>2012-04-04T16:40:50.000000Z</creationTime>\n <version>1.0.1</version>\n </creationInfo>\n <description>\n <type>Flinn-Engdahl region</type>\n <text>KYRGYZSTAN</text>\n </description>\n <origin publicID="quakeml:eu.emsc/origin/rts/261020/782484">\n <time>\n <value>2012-04-04T14:21:42.3+00:00</value>\n <uncertainty>0</uncertainty>\n </time>\n <latitude>\n <value>41.818</value>\n </latitude>\n <longitude>\n <value>79.689</value>\n </longitude>\n <depth>\n <value>1000</value>\n <uncertainty>0</uncertainty>\n </depth>\n <depthType>from location</depthType>\n <methodID>smi:eu.emsc-csem/origin_method/NA</methodID>\n <quality>\n <usedStationCount>16</usedStationCount>\n <standardError>0</standardError>\n <azimuthalGap>231</azimuthalGap>\n <maximumDistance>53.03</maximumDistance>\n <minimumDistance>2.45</minimumDistance>\n </quality>\n <evaluationMode>manual</evaluationMode>\n <creationInfo>\n <agencyURI>smi:smi-registry/organization/EMSC</agencyURI>\n <authorURI>smi:smi-registry/organization/NNC</authorURI>\n </creationInfo>\n <originUncertainty>\n <minHorizontalUncertainty>0</minHorizontalUncertainty>\n <maxHorizontalUncertainty>0</maxHorizontalUncertainty>\n <azimuthMaxHorizontalUncertainty>0</azimuthMaxHorizontalUncertainty>\n </originUncertainty>\n </origin>\n <magnitude\n publicID="quakeml:eu.emsc/NetworkMagnitude/rts/261020/782484/796646">\n <mag>\n <value>4.4</value>\n <uncertainty>0</uncertainty>\n </mag>\n <type>mb</type>\n <originID>quakeml:eu.emsc/origin/rts/261020/782484</originID>\n <stationCount>0</stationCount>\n <creationInfo>\n <agencyURI>smi:smi-registry/organization/EMSC</agencyURI>\n <authorURI>smi:smi-registry/organization/NNC</authorURI>\n </creationInfo>\n </magnitude>\n </event>\n <event publicID="quakeml:eu.emsc/event/20120404_0000038">\n <preferredOriginID>quakeml:eu.emsc/origin/rts/261017/782476</preferredOriginID>\n <preferredMagnitudeID>quakeml:eu.emsc/NetworkMagnitude/rts/261017/782476/796628</preferredMagnitudeID>\n <type>null</type>\n <creationInfo>\n <agencyURI>smi:smi-registry/organization/EMSC</agencyURI>\n <authorURI>smi:smi-registry/organization/EMSC</authorURI>\n <creationTime>2012-04-04T16:40:50.000000Z</creationTime>\n <version>1.0.1</version>\n </creationInfo>\n <description>\n <type>Flinn-Engdahl region</type>\n <text>EASTERN TURKEY</text>\n </description>\n <origin publicID="quakeml:eu.emsc/origin/rts/261017/782476">\n <time>\n <value>2012-04-04T14:18:37.0+00:00</value>\n <uncertainty>0</uncertainty>\n </time>\n <latitude>\n <value>39.342</value>\n </latitude>\n <longitude>\n <value>41.044</value>\n </longitude>\n <depth>\n <value>14400</value>\n <uncertainty>0</uncertainty>\n </depth>\n <depthType>from location</depthType>\n <methodID>smi:eu.emsc-csem/origin_method/NA</methodID>\n <quality>\n <usedStationCount>46</usedStationCount>\n <standardError>0</standardError>\n <azimuthalGap>27</azimuthalGap>\n <maximumDistance>2.7</maximumDistance>\n <minimumDistance>0.27</minimumDistance>\n </quality>\n <evaluationMode>manual</evaluationMode>\n <creationInfo>\n <agencyURI>smi:smi-registry/organization/EMSC</agencyURI>\n <authorURI>smi:smi-registry/organization/DDA</authorURI>\n </creationInfo>\n <originUncertainty>\n <minHorizontalUncertainty>0</minHorizontalUncertainty>\n <maxHorizontalUncertainty>0</maxHorizontalUncertainty>\n <azimuthMaxHorizontalUncertainty>0</azimuthMaxHorizontalUncertainty>\n </originUncertainty>\n </origin>\n <magnitude\n publicID="quakeml:eu.emsc/NetworkMagnitude/rts/261017/782476/796628">\n <mag>\n <value>4.3</value>\n <uncertainty>0</uncertainty>\n </mag>\n <type>ML</type>\n <originID>quakeml:eu.emsc/origin/rts/261017/782476</originID>\n <stationCount>0</stationCount>\n <creationInfo>\n <agencyURI>smi:smi-registry/organization/EMSC</agencyURI>\n <authorURI>smi:smi-registry/organization/DDA</authorURI>\n </creationInfo>\n </magnitude>\n </event>\n <event publicID="quakeml:eu.emsc/event/20120404_0000039">\n <preferredOriginID>quakeml:eu.emsc/origin/rts/261018/782478</preferredOriginID>\n <preferredMagnitudeID>quakeml:eu.emsc/NetworkMagnitude/rts/261018/782478/796631</preferredMagnitudeID>\n <type>null</type>\n <creationInfo>\n <agencyURI>smi:smi-registry/organization/EMSC</agencyURI>\n <authorURI>smi:smi-registry/organization/EMSC</authorURI>\n <creationTime>2012-04-04T16:40:50.000000Z</creationTime>\n <version>1.0.1</version>\n </creationInfo>\n <description>\n <type>Flinn-Engdahl region</type>\n <text>CENTRAL TURKEY</text>\n </description>\n <origin publicID="quakeml:eu.emsc/origin/rts/261018/782478">\n <time>\n <value>2012-04-04T14:08:46.0+00:00</value>\n <uncertainty>0</uncertainty>\n </time>\n <latitude>\n <value>38.017</value>\n </latitude>\n <longitude>\n <value>37.736</value>\n </longitude>\n <depth>\n <value>7000</value>\n <uncertainty>0</uncertainty>\n </depth>\n <depthType>from location</depthType>\n <methodID>smi:eu.emsc-csem/origin_method/NA</methodID>\n <quality>\n <usedStationCount>22</usedStationCount>\n <standardError>0</standardError>\n <azimuthalGap>66</azimuthalGap>\n <maximumDistance>1.38</maximumDistance>\n <minimumDistance>0.31</minimumDistance>\n </quality>\n <evaluationMode>manual</evaluationMode>\n <creationInfo>\n <agencyURI>smi:smi-registry/organization/EMSC</agencyURI>\n <authorURI>smi:smi-registry/organization/DDA</authorURI>\n </creationInfo>\n <originUncertainty>\n <minHorizontalUncertainty>0</minHorizontalUncertainty>\n <maxHorizontalUncertainty>0</maxHorizontalUncertainty>\n <azimuthMaxHorizontalUncertainty>0</azimuthMaxHorizontalUncertainty>\n </originUncertainty>\n </origin>\n <magnitude\n publicID="quakeml:eu.emsc/NetworkMagnitude/rts/261018/782478/796631">\n <mag>\n <value>3</value>\n <uncertainty>0</uncertainty>\n </mag>\n <type>ML</type>\n <originID>quakeml:eu.emsc/origin/rts/261018/782478</originID>\n <stationCount>0</stationCount>\n <creationInfo>\n <agencyURI>smi:smi-registry/organization/EMSC</agencyURI>\n <authorURI>smi:smi-registry/organization/DDA</authorURI>\n </creationInfo>\n </magnitude>\n </event>\n </eventParameters>\n</quakeml>\n'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 698, in test_read_string
catalog = read_events(data)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 661, in _generic_reader
pathname_or_url.seek(0)
AttributeError: 'bytes' object has no attribute 'seek'
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 1140, in test_reading_invalid_enums
cat = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\data\invalid_enum.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 866, in test_write_amplitude_time_window
cat.write(tmpfile, format='QUAKEML')
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'QUAKEML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 947, in test_write_with_extra_tags_and_read
cat.write(tmpfile, format='QUAKEML', nsmap=nsmap)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\test_quakeml.py", line 1114, in test_writing_invalid_quakeml_id
cat = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\tests\data\invalid_id.xml
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.quakeml.core._read_quakeml
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\core.py", line 1799, in _read_quakeml
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\core.py", line 1816, in obspy.io.quakeml.core._read_quakeml
Failed example:
cat = read_events('/path/to/iris_events.xml')
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.quakeml.core._read_quakeml[1]>", line 1, in <module>
cat = read_events('/path/to/iris_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\tests\data\iris_events.xml
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\quakeml\core.py", line 1817, in obspy.io.quakeml.core._read_quakeml
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.quakeml.core._read_quakeml[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
>>> Cannot import test suite for module obspy.io.reftek due to:
---------------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 744, in main
errors = run(argv, interactive)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 708, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 537, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 161, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "C:\Users\LH\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName
test = obj()
File "C:\Users\LH\Desktop\obspy-master\obspy\io\reftek\tests\__init__.py", line 12, in suite
add_doctests(suite, MODULE_NAME)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\testing.py", line 114, in add_doctests
_module = __import__(_module_name,
File "C:\Users\LH\Desktop\obspy-master\obspy\io\reftek\core.py", line 15, in <module>
from .packet import (Packet, EHPacket, _initial_unpack_packets, PACKET_TYPES,
File "C:\Users\LH\Desktop\obspy-master\obspy\io\reftek\packet.py", line 17, in <module>
from obspy.io.mseed.headers import clibmseed
File "C:\Users\LH\Desktop\obspy-master\obspy\io\mseed\headers.py", line 17, in <module>
__clibmseed = _load_cdll("mseed")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 112, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libmseed_Windows_64bit_py38.cp38-win_amd64.pyd"
Path: C:\Users\LH\Desktop\obspy-master\obspy\lib\libmseed_Windows_64bit_py38.cp38-win_amd64.pyd
Current directory: C:\Users\LH\Desktop\obspy-master
ctypes error message: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libmseed_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Directory listing of lib directory:
-, :, C, D, H, L, U, \, \, \, \, \, \, a, b, b, b, e, e, e, i, k, l,
m, o, o, o, p, p, p, r, r, s, s, s, s, s, s, t, t, y, y
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\rg16\tests\test_read_rg16.py", line 31, in test_reading_rg16_files
st_1 = read(fcnt_file)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\rg16\tests\data\one_channel_many_traces.fcnt
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.rg16.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\rg16\__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\rg16\__init__.py", line 53, in obspy.io.rg16.__init__
Failed example:
st = obspy.read(filename)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.rg16.__init__[3]>", line 1, in <module>
st = obspy.read(filename)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\rg16\tests\data\three_chans_six_traces.fcnt
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\rg16\__init__.py", line 54, in obspy.io.rg16.__init__
Failed example:
st = obspy.read(filename, format='rg16')
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'RG16'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.rg16.__init__[4]>", line 1, in <module>
st = obspy.read(filename, format='rg16')
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "RG16" is not supported. Supported types:
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\rg16\__init__.py", line 59, in obspy.io.rg16.__init__
Failed example:
st = obspy.read(filename, merge=True)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.rg16.__init__[5]>", line 1, in <module>
st = obspy.read(filename, merge=True)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\rg16\tests\data\three_chans_six_traces.fcnt
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\rg16\__init__.py", line 65, in obspy.io.rg16.__init__
Failed example:
st = obspy.read(filename, contacts_north=True)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.rg16.__init__[6]>", line 1, in <module>
st = obspy.read(filename, contacts_north=True)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\rg16\tests\data\three_chans_six_traces.fcnt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'MSEED'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\rg16\tests\test_read_rg16.py", line 404, in test_can_write
st.write(bytstr, 'mseed')
ValueError: Writing format "MSEED" is not supported. Supported types:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\rg16\tests\test_read_rg16.py", line 406, in test_can_write
self.fail('Failed to write to mseed!')
AssertionError: Failed to write to mseed!
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 908, in test_always_sac_reftime
tr.write(tf, format='SAC')
File "C:\Users\LH\Desktop\obspy-master\obspy\core\trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 232, in test_convert_to_sac
st.write(tmpfile, format="SAC")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 823, in test_decimate_resample
tr = read(self.file, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 267, in test_default_values
tr = read(self.file)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\test.sac
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 926, in test_encoding_flag
tr0 = read(self.file_encode, encoding='cp1252')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\test_encode.sac
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 839, in test_invalid_header_field
tr = read(self.file, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 434, in test_issue390
tr = read(self.file, headonly=True, debug_headers=True)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\test.sac
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 337, in test_issue_156
tr.write(sac_file, 'SAC')
File "C:\Users\LH\Desktop\obspy-master\obspy\core\trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 250, in test_iztype11
tr = read(sod_file)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\dis.G.SCZ.__.BHE_short
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 812, in test_merge_sac_obspy_headers
tr.write(tempfile, format='SAC')
File "C:\Users\LH\Desktop\obspy-master\obspy\core\trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 860, in test_not_ascii
tr = read(self.file_notascii, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 370, in test_not_used_but_given_headers
tr1 = read(self.file)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\test.sac
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 409, in test_null_terminated_strings
tr = read(null_file)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\null_terminated.sac
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 192, in test_read_and_write_via_obspy
tr = read(self.file)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\test.sac
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 113, in test_read_big_endian_via_obspy
tr = read(self.filebe, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 154, in test_read_head_via_obspy
tr = read(self.file, format='SAC', headonly=True)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 46, in test_read_via_obspy
tr = read(self.file, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BytesIO object at 0x00000230AEB03A90>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 589, in test_read_via_obspy_from_bytes_io
tr = read(buf)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-rvtlepv1.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 470, in test_read_with_fsize
self.assertRaises(SacError, read, longer_file)
File "C:\Users\LH\anaconda3\lib\unittest\case.py", line 816, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "C:\Users\LH\anaconda3\lib\unittest\case.py", line 202, in handle
callable_obj(*args, **kwargs)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\seism-longer.sac
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 61, in test_read_write_via_obspy
tr = read(self.file, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 94, in test_read_write_xy_via_obspy
tr = read(self.file, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SACXY'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 79, in test_read_xy_write_xy_via_obspy
tr = read(self.filexy, format='SACXY')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SACXY" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 279, in test_reference_time
tr = read(self.fileseis)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\seism.sac
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 885, in test_sac_file_from_new_header
tr.write(tf, format='SAC')
File "C:\Users\LH\Desktop\obspy-master\obspy\core\trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 183, in test_set_version
st.write(tempfile, format="SAC")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 127, in test_swap_bytes_via_obspy
trbe = read(self.filebe, format='SAC')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 307, in test_undefined_b
tr = read(self.file)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\test.sac
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 777, in test_valid_sac_from_minimal_existing_sac_header
tr.write(tempfile, format='SAC')
File "C:\Users\LH\Desktop\obspy-master\obspy\core\trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SACXY'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 361, in test_write_sac_xy_with_minimum_stats
tr.write(sac_file, 'SACXY')
File "C:\Users\LH\Desktop\obspy-master\obspy\core\trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SACXY" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 423, in test_write_small_trace
tr.write(tempfile, format=format)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 171, in test_write_via_obspy
st.write(tempfile, format='SAC')
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 600, in test_write_via_obspy_to_bytes_io
tr = read(self.file)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\test.sac
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SAC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 397, in test_writing_micro_seconds
st.write(tmpfile, format="SAC")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 736, in test_writing_to_file_like_objects_with_obspy
st = read()[:1]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 205, in read
st = _create_example_stream(headonly=headonly)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 294, in _create_example_stream
inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\data\BW_RJOB.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 574, in test_writing_to_io_string_io_fails
st = read()[:1]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 205, in read
st = _create_example_stream(headonly=headonly)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 294, in _create_example_stream
inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\data\BW_RJOB.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 566, in test_writing_to_obj_with_multiple_traces_fails
st = read()
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 205, in read
st = _create_example_stream(headonly=headonly)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 294, in _create_example_stream
inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\data\BW_RJOB.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_core.py", line 919, in test_wrong_encoding
tr0 = read(self.file_encode)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\test_encode.sac
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_sacpz.py", line 50, in test_write_sacpz_multiple_channels
inv = read_inventory("/path/to/IU_ANMO_BH.xml")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\tests\data\IU_ANMO_BH.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_sacpz.py", line 34, in test_write_sacpz_single_channel
inv = read_inventory("/path/to/IU_ANMO_00_BHZ.xml")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\tests\data\IU_ANMO_00_BHZ.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_sacpz.py", line 66, in test_write_sacpz_soh
inv = read_inventory(path)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\..\..\stationxml\tests\data\only_soh.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\test_sactrace.py", line 222, in test_propagate_modified_stats_strings_to_sactrace
tr = read(self.fileseis)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\seism.sac
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.core._internal_read_sac_xy
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\core.py", line 207, in _internal_read_sac_xy
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\core.py", line 233, in obspy.io.sac.core._internal_read_sac_xy
Failed example:
st = read("/path/to/testxy.sac")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.core._internal_read_sac_xy[1]>", line 1, in <module>
st = read("/path/to/testxy.sac")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\testxy.sac
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.core._read_sac
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\core.py", line 306, in _read_sac
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\core.py", line 335, in obspy.io.sac.core._read_sac
Failed example:
st = read("/path/to/test.sac")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.core._read_sac[1]>", line 1, in <module>
st = read("/path/to/test.sac")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\test.sac
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.core._read_sac_xy
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\core.py", line 169, in _read_sac_xy
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\core.py", line 195, in obspy.io.sac.core._read_sac_xy
Failed example:
st = read("/path/to/testxy.sac")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.core._read_sac_xy[1]>", line 1, in <module>
st = read("/path/to/testxy.sac")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\testxy.sac
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.core._write_sac
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\core.py", line 397, in _write_sac
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\core.py", line 422, in obspy.io.sac.core._write_sac
Failed example:
st = read()
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.core._write_sac[1]>", line 1, in <module>
st = read()
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 205, in read
st = _create_example_stream(headonly=headonly)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 294, in _create_example_stream
inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\data\BW_RJOB.xml
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.core._write_sac_xy
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\core.py", line 242, in _write_sac_xy
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\core.py", line 263, in obspy.io.sac.core._write_sac_xy
Failed example:
st = read()
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.core._write_sac_xy[1]>", line 1, in <module>
st = read()
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 205, in read
st = _create_example_stream(headonly=headonly)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 294, in _create_example_stream
inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\data\BW_RJOB.xml
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.sactrace
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\sactrace.py", line 1, in sactrace
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\sactrace.py", line 271, in obspy.io.sac.sactrace
Failed example:
tr = read()[0]
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.sactrace[17]>", line 1, in <module>
tr = read()[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 205, in read
st = _create_example_stream(headonly=headonly)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 294, in _create_example_stream
inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\data\BW_RJOB.xml
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\sactrace.py", line 272, in obspy.io.sac.sactrace
Failed example:
print(tr.stats) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.sactrace[18]>", line 1, in <module>
print(tr.stats) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'tr' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\sactrace.py", line 289, in obspy.io.sac.sactrace
Failed example:
sac = SACTrace.from_obspy_trace(tr)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.sactrace[19]>", line 1, in <module>
sac = SACTrace.from_obspy_trace(tr)
NameError: name 'tr' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\sactrace.py", line 290, in obspy.io.sac.sactrace
Failed example:
print(sac) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Expected:
Reference Time = 08/24/2009 (236) 00:20:03.000000
iztype IB: begin time
b = 0.0
delta = 0.009999999...
e = 29.989999...
iftype = itime
iztype = ib
kcmpnm = EHZ
knetwk = BW
kstnm = RJOB
lcalda = False
leven = True
lovrok = True
lpspol = True
npts = 3000
nvhdr = 6
nzhour = 0
nzjday = 236
nzmin = 20
nzmsec = 0
nzsec = 3
nzyear = 2009
scale = 1.0
Got:
Reference Time = 01/01/1970 (001) 00:00:00.000000
	iztype IB: begin time
b = 0.0
delta = 1.0
e = 0.0
iftype = itime
internal0 = 2.0
iztype = ib
lcalda = False
leven = True
lovrok = True
lpspol = True
npts = 0
nvhdr = 6
nzhour = 0
nzjday = 1
nzmin = 0
nzmsec = 0
nzsec = 0
nzyear = 1970
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\sactrace.py", line 316, in obspy.io.sac.sactrace
Failed example:
print(tr2.stats) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Expected:
network: BW
station: RJOB
location:
channel: EHZ
starttime: 2009-08-24T00:20:03.000000Z
endtime: 2009-08-24T00:20:32.990000Z
sampling_rate: 100.0
delta: 0.01
npts: 3000
calib: 1.0
sac: AttribDict(...)
Got:
network:
station:
location:
channel:
starttime: 1970-01-01T00:00:00.000000Z
endtime: 1970-01-01T00:00:00.000000Z
sampling_rate: 1.0
delta: 1.0
npts: 0
calib: 1.0
sac: AttribDict({'delta': 1.0, 'b': 0.0, 'e': 0.0, 'internal0': 2.0, 'nzyear': 1970, 'nzjday': 1, 'nzhour': 0, 'nzmin': 0, 'nzsec': 0, 'nzmsec': 0, 'nvhdr': 6, 'npts': 0, 'iftype': 1, 'iztype': 9, 'leven': 1, 'lpspol': 1, 'lovrok': 1, 'lcalda': 0})
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sac\__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\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 "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.__init__[1]>", line 1, in <module>
st = read('/path/to/test.sac', debug_headers=True)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sac\tests\data\test.sac
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\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 "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.__init__[2]>", line 1, in <module>
st #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\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 "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.__init__[3]>", line 1, in <module>
print(st) #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\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 "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
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 "C:\Users\LH\Desktop\obspy-master\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 "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.__init__[5]>", line 1, in <module>
print(st[0].stats.sac.dist)
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\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 "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
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 "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BytesIO object at 0x00000230AE9EF090>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\scardec\tests\test_core.py", line 136, in test_read_and_write_scardec_from_bytes_io
cat = obspy.read_events(buf)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-lnrmhena.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\scardec\tests\test_core.py", line 40, in test_read_and_write_scardec_from_files
cat = obspy.read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\scardec\tests\data\test.scardec
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file <_io.BufferedReader name='C:\\Users\\LH\\Desktop\\obspy-master\\obspy\\io\\scardec\\tests\\data\\test.scardec'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\scardec\tests\test_core.py", line 90, in test_read_and_write_scardec_from_open_files
cat = obspy.read_events(fh)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 664, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-oqag3we3.tmp
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.scardec.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\scardec\__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\scardec\__init__.py", line 22, in obspy.io.scardec.__init__
Failed example:
cat = obspy.read_events("/path/to/test.scardec")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.scardec.__init__[1]>", line 1, in <module>
cat = obspy.read_events("/path/to/test.scardec")
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\scardec\tests\data\test.scardec
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\scardec\__init__.py", line 23, in obspy.io.scardec.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.scardec.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\scardec\__init__.py", line 29, in obspy.io.scardec.__init__
Failed example:
print(cat[0]) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.scardec.__init__[3]>", line 1, in <module>
print(cat[0]) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seg2\tests\test_seg2.py", line 99, in test_read_data_format_2
st = read(basename + ".seg2.gz")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 194, in uncompress_file
stream = func(tempfile.name, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\AppData\Local\Temp\obspy-p0oz_0f6.tmp
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seg2\tests\test_seg2.py", line 124, in test_read_data_format_3
st = read(basename + ".seg2")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\seg2\tests\data\20180307_031245000.0.seg2
>>> Cannot import test suite for module obspy.io.segy due to:
-------------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 744, in main
errors = run(argv, interactive)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 708, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 537, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 161, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "C:\Users\LH\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName
test = obj()
File "C:\Users\LH\Desktop\obspy-master\obspy\io\segy\tests\__init__.py", line 32, in suite
add_doctests(suite, MODULE_NAME)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\testing.py", line 114, in add_doctests
_module = __import__(_module_name,
File "C:\Users\LH\Desktop\obspy-master\obspy\io\segy\core.py", line 19, in <module>
from .header import (BINARY_FILE_HEADER_FORMAT, DATA_SAMPLE_FORMAT_CODE_DTYPE,
File "C:\Users\LH\Desktop\obspy-master\obspy\io\segy\header.py", line 8, in <module>
from . import pack, unpack
File "C:\Users\LH\Desktop\obspy-master\obspy\io\segy\unpack.py", line 22, in <module>
from .util import clibsegy
File "C:\Users\LH\Desktop\obspy-master\obspy\io\segy\util.py", line 8, in <module>
clibsegy = _load_cdll("segy")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 112, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libsegy_Windows_64bit_py38.cp38-win_amd64.pyd"
Path: C:\Users\LH\Desktop\obspy-master\obspy\lib\libsegy_Windows_64bit_py38.cp38-win_amd64.pyd
Current directory: C:\Users\LH\Desktop\obspy-master
ctypes error message: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libsegy_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Directory listing of lib directory:
-, :, C, D, H, L, U, \, \, \, \, \, \, a, b, b, b, e, e, e, i, k, l,
m, o, o, o, p, p, p, r, r, s, s, s, s, s, s, t, t, y, y
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\tests\test_core.py", line 191, in test_read_obspy
st1 = read(os.path.join(self.path,
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\tests\data\2011-09-06-1311-36S.A1032_001BH_Z
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.seisan.core._read_seisan
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\core.py", line 112, in _read_seisan
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\core.py", line 128, in obspy.io.seisan.core._read_seisan
Failed example:
st = read("/path/to/2001-01-13-1742-24S.KONO__004")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seisan.core._read_seisan[1]>", line 1, in <module>
st = read("/path/to/2001-01-13-1742-24S.KONO__004")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\tests\data\2001-01-13-1742-24S.KONO__004
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\core.py", line 129, in obspy.io.seisan.core._read_seisan
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seisan.core._read_seisan[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\core.py", line 131, in obspy.io.seisan.core._read_seisan
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seisan.core._read_seisan[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.seisan.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\__init__.py", line 23, in obspy.io.seisan.__init__
Failed example:
st = read("/path/to/2001-01-13-1742-24S.KONO__004")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seisan.__init__[1]>", line 1, in <module>
st = read("/path/to/2001-01-13-1742-24S.KONO__004")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\tests\data\2001-01-13-1742-24S.KONO__004
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\__init__.py", line 24, in obspy.io.seisan.__init__
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seisan.__init__[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\__init__.py", line 26, in obspy.io.seisan.__init__
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seisan.__init__[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\__init__.py", line 37, in obspy.io.seisan.__init__
Failed example:
print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seisan.__init__[4]>", line 1, in <module>
print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seisan\__init__.py", line 52, in obspy.io.seisan.__init__
Failed example:
print(st[0].data)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seisan.__init__[5]>", line 1, in <module>
print(st[0].data)
NameError: name 'st' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_event.py", line 347, in test_read_and_write
catalog = read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\data\qml-example-1.2-RC3_write.sc3ml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SC3ML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_event.py", line 239, in test_read_quakeml
read_events(filename, format='SC3ML')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SC3ML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 657, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file b'<?xml version="1.0" encoding="UTF-8"?>\n<seiscomp xmlns="http://geofon.gfz-potsdam.de/ns/seiscomp3-schema/0.10" version="0.10">\n <EventParameters publicID="smi:nz.org.geonet/catalog/1">\n <amplitude publicID="smi:nz.org.geonet/event/2806038g/amplitude/1/modified">\n <type>A</type>\n <amplitude>\n <value>1.0e-08</value>\n </amplitude>\n <timeWindow>\n <reference>2007-10-10T14:40:39.055</reference>\n <begin>0</begin>\n <end>0.51424</end>\n </timeWindow>\n <unit>m/s</unit>\n </amplitude>\n <origin publicID="smi:nz.org.geonet/event/2806038g/origin/1">\n <time>\n <value>2007-10-10T14:40:39.055</value>\n <uncertainty>0.51424</uncertainty>\n <confidenceLevel>68.0</confidenceLevel>\n </time>\n <latitude>\n <value>-38.28462</value>\n <uncertainty>0.02711</uncertainty>\n <confidenceLevel>99.0</confidenceLevel>\n </latitude>\n <longitude>\n <value>176.00703</value>\n <uncertainty>0.02229</uncertainty>\n <confidenceLevel>99.0</confidenceLevel>\n </longitude>\n <depth>\n <value>0.1555297</value>\n <uncertainty>0.0043677</uncertainty>\n <confidenceLevel>90.0</confidenceLevel>\n </depth>\n <depthType>from location</depthType>\n <timeFixed>true</timeFixed>\n <epicenterFixed>false</epicenterFixed>\n <referenceSystemID>smi:nz.org.geonet/referencesystem/27200</referenceSystemID>\n <quality>\n <usedPhaseCount>23</usedPhaseCount>\n <usedStationCount>19</usedStationCount>\n <standardError>0.21386</standardError>\n <azimuthalGap>203</azimuthalGap>\n <maximumDistance>217.43</maximumDistance>\n <minimumDistance>96.61</minimumDistance>\n </quality>\n <type>hypocenter</type>\n <evaluationMode>manual</evaluationMode>\n <evaluationStatus>confirmed</evaluationStatus>\n <stationMagnitude publicID="smi:nz.org.geonet/event/2806038g/stationmagnitude/1">\n <originID>smi:nz.org.geonet/event/2806038g/origin/1</originID>\n <magnitude>\n <value>3.662</value>\n <uncertainty>0.217</uncertainty>\n </magnitude>\n <amplitudeID>smi:nz.org.geonet/event/2806038g/amplitude/1/modified</amplitudeID>\n </stationMagnitude>\n <magnitude publicID="smi:nz.org.geonet/event/2806038g/magnitude/1">\n <magnitude>\n <value>3.662</value>\n <uncertainty>0.217</uncertainty>\n </magnitude>\n <type>ML</type>\n <originID>smi:nz.org.geonet/event/2806038g/origin/1</originID>\n <stationCount>15</stationCount>\n <evaluationStatus>confirmed</evaluationStatus>\n </magnitude>\n </origin>\n <event publicID="smi:nz.org.geonet/event/2806038g">\n <preferredOriginID>smi:nz.org.geonet/event/2806038g/origin/1</preferredOriginID>\n <preferredMagnitudeID>smi:nz.org.geonet/event/2806038g/magnitude/1</preferredMagnitudeID>\n <type>earthquake</type>\n <originReference>smi:nz.org.geonet/event/2806038g/origin/1</originReference>\n </event>\n </EventParameters>\n</seiscomp>\n'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_event.py", line 230, in test_read_string
catalog = read_events(data)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 661, in _generic_reader
pathname_or_url.seek(0)
AttributeError: 'bytes' object has no attribute 'seek'
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_event.py", line 115, in test_sc3ml_versions
read_events(filename)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\data\version0.5
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'SC3ML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_event.py", line 329, in test_write_example
catalog.write(tf, format='SC3ML', validate=True)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "SC3ML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'SC3ML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_event.py", line 339, in test_write_remove_events
catalog.write(tf, format='SC3ML', validate=True,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "SC3ML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 495, in write
format_ep = EVENT_ENTRY_POINTS_WRITE[format]
KeyError: 'SC3ML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_event.py", line 307, in test_write_xslt_neries_events
catalog.write(tmpfile, format='SC3ML', validate=True,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 502, in write
raise ValueError(msg % (format,
ValueError: Writing format "SC3ML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_inventory.py", line 39, in setUp
self.stationxml_inventory = read_inventory(stationxml_path,
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_inventory.py", line 39, in setUp
self.stationxml_inventory = read_inventory(stationxml_path,
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_inventory.py", line 39, in setUp
self.stationxml_inventory = read_inventory(stationxml_path,
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_inventory.py", line 39, in setUp
self.stationxml_inventory = read_inventory(stationxml_path,
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_inventory.py", line 39, in setUp
self.stationxml_inventory = read_inventory(stationxml_path,
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_inventory.py", line 39, in setUp
self.stationxml_inventory = read_inventory(stationxml_path,
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_inventory.py", line 39, in setUp
self.stationxml_inventory = read_inventory(stationxml_path,
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\test_inventory.py", line 39, in setUp
self.stationxml_inventory = read_inventory(stationxml_path,
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.seiscomp.event._read_sc3ml
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\event.py", line 26, in _read_sc3ml
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\event.py", line 52, in obspy.io.seiscomp.event._read_sc3ml
Failed example:
cat = read_events('/path/to/iris_events.sc3ml')
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seiscomp.event._read_sc3ml[1]>", line 1, in <module>
cat = read_events('/path/to/iris_events.sc3ml')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\tests\data\iris_events.sc3ml
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\seiscomp\event.py", line 53, in obspy.io.seiscomp.event._read_sc3ml
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.seiscomp.event._read_sc3ml[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\test_core.py", line 289, in test_header_whitespaces
tr = read()[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 205, in read
st = _create_example_stream(headonly=headonly)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 294, in _create_example_stream
inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\data\BW_RJOB.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'SH_ASC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\test_core.py", line 145, in test_read_and_write_multi_channel_asc_file_via_obspy
stream1 = read(origfile, format="SH_ASC")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "SH_ASC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'Q'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\test_core.py", line 202, in test_read_and_write_multi_channel_q_file_via_obspy
stream1 = read(origfile, format="Q")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "Q" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\test_core.py", line 274, in test_write_long_header
tr = read()[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 205, in read
st = _create_example_stream(headonly=headonly)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 294, in _create_example_stream
inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml"))
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\data\BW_RJOB.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1445, in write
format_ep = ENTRY_POINTS['waveform_write'][format]
KeyError: 'SH_ASC'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\test_core.py", line 258, in test_write_small_trace
tr.write(tempfile, format=format)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 1452, in write
raise ValueError(msg % (format,
ValueError: Writing format "SH_ASC" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\test_evt.py", line 22, in test_local_event1
cat = read_events(fname)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\data\local1.evt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\test_evt.py", line 27, in test_local_event2
cat = read_events(fname)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\data\local2.evt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\test_evt.py", line 92, in test_populate_waveform_id
inv = read_inventory().select(channel='HH?')
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 81, in read_inventory
return _create_example_inventory()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 37, in _create_example_inventory
return read_inventory('/path/to/BW_GR_misc.xml', format="STATIONXML")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\test_evt.py", line 44, in test_tele_event1
cat = read_events(fname)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\data\tele1.evt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\test_evt.py", line 50, in test_tele_event2
cat = read_events(fname)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\data\tele2.evt
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sh.core._read_asc
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\core.py", line 95, in _read_asc
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\core.py", line 123, in obspy.io.sh.core._read_asc
Failed example:
st = read("/path/to/QFILE-TEST-ASC.ASC")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.core._read_asc[1]>", line 1, in <module>
st = read("/path/to/QFILE-TEST-ASC.ASC")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\data\QFILE-TEST-ASC.ASC
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\core.py", line 124, in obspy.io.sh.core._read_asc
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.core._read_asc[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\core.py", line 126, in obspy.io.sh.core._read_asc
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.core._read_asc[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sh.core._read_q
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\core.py", line 325, in _read_q
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\core.py", line 366, in obspy.io.sh.core._read_q
Failed example:
st = read("/path/to/QFILE-TEST.QHD")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.core._read_q[1]>", line 1, in <module>
st = read("/path/to/QFILE-TEST.QHD")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\data\QFILE-TEST.QHD
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\core.py", line 367, in obspy.io.sh.core._read_q
Failed example:
st #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.core._read_q[2]>", line 1, in <module>
st #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\core.py", line 369, in obspy.io.sh.core._read_q
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.core._read_q[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sh.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\__init__.py", line 23, in obspy.io.sh.__init__
Failed example:
st = read("/path/to/QFILE-TEST-ASC.ASC")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.__init__[1]>", line 1, in <module>
st = read("/path/to/QFILE-TEST-ASC.ASC")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\sh\tests\data\QFILE-TEST-ASC.ASC
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\__init__.py", line 24, in obspy.io.sh.__init__
Failed example:
st #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.__init__[2]>", line 1, in <module>
st #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\__init__.py", line 26, in obspy.io.sh.__init__
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.__init__[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\__init__.py", line 36, in obspy.io.sh.__init__
Failed example:
print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.__init__[4]>", line 1, in <module>
print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\__init__.py", line 50, in obspy.io.sh.__init__
Failed example:
print(st[0].stats.sh['COMMENT'])
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.__init__[5]>", line 1, in <module>
print(st[0].stats.sh['COMMENT'])
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\sh\__init__.py", line 55, in obspy.io.sh.__init__
Failed example:
st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sh.__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 "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.shapefile.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\shapefile\__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\shapefile\__init__.py", line 12, in obspy.io.shapefile.__init__
Failed example:
inv = read_inventory() # load example data
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.shapefile.__init__[1]>", line 1, in <module>
inv = read_inventory() # load example data
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 81, in read_inventory
return _create_example_inventory()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 37, in _create_example_inventory
return read_inventory('/path/to/BW_GR_misc.xml', format="STATIONXML")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\shapefile\__init__.py", line 14, in obspy.io.shapefile.__init__
Failed example:
cat = read_events() # load example data
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.shapefile.__init__[3]>", line 1, in <module>
cat = read_events() # load example data
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 805, in read_events
return _create_example_catalog()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 826, in _create_example_catalog
return read_events('/path/to/neries_events.xml')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\core\tests\data\neries_events.xml
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\shapefile\__init__.py", line 23, in obspy.io.shapefile.__init__
Failed example:
regions = [
fe.get_region(event.origins[0].longitude, event.origins[0].latitude)
for event in cat]
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.shapefile.__init__[7]>", line 3, in <module>
for event in cat]
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\shapefile\__init__.py", line 26, in obspy.io.shapefile.__init__
Failed example:
extra_fields = [('Region', 'C', 100, None, regions)]
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.shapefile.__init__[8]>", line 1, in <module>
extra_fields = [('Region', 'C', 100, None, regions)]
NameError: name 'regions' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\test_station_text_parsing.py", line 627, in test_parsing_faulty_header_at_channel_level
inv_obs_good = obspy.read_inventory(good_file)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\data\channel_level_fdsn.txt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\test_station_text_parsing.py", line 656, in test_parsing_files_with_no_endtime
inv_obs_a = obspy.read_inventory(file_a)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\data\network_level_fdsn.txt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\test_station_text_parsing.py", line 854, in test_read_write_stationtxt
inv_obs = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\data\network_level_fdsn.txt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\test_station_text_parsing.py", line 404, in test_reading_channel_file
inv_obs = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\data\channel_level_fdsn.txt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\test_station_text_parsing.py", line 564, in test_reading_channel_without_response_info
inv_obs = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\data\log_channel_fdsn.txt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\test_station_text_parsing.py", line 116, in test_reading_network_file
inv_obs = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\data\network_level_fdsn.txt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\test_station_text_parsing.py", line 201, in test_reading_station_file
inv_obs = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\data\station_level_fdsn.txt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\test_station_text_parsing.py", line 474, in test_reading_unicode_file
inv_obs = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\data\unicode_example_fdsn.txt
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 351, in write
format_ep = ENTRY_POINTS['inventory_write'][format]
KeyError: 'STATIONTXT'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\test_station_text_parsing.py", line 778, in test_write_stationtxt
test_inv.write(stio, format="STATIONTXT", level="CHANNEL")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 360, in write
raise ValueError(msg)
ValueError: Writing format 'STATIONTXT' is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.stationtxt.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\__init__.py", line 24, in obspy.io.stationtxt.__init__
Failed example:
inv = obspy.read_inventory("/path/to/channel_level_fdsn.txt")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.stationtxt.__init__[1]>", line 1, in <module>
inv = obspy.read_inventory("/path/to/channel_level_fdsn.txt")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\tests\data\channel_level_fdsn.txt
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationtxt\__init__.py", line 25, in obspy.io.stationtxt.__init__
Failed example:
print(inv) # # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.stationtxt.__init__[2]>", line 1, in <module>
print(inv) # # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'inv' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 100, in test_different_write_levels
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\stationxml_BK.CMB.__.LKS.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 823, in test_numbers_are_written_to_poles_and_zeros
inv = obspy.read_inventory()
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 81, in read_inventory
return _create_example_inventory()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 37, in _create_example_inventory
return read_inventory('/path/to/BW_GR_misc.xml', format="STATIONXML")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 796, in test_parse_file_with_no_default_namespace
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\no_default_namespace.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 809, in test_parse_file_with_schema_2
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\version20.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 198, in test_read_and_write_full_file
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\full_random_stationxml.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 145, in test_read_and_write_minimal_file
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\minimal_station.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 702, in test_reading_and_writing_channel_with_response
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\IRIS_single_channel_with_response.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 372, in test_reading_and_writing_full_network_tag
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\full_network_field_station.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 343, in test_reading_and_writing_full_root_tag
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\minimal_with_non_obspy_module_and_sender_tags_station.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 457, in test_reading_and_writing_full_station_tag
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\full_station_field_station.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 1172, in test_reading_channel_without_coordinates
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\channel_without_coordinates.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 1157, in test_reading_file_with_empty_channel_object
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\empty_channel.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 1279, in test_reading_full_stationxml_1_0_file
inv = obspy.read_inventory(filename, format='STATIONXML')
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 332, in test_reading_other_module_tags
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\minimal_with_non_obspy_module_and_sender_tags_station.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 769, in test_stationxml_with_availability
inv = obspy.read_inventory(filename, format="stationxml")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 175, in test_subsecond_read_and_write_minimal_file
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\minimal_station_with_microseconds.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 1192, in test_units_during_identity_stage
inv = obspy.read_inventory().select(station="RJOB", channel="EHZ",
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 81, in read_inventory
return _create_example_inventory()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 37, in _create_example_inventory
return read_inventory('/path/to/BW_GR_misc.xml', format="STATIONXML")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 988, in test_write_with_extra_tags_and_read
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\IRIS_single_channel_with_response_custom_tags.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 863, in test_write_with_extra_tags_namespace_redef
inv = obspy.read_inventory(filename)
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\data\stationxml_with_availability.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 879, in test_write_with_extra_tags_without_read_extra
inv = obspy.read_inventory()
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 81, in read_inventory
return _create_example_inventory()
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 37, in _create_example_inventory
return read_inventory('/path/to/BW_GR_misc.xml', format="STATIONXML")
File "<decorator-gen-49>", line 2, in read_inventory
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 83, in read_inventory
return _generic_reader(path_or_file_object, _read, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-50>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 92, in _read
inventory, format = _read_from_plugin('inventory', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "STATIONXML" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 351, in write
format_ep = ENTRY_POINTS['inventory_write'][format]
KeyError: 'STATIONXML'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\stationxml\tests\test_stationxml.py", line 312, in test_writing_module_tags
inv.write(file_buffer, format="StationXML", validate=True)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\inventory\inventory.py", line 360, in write
raise ValueError(msg)
ValueError: Writing format 'STATIONXML' is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'WAV'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\tests\test_core.py", line 66, in test_read_and_write_via_obspy
tr = read(self.file, format='WAV')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "WAV" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\tests\test_core.py", line 52, in test_read_head_via_obspy
tr = read(self.file, headonly=True)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\wav\tests\data\3cssan.near.8.1.RNON.wav
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\tests\test_core.py", line 39, in test_read_via_obspy
tr = read(self.file)[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\wav\tests\data\3cssan.near.8.1.RNON.wav
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'WAV'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\tests\test_core.py", line 88, in test_rescale_on_write
tr = read(self.file, format='WAV')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "WAV" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 442, in _read_from_plugin
format_ep = eps[format]
KeyError: 'WAV'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\tests\test_core.py", line 109, in test_write_stream_via_obspy
tr = read(self.file, format='WAV')[0]
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 445, in _read_from_plugin
raise TypeError(msg % (format, ', '.join(eps)))
TypeError: Format "WAV" is not supported. Supported types:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.wav.core._read_wav
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\core.py", line 65, in _read_wav
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\core.py", line 84, in obspy.io.wav.core._read_wav
Failed example:
st = read("/path/to/3cssan.near.8.1.RNON.wav")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.wav.core._read_wav[1]>", line 1, in <module>
st = read("/path/to/3cssan.near.8.1.RNON.wav")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\wav\tests\data\3cssan.near.8.1.RNON.wav
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\core.py", line 85, in obspy.io.wav.core._read_wav
Failed example:
print(st) #doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.wav.core._read_wav[2]>", line 1, in <module>
print(st) #doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.wav.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\__init__.py", line 22, in obspy.io.wav.__init__
Failed example:
st = read("/path/to/3cssan.near.8.1.RNON.wav")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.wav.__init__[1]>", line 1, in <module>
st = read("/path/to/3cssan.near.8.1.RNON.wav")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\wav\tests\data\3cssan.near.8.1.RNON.wav
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\__init__.py", line 23, in obspy.io.wav.__init__
Failed example:
print(st) #doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.wav.__init__[2]>", line 1, in <module>
print(st) #doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\__init__.py", line 33, in obspy.io.wav.__init__
Failed example:
print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.wav.__init__[3]>", line 1, in <module>
print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\wav\__init__.py", line 48, in obspy.io.wav.__init__
Failed example:
st[0].data
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.wav.__init__[4]>", line 1, in <module>
st[0].data
NameError: name 'st' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\win\tests\test_core.py", line 28, in test_read_via_obspy
st = read(filename)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\win\tests\data\10030302.00
>>> Cannot import test suite for module obspy.io.xseed due to:
--------------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 744, in main
errors = run(argv, interactive)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 708, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 537, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 161, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "C:\Users\LH\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName
test = obj()
File "C:\Users\LH\Desktop\obspy-master\obspy\io\xseed\tests\__init__.py", line 13, in suite
add_unittests(suite, MODULE_NAME)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\testing.py", line 65, in add_unittests
_module = __import__(_module_name,
File "C:\Users\LH\Desktop\obspy-master\obspy\io\xseed\tests\test_core.py", line 18, in <module>
from obspy.signal.invsim import evalresp_for_frequencies
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\spectral_estimation.py", line 42, in <module>
from obspy.signal.invsim import cosine_taper
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\invsim.py", line 33, in <module>
from obspy.signal import util
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\util.py", line 19, in <module>
from obspy.signal.headers import clibsignal
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\headers.py", line 13, in <module>
clibsignal = _load_cdll("signal")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 112, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libsignal_Windows_64bit_py38.cp38-win_amd64.pyd"
Path: C:\Users\LH\Desktop\obspy-master\obspy\lib\libsignal_Windows_64bit_py38.cp38-win_amd64.pyd
Current directory: C:\Users\LH\Desktop\obspy-master
ctypes error message: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libsignal_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Directory listing of lib directory:
-, :, C, D, H, L, U, \, \, \, \, \, \, a, b, b, b, e, e, e, i, k, l,
m, o, o, o, p, p, p, r, r, s, s, s, s, s, s, t, t, y, y
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.y.core._read_y
File "C:\Users\LH\Desktop\obspy-master\obspy\io\y\core.py", line 130, in _read_y
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\y\core.py", line 149, in obspy.io.y.core._read_y
Failed example:
st = read("/path/to/YAYT_BHZ_20021223.124800")
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.y.core._read_y[1]>", line 1, in <module>
st = read("/path/to/YAYT_BHZ_20021223.124800")
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\y\tests\data\YAYT_BHZ_20021223.124800
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\y\core.py", line 150, in obspy.io.y.core._read_y
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.y.core._read_y[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\y\core.py", line 152, in obspy.io.y.core._read_y
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.y.core._read_y[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\test_zmap.py", line 27, in setUp
self.catalog = read_events(path_to_catalog)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\test_zmap.py", line 27, in setUp
self.catalog = read_events(path_to_catalog)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\test_zmap.py", line 27, in setUp
self.catalog = read_events(path_to_catalog)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\test_zmap.py", line 27, in setUp
self.catalog = read_events(path_to_catalog)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\test_zmap.py", line 27, in setUp
self.catalog = read_events(path_to_catalog)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\test_zmap.py", line 27, in setUp
self.catalog = read_events(path_to_catalog)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\test_zmap.py", line 27, in setUp
self.catalog = read_events(path_to_catalog)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\test_zmap.py", line 27, in setUp
self.catalog = read_events(path_to_catalog)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\test_zmap.py", line 27, in setUp
self.catalog = read_events(path_to_catalog)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\test_zmap.py", line 27, in setUp
self.catalog = read_events(path_to_catalog)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\test_zmap.py", line 27, in setUp
self.catalog = read_events(path_to_catalog)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\test_zmap.py", line 27, in setUp
self.catalog = read_events(path_to_catalog)
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\neries_events.xml
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.zmap.__init__
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\__init__.py", line 22, in obspy.io.zmap.__init__
Failed example:
cat = read_events('/path/to/zmap_events.txt')
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.zmap.__init__[1]>", line 1, in <module>
cat = read_events('/path/to/zmap_events.txt')
File "<decorator-gen-46>", line 2, in read_events
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-47>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\event\catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\tests\data\zmap_events.txt
----------------------------------------------------------------------
File "C:\Users\LH\Desktop\obspy-master\obspy\io\zmap\__init__.py", line 23, in obspy.io.zmap.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.zmap.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
>>> Cannot import test suite for module obspy.realtime due to:
--------------------------------------------------------------
File "runtests.py", line 22, in <module>
main(argv=sys.argv[1:])
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 744, in main
errors = run(argv, interactive)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 708, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 537, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\runtests.py", line 161, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "C:\Users\LH\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName
test = obj()
File "C:\Users\LH\Desktop\obspy-master\obspy\realtime\tests\__init__.py", line 13, in suite
add_unittests(suite, MODULE_NAME)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\testing.py", line 65, in add_unittests
_module = __import__(_module_name,
File "C:\Users\LH\Desktop\obspy-master\obspy\realtime\tests\test_rttrace.py", line 14, in <module>
import obspy.signal.filter
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\spectral_estimation.py", line 42, in <module>
from obspy.signal.invsim import cosine_taper
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\invsim.py", line 33, in <module>
from obspy.signal import util
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\util.py", line 19, in <module>
from obspy.signal.headers import clibsignal
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\headers.py", line 13, in <module>
clibsignal = _load_cdll("signal")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 112, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libsignal_Windows_64bit_py38.cp38-win_amd64.pyd"
Path: C:\Users\LH\Desktop\obspy-master\obspy\lib\libsignal_Windows_64bit_py38.cp38-win_amd64.pyd
Current directory: C:\Users\LH\Desktop\obspy-master
ctypes error message: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libsignal_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Directory listing of lib directory:
-, :, C, D, H, L, U, \, \, \, \, \, \, a, b, b, b, e, e, e, i, k, l,
m, o, o, o, p, p, p, r, r, s, s, s, s, s, s, t, t, y, y
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\tests\test_print.py", line 19, in test_print
obspy_print(self.all_files)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\print.py", line 31, in main
st += read(f, format=args.format)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\scripts\tests\..\..\io\ascii\tests\data\slist.ascii
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\tests\test_print.py", line 28, in test_print_nomerge
obspy_print(['--no-merge'] + self.all_files)
File "C:\Users\LH\Desktop\obspy-master\obspy\scripts\print.py", line 31, in main
st += read(f, format=args.format)
File "<decorator-gen-31>", line 2, in read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 689, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "<decorator-gen-32>", line 2, in _read
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "C:\Users\LH\Desktop\obspy-master\obspy\core\stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\base.py", line 437, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file C:\Users\LH\Desktop\obspy-master\obspy\scripts\tests\..\..\io\ascii\tests\data\slist.ascii
ImportError: Failed to import test module: signal
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 98, in _load_cdll
cdll = ctypes.CDLL(libpath)
File "C:\Users\LH\anaconda3\lib\ctypes\__init__.py", line 381, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libsignal_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\unittest\loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\spectral_estimation.py", line 42, in <module>
from obspy.signal.invsim import cosine_taper
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\invsim.py", line 33, in <module>
from obspy.signal import util
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\util.py", line 19, in <module>
from obspy.signal.headers import clibsignal
File "C:\Users\LH\Desktop\obspy-master\obspy\signal\headers.py", line 13, in <module>
clibsignal = _load_cdll("signal")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 112, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libsignal_Windows_64bit_py38.cp38-win_amd64.pyd"
Path: C:\Users\LH\Desktop\obspy-master\obspy\lib\libsignal_Windows_64bit_py38.cp38-win_amd64.pyd
Current directory: C:\Users\LH\Desktop\obspy-master
ctypes error message: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libsignal_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Directory listing of lib directory:
-, :, C, D, H, L, U, \, \, \, \, \, \, a, b, b, b, e, e, e, i, k, l,
m, o, o, o, p, p, p, r, r, s, s, s, s, s, s, t, t, y, y
ImportError: Failed to import test module: taup
Traceback (most recent call last):
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 98, in _load_cdll
cdll = ctypes.CDLL(libpath)
File "C:\Users\LH\anaconda3\lib\ctypes\__init__.py", line 381, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libtau_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LH\anaconda3\lib\unittest\loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
File "C:\Users\LH\Desktop\obspy-master\obspy\taup\__init__.py", line 447, in <module>
from .tau import TauPyModel # NOQA
File "C:\Users\LH\Desktop\obspy-master\obspy\taup\tau.py", line 15, in <module>
from .tau_model import TauModel
File "C:\Users\LH\Desktop\obspy-master\obspy\taup\tau_model.py", line 14, in <module>
from .slowness_model import SlownessModel
File "C:\Users\LH\Desktop\obspy-master\obspy\taup\slowness_model.py", line 13, in <module>
from .slowness_layer import (bullen_depth_for,
File "C:\Users\LH\Desktop\obspy-master\obspy\taup\slowness_layer.py", line 9, in <module>
from .c_wrappers import clibtau
File "C:\Users\LH\Desktop\obspy-master\obspy\taup\c_wrappers.py", line 12, in <module>
clibtau = _load_cdll("tau")
File "C:\Users\LH\Desktop\obspy-master\obspy\core\util\libnames.py", line 112, in _load_cdll
raise ImportError(msg)
ImportError: Could not load shared library "libtau_Windows_64bit_py38.cp38-win_amd64.pyd"
Path: C:\Users\LH\Desktop\obspy-master\obspy\lib\libtau_Windows_64bit_py38.cp38-win_amd64.pyd
Current directory: C:\Users\LH\Desktop\obspy-master
ctypes error message: Could not find module 'C:\Users\LH\Desktop\obspy-master\obspy\lib\libtau_Windows_64bit_py38.cp38-win_amd64.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Directory listing of lib directory:
-, :, C, D, H, L, U, \, \, \, \, \, \, a, b, b, b, e, e, e, i, k, l,
m, o, o, o, p, p, p, r, r, s, s, s, s, s, s, t, t, y, y

Skipped tests (9)

Submodule Test Skip message
geodetics test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
geodetics test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
io.nlloc test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) pyproj not installed
io.shapefile test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_catalog_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed

Slowest tests (20)

Runtime Test
1.043s process (obspy.db.feature.MinMaxAmplitudeFeature)
0.776s test_ellipse_plot_tangents (obspy.io.nordic.tests.test_nordic.TestNordicMethods)
0.424s test_read_many_events (obspy.io.nordic.tests.test_nordic.TestNordicMethods)
0.403s test_ellipse_plot (obspy.io.nordic.tests.test_nordic.TestNordicMethods)
0.324s test_multi_writing (obspy.io.nordic.tests.test_nordic.TestNordicMethods)
0.230s test_read_xslt_amplitude (obspy.io.seiscomp.tests.test_event.EventTestCase)
0.187s test_reading_via_file (obspy.io.iaspei.tests.test_core.IASPEITestCase)
0.174s test_read_xslt_station_magnitude (obspy.io.seiscomp.tests.test_event.EventTestCase)
0.174s test_read_xslt_station_magnitude_contribution (obspy.io.seiscomp.tests.test_event.EventTestCase)
0.169s test_read_field_sc3ml0_10 (obspy.io.seiscomp.tests.test_event.EventTestCase)
0.168s test_read_via_module (obspy.io.kinemetrics.tests.test_core.CoreTestCase)
0.166s test_read_xslt_magnitude (obspy.io.seiscomp.tests.test_event.EventTestCase)
0.165s test_read_xslt_origin (obspy.io.seiscomp.tests.test_event.EventTestCase)
0.164s test_read_xslt_focalmechanism (obspy.io.seiscomp.tests.test_event.EventTestCase)
0.162s test_read_via_module_and_bytesio (obspy.io.kinemetrics.tests.test_core.CoreTestCase)
0.158s test_read_xslt_iris_events (obspy.io.seiscomp.tests.test_event.EventTestCase)
0.156s test_read_xslt_data_used_in_moment_tensor (obspy.io.seiscomp.tests.test_event.EventTestCase)
0.148s test_read_xslt_event (obspy.io.seiscomp.tests.test_event.EventTestCase)
0.146s test_read_xslt_pick (obspy.io.seiscomp.tests.test_event.EventTestCase)
0.144s test_read_xslt_example (obspy.io.seiscomp.tests.test_event.EventTestCase)

Chuck Norris fact

Chuck Norris can write to an output stream.