#26908 Report by node radegast covering 652 tests from 25 modules resulted into 49 errors

Report

ObsPy Version
0.10.2
Continuous Integration
-
GitHub Pull Request
-
Report File
XML Document
Total Runtime
66.6 sec
Report Date/Time
2015-08-03 14:48:38

System / Python

Architecture
64bit
Machine
x86_64
Node
radegast
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)
Python Implementation
CPython
Python Version
3.5.0b4
Release
12.6.0
System
Darwin
Version
Darwin Kernel Version 12.6.0: Wed Mar 18 16:23:48 PDT 2015; root:xnu-2050.48.19~1/RELEASE_X86_64

Dependencies

flake8
2.4.1
future
0.15.0
lxml.etree
3.4.1
matplotlib
1.4.3
mock
Not Installed
mpl_toolkits.basemap
Not Installed
numpy
1.9.2
pyflakes
0.9.2
pyimgur
Not Installed
scipy
0.15.1
sqlalchemy
1.0.8
suds
Not Installed

Modules (25)

Module Errors /
Failures
Tracebacks
obspy.ah - -
obspy.arclink Not tested -
obspy.cnv - -
obspy.core Not tested -
obspy.css 1 1
obspy.datamark - -
obspy.db - -
obspy.earthworm Not tested -
obspy.fdsn Not tested -
obspy.gse2 - -
obspy.imaging - -
obspy.iris Not tested -
obspy.kinemetrics 1 2
obspy.mseed 1 3
obspy.ndk 4 4 5 6 7
obspy.neic Not tested -
obspy.neries Not tested -
obspy.nlloc 5 8 9 10 11 12
obspy.pdas 1 13
obspy.pde 1 14
obspy.realtime 1 15
obspy.sac 2 16 17
obspy.seedlink Not tested -
obspy.seg2 - -
obspy.segy - -
obspy.seisan - -
obspy.seishub Not tested -
obspy.sh - -
obspy.signal - -
obspy.station 21 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
obspy.taup Not tested -
obspy.wav - -
obspy.xseed 8 39 40 41 42 43 44 45 46
obspy.y 1 47
obspy.zmap 2 48 49
Summary 49 49

Tracebacks (49)

Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/css/tests/test_station.py", line 65, in test_default_write
inv = obspy.station.read_inventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.kinemetrics.__init__
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/kinemetrics/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/kinemetrics/__init__.py", line 24, in obspy.kinemetrics.__init__
Failed example:
st = read("/path/to/BI008_MEMA-04823.evt")
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.kinemetrics.__init__[1]>", line 1, in <module>
st = read("/path/to/BI008_MEMA-04823.evt")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/kinemetrics/__init__.py", line 25, in obspy.kinemetrics.__init__
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.kinemetrics.__init__[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/kinemetrics/__init__.py", line 27, in obspy.kinemetrics.__init__
Failed example:
print (st) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.kinemetrics.__init__[3]>", line 1, in <module>
print (st) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/kinemetrics/__init__.py", line 45, in obspy.kinemetrics.__init__
Failed example:
stats_evt = st[0].stats.pop('kinemetrics_evt')
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.kinemetrics.__init__[4]>", line 1, in <module>
stats_evt = st[0].stats.pop('kinemetrics_evt')
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/kinemetrics/__init__.py", line 46, in obspy.kinemetrics.__init__
Failed example:
print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.kinemetrics.__init__[5]>", line 1, in <module>
print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/kinemetrics/__init__.py", line 58, in obspy.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 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.kinemetrics.__init__[6]>", line 1, in <module>
for k, v in sorted(stats_evt.items()):
NameError: name 'stats_evt' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/kinemetrics/__init__.py", line 98, in obspy.kinemetrics.__init__
Failed example:
type(st[0].data) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.kinemetrics.__init__[7]>", line 1, in <module>
type(st[0].data) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/kinemetrics/__init__.py", line 100, in obspy.kinemetrics.__init__
Failed example:
print(st[0].data)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.kinemetrics.__init__[8]>", line 1, in <module>
print(st[0].data)
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/mseed/tests/test_mseed_special_issues.py", line 276, in test_readQualityInformationWarns
read(timingqual)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 292, in new_func
ind = inspect.getargspec(func).args.index(arg_kwarg_name)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/inspect.py", line 1040, in getargspec
stacklevel=2)
DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/ndk/tests/test_ndk.py", line 284, in test_missing_lines
self.assertEqual(len(w), 1)
AssertionError: 4 != 1
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/ndk/tests/test_ndk.py", line 178, in test_reading_the_same_file_twice_does_not_raise_a_warnings
self.assertEqual(len(w), 0)
AssertionError: 3 != 0
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.ndk.__init__
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/ndk/__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/ndk/__init__.py", line 60, in obspy.ndk.__init__
Failed example:
cat = obspy.readEvents("/path/to/C200604092050A.ndk")
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.ndk.__init__[1]>", line 1, in <module>
cat = obspy.readEvents("/path/to/C200604092050A.ndk")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/ndk/__init__.py", line 61, in obspy.ndk.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.ndk.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/ndk/tests/test_ndk.py", line 222, in test_reading_file_with_multiple_errors
self.assertEqual(len(w), 6)
AssertionError: 9 != 6
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/nlloc/tests/test_core.py", line 128, in test_is_nlloc_hyp
filename = getExampleFile("nlloc.hyp")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/nlloc/tests/test_core.py", line 50, in test_write_nlloc_obs
filename = getExampleFile("nlloc.qml")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/nlloc/tests/test_core.py", line 120, in test_read_nlloc_hyp_via_plugin
filename = getExampleFile("nlloc.hyp")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/nlloc/tests/test_core.py", line 142, in test_read_nlloc_with_picks
picks = readEvents(getExampleFile("nlloc.qml"))[0].picks
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/nlloc/tests/test_core.py", line 85, in test_read_nlloc_hyp
filename = getExampleFile("nlloc.hyp")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.pdas.core.readPDAS
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/pdas/core.py", line 44, in readPDAS
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/pdas/core.py", line 60, in obspy.pdas.core.readPDAS
Failed example:
st = read("/path/to/p1246001.108")
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.pdas.core.readPDAS[1]>", line 1, in <module>
st = read("/path/to/p1246001.108")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/pdas/core.py", line 61, in obspy.pdas.core.readPDAS
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.pdas.core.readPDAS[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/pdas/core.py", line 63, in obspy.pdas.core.readPDAS
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.pdas.core.readPDAS[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.pde.mchedr.readMchedr
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/pde/mchedr.py", line 295, in readMchedr
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/pde/mchedr.py", line 312, in obspy.pde.mchedr.readMchedr
Failed example:
cat = readEvents('/path/to/mchedr.dat')
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.pde.mchedr.readMchedr[1]>", line 1, in <module>
cat = readEvents('/path/to/mchedr.dat')
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/pde/mchedr.py", line 313, in obspy.pde.mchedr.readMchedr
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.pde.mchedr.readMchedr[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.realtime.rttrace.RtTrace
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 40, in RtTrace
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 71, in obspy.realtime.rttrace.RtTrace
Failed example:
data_trace = read('/path/to/II.TLY.BHZ.SAC')[0]
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[3]>", line 1, in <module>
data_trace = read('/path/to/II.TLY.BHZ.SAC')[0]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 72, in obspy.realtime.rttrace.RtTrace
Failed example:
len(data_trace)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[4]>", line 1, in <module>
len(data_trace)
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 74, in obspy.realtime.rttrace.RtTrace
Failed example:
ref_time_offset = data_trace.stats.sac.a
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[5]>", line 1, in <module>
ref_time_offset = data_trace.stats.sac.a
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 75, in obspy.realtime.rttrace.RtTrace
Failed example:
print(ref_time_offset)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[6]>", line 1, in <module>
print(ref_time_offset)
NameError: name 'ref_time_offset' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 77, in obspy.realtime.rttrace.RtTrace
Failed example:
epicentral_distance = data_trace.stats.sac.gcarc
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[7]>", line 1, in <module>
epicentral_distance = data_trace.stats.sac.gcarc
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 78, in obspy.realtime.rttrace.RtTrace
Failed example:
print(epicentral_distance)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[8]>", line 1, in <module>
print(epicentral_distance)
NameError: name 'epicentral_distance' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 83, in obspy.realtime.rttrace.RtTrace
Failed example:
traces = data_trace / 3
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[9]>", line 1, in <module>
traces = data_trace / 3
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 84, in obspy.realtime.rttrace.RtTrace
Failed example:
[len(tr) for tr in traces]
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[10]>", line 1, in <module>
[len(tr) for tr in traces]
NameError: name 'traces' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 92, in obspy.realtime.rttrace.RtTrace
Failed example:
rt_trace.registerRtProcess('mwpIntegral', mem_time=240,
ref_time=(data_trace.stats.starttime + ref_time_offset),
max_time=120, gain=1.610210e+09)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[13]>", line 2, in <module>
ref_time=(data_trace.stats.starttime + ref_time_offset),
NameError: name 'data_trace' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 99, in obspy.realtime.rttrace.RtTrace
Failed example:
for tr in traces:
processed_trace = rt_trace.append(tr, gap_overlap_check=True)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[14]>", line 1, in <module>
for tr in traces:
NameError: name 'traces' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 102, in obspy.realtime.rttrace.RtTrace
Failed example:
len(rt_trace)
Expected:
12684
Got:
0
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 107, in obspy.realtime.rttrace.RtTrace
Failed example:
peak = np.amax(np.abs(rt_trace.data))
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[16]>", line 1, in <module>
peak = np.amax(np.abs(rt_trace.data))
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/core/fromnumeric.py", line 2140, in amax
out=out, keepdims=keepdims)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/core/_methods.py", line 26, in _amax
return umr_maximum(a, axis, None, out, keepdims)
ValueError: zero-size array to reduction operation maximum which has no identity
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 108, in obspy.realtime.rttrace.RtTrace
Failed example:
print(peak)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[17]>", line 1, in <module>
print(peak)
NameError: name 'peak' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 110, in obspy.realtime.rttrace.RtTrace
Failed example:
mwp = calculateMwpMag(peak, epicentral_distance)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[18]>", line 1, in <module>
mwp = calculateMwpMag(peak, epicentral_distance)
NameError: name 'peak' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/realtime/rttrace.py", line 111, in obspy.realtime.rttrace.RtTrace
Failed example:
print(mwp) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.realtime.rttrace.RtTrace[19]>", line 1, in <module>
print(mwp) # doctest: +ELLIPSIS
NameError: name 'mwp' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/sac/tests/test_sacpz.py", line 49, in test_write_SACPZ_multiple_channels
inv = read_inventory("/path/to/IU_ANMO_BH.xml")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/sac/tests/test_sacpz.py", line 33, in test_write_SACPZ_single_channel
inv = read_inventory("/path/to/IU_ANMO_00_BHZ.xml")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.station.Station.get_contents
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/station.py", line 155, in get_contents
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/station.py", line 163, in obspy.station.station.Station.get_contents
Failed example:
inventory = read_inventory(example_filename)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.station.Station.get_contents[2]>", line 1, in <module>
inventory = read_inventory(example_filename)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/station.py", line 164, in obspy.station.station.Station.get_contents
Failed example:
station = inventory.networks[0].stations[0]
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.station.Station.get_contents[3]>", line 1, in <module>
station = inventory.networks[0].stations[0]
NameError: name 'inventory' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/station.py", line 165, in obspy.station.station.Station.get_contents
Failed example:
station.get_contents() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.station.Station.get_contents[4]>", line 1, in <module>
station.get_contents() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'station' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/station.py", line 167, in obspy.station.station.Station.get_contents
Failed example:
for (k, v) in sorted(station.get_contents().items()):
print(k, v[0])
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.station.Station.get_contents[5]>", line 1, in <module>
for (k, v) in sorted(station.get_contents().items()):
NameError: name 'station' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/tests/test_inventory.py", line 213, in test_response_plot
inv = read_inventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.inventory.Inventory.plot_response
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 593, in plot_response
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 654, in obspy.station.inventory.Inventory.plot_response
Failed example:
inv = read_inventory()
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.inventory.Inventory.plot_response[1]>", line 1, in <module>
inv = read_inventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.network.Network.plot_response
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 464, in plot_response
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 521, in obspy.station.network.Network.plot_response
Failed example:
net = read_inventory()[0]
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.network.Network.plot_response[1]>", line 1, in <module>
net = read_inventory()[0]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/tests/test_network.py", line 197, in test_response_plot
net = read_inventory()[0]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/tests/test_channel.py", line 56, in test_response_plot
cha = read_inventory()[0][0][0]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/tests/test_station.py", line 52, in test_response_plot
sta = read_inventory()[0][0]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.inventory.Inventory.select
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 322, in select
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 341, in obspy.station.inventory.Inventory.select
Failed example:
inv = read_inventory()
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.inventory.Inventory.select[1]>", line 1, in <module>
inv = read_inventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 343, in obspy.station.inventory.Inventory.select
Failed example:
inv = inv.select(channel="*Z", station="[RW]*", time=t)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.inventory.Inventory.select[3]>", line 1, in <module>
inv = inv.select(channel="*Z", station="[RW]*", time=t)
NameError: name 'inv' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 344, in obspy.station.inventory.Inventory.select
Failed example:
print(inv) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.inventory.Inventory.select[4]>", line 1, in <module>
print(inv) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'inv' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.response.Response.plot
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/response.py", line 1154, in plot
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/response.py", line 1204, in obspy.station.response.Response.plot
Failed example:
resp = read_inventory()[0][0][0].response
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.response.Response.plot[1]>", line 1, in <module>
resp = read_inventory()[0][0][0].response
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.channel.Channel.plot
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/channel.py", line 306, in plot
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/channel.py", line 349, in obspy.station.channel.Channel.plot
Failed example:
cha = read_inventory()[0][0][0]
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.channel.Channel.plot[1]>", line 1, in <module>
cha = read_inventory()[0][0][0]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/tests/test_inventory.py", line 227, in test_inventory_merging_metadata_update
inv_1 = read_inventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.network.Network.plot
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 343, in plot
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 397, in obspy.station.network.Network.plot
Failed example:
net = read_inventory()[0]
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.network.Network.plot[1]>", line 1, in <module>
net = read_inventory()[0]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.inventory.Inventory.get_response
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 248, in get_response
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 253, in obspy.station.inventory.Inventory.get_response
Failed example:
inventory = read_inventory("/path/to/IU_ANMO_BH.xml")
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.inventory.Inventory.get_response[1]>", line 1, in <module>
inventory = read_inventory("/path/to/IU_ANMO_BH.xml")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 255, in obspy.station.inventory.Inventory.get_response
Failed example:
response = inventory.get_response("IU.ANMO.00.BHZ", datetime)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.inventory.Inventory.get_response[3]>", line 1, in <module>
response = inventory.get_response("IU.ANMO.00.BHZ", datetime)
NameError: name 'inventory' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 256, in obspy.station.inventory.Inventory.get_response
Failed example:
print(response) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.inventory.Inventory.get_response[4]>", line 1, in <module>
print(response) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'response' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.inventory.Inventory.plot
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 411, in plot
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 482, in obspy.station.inventory.Inventory.plot
Failed example:
inv = read_inventory()
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.inventory.Inventory.plot[1]>", line 1, in <module>
inv = read_inventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.station.Station.plot
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/station.py", line 366, in plot
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/station.py", line 418, in obspy.station.station.Station.plot
Failed example:
sta = read_inventory()[0][0]
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.station.Station.plot[1]>", line 1, in <module>
sta = read_inventory()[0][0]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.util.BaseNode.copy
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/util.py", line 112, in copy
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/util.py", line 124, in obspy.station.util.BaseNode.copy
Failed example:
sta = read_inventory()[0][0]
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.util.BaseNode.copy[1]>", line 1, in <module>
sta = read_inventory()[0][0]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/util.py", line 125, in obspy.station.util.BaseNode.copy
Failed example:
sta2 = sta.copy()
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.util.BaseNode.copy[2]>", line 1, in <module>
sta2 = sta.copy()
NameError: name 'sta' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/util.py", line 129, in obspy.station.util.BaseNode.copy
Failed example:
sta is sta2
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.util.BaseNode.copy[3]>", line 1, in <module>
sta is sta2
NameError: name 'sta' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/util.py", line 134, in obspy.station.util.BaseNode.copy
Failed example:
sta == sta2
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.util.BaseNode.copy[4]>", line 1, in <module>
sta == sta2
NameError: name 'sta' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/util.py", line 141, in obspy.station.util.BaseNode.copy
Failed example:
sta3 = sta
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.util.BaseNode.copy[5]>", line 1, in <module>
sta3 = sta
NameError: name 'sta' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/util.py", line 142, in obspy.station.util.BaseNode.copy
Failed example:
sta is sta3
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.util.BaseNode.copy[6]>", line 1, in <module>
sta is sta3
NameError: name 'sta' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/util.py", line 144, in obspy.station.util.BaseNode.copy
Failed example:
sta == sta3
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.util.BaseNode.copy[7]>", line 1, in <module>
sta == sta3
NameError: name 'sta' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.network.Network.select
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 260, in select
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 278, in obspy.station.network.Network.select
Failed example:
net = read_inventory()[0]
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.network.Network.select[1]>", line 1, in <module>
net = read_inventory()[0]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 280, in obspy.station.network.Network.select
Failed example:
net = net.select(channel="[LB]HZ", time=t)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.network.Network.select[3]>", line 1, in <module>
net = net.select(channel="[LB]HZ", time=t)
NameError: name 'net' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 281, in obspy.station.network.Network.select
Failed example:
print(net) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.network.Network.select[4]>", line 1, in <module>
print(net) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'net' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/tests/test_response.py", line 130, in test_response_plot
resp = read_inventory()[0][0][0].response
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.inventory.Inventory.get_contents
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 153, in get_contents
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 160, in obspy.station.inventory.Inventory.get_contents
Failed example:
inventory = read_inventory(example_filename)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.inventory.Inventory.get_contents[1]>", line 1, in <module>
inventory = read_inventory(example_filename)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 161, in obspy.station.inventory.Inventory.get_contents
Failed example:
inventory.get_contents() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.inventory.Inventory.get_contents[2]>", line 1, in <module>
inventory.get_contents() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'inventory' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 163, in obspy.station.inventory.Inventory.get_contents
Failed example:
for k, v in sorted(inventory.get_contents().items()): # doctest: +NORMALIZE_WHITESPACE
print(k, v[0])
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.inventory.Inventory.get_contents[3]>", line 1, in <module>
for k, v in sorted(inventory.get_contents().items()): # doctest: +NORMALIZE_WHITESPACE
NameError: name 'inventory' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.station.Station.select
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/station.py", line 288, in select
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/station.py", line 305, in obspy.station.station.Station.select
Failed example:
sta = read_inventory()[0][0]
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.station.Station.select[1]>", line 1, in <module>
sta = read_inventory()[0][0]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 307, in new_func
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 51, in read_inventory
return _createExampleInventory()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/inventory.py", line 35, in _createExampleInventory
return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/station.py", line 307, in obspy.station.station.Station.select
Failed example:
sta = sta.select(channel="[LB]HZ", time=t)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.station.Station.select[3]>", line 1, in <module>
sta = sta.select(channel="[LB]HZ", time=t)
NameError: name 'sta' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/station.py", line 308, in obspy.station.station.Station.select
Failed example:
print(sta) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.station.Station.select[4]>", line 1, in <module>
print(sta) # doctest: +NORMALIZE_WHITESPACE
NameError: name 'sta' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.station.network.Network.get_contents
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 118, in get_contents
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 126, in obspy.station.network.Network.get_contents
Failed example:
inventory = read_inventory(example_filename)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.network.Network.get_contents[2]>", line 1, in <module>
inventory = read_inventory(example_filename)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 127, in obspy.station.network.Network.get_contents
Failed example:
network = inventory.networks[0]
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.network.Network.get_contents[3]>", line 1, in <module>
network = inventory.networks[0]
NameError: name 'inventory' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 128, in obspy.station.network.Network.get_contents
Failed example:
network.get_contents() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.network.Network.get_contents[4]>", line 1, in <module>
network.get_contents() # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'network' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/station/network.py", line 130, in obspy.station.network.Network.get_contents
Failed example:
for k, v in sorted(network.get_contents().items()):
print(k, v[0])
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.station.network.Network.get_contents[5]>", line 1, in <module>
for k, v in sorted(network.get_contents().items()):
NameError: name 'network' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/xseed/tests/test_parser.py", line 55, in test_issue165
self.assertEqual(len(w), 1)
AssertionError: 2 != 1
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/xseed/tests/test_utils.py", line 42, in test_DateTime2String
self.assertEqual(DateTime2String(dt), "2008,358")
AssertionError: '2008,358,00:00:00.0000' != '2008,358'
- 2008,358,00:00:00.0000
+ 2008,358
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/xseed/tests/test_utils.py", line 55, in test_DateTime2StringCompact
self.assertEqual(DateTime2String(dt, True), "2008,358")
AssertionError: '2008,358,00' != '2008,358'
- 2008,358,00
? ---
+ 2008,358
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/xseed/tests/test_fields.py", line 27, in test_readDateTime
self.assertEqual(field.write(dt), b'1992,002~')
AssertionError: b'1992,002,00:00:00.0000~' != b'1992,002~'
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/xseed/tests/test_parser.py", line 160, in test_blocketteStartsAfterRecord
self.assertEqual(b010, blockette.getSEED())
AssertionError: b'0100042 2.4082008,001~2038,001~2009,001~~~' != b'0100051 2.4082008,001,00~2038,001,00~2009,001,00~~~'
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/xseed/tests/test_fields.py", line 86, in test_readCompactDateTime
self.assertEqual(field.write(dt), orig)
AssertionError: b'1992,002,00~' != b'1992,002~'
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/xseed/tests/test_parser.py", line 181, in test_multipleContinuedStationControlHeader
self.assertEqual(b010, blockette.getSEED())
AssertionError: b'0100042 2.4082008,001~2038,001~2009,001~~~' != b'0100051 2.4082008,001,00~2038,001,00~2009,001,00~~~'
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/xseed/tests/test_parser.py", line 562, in test_missingRequiredDateTimes
self.assertEqual(b010, blockette.getSEED())
AssertionError: b'0100034 2.408~2038,001~2009,001~~~' != b'0100062 2.408~2038,001,00:00:00.0000~2009,001,00:00:00.0000~~~'
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.y.core.readY
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/y/core.py", line 85, in readY
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/y/core.py", line 104, in obspy.y.core.readY
Failed example:
st = read("/path/to/YAYT_BHZ_20021223.124800")
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.y.core.readY[1]>", line 1, in <module>
st = read("/path/to/YAYT_BHZ_20021223.124800")
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/y/core.py", line 105, in obspy.y.core.readY
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.y.core.readY[2]>", line 1, in <module>
st # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/y/core.py", line 107, in obspy.y.core.readY
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.y.core.readY[3]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.zmap.core.isZmap
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/zmap/core.py", line 293, in isZmap
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/zmap/core.py", line 309, in obspy.zmap.core.isZmap
Failed example:
isZmap('/path/to/zmap_events.txt')
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.zmap.core.isZmap[0]>", line 1, in <module>
isZmap('/path/to/zmap_events.txt')
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.zmap.__init__
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/zmap/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/zmap/__init__.py", line 22, in obspy.zmap.__init__
Failed example:
cat = readEvents('/path/to/zmap_events.txt')
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.zmap.__init__[1]>", line 1, in <module>
cat = readEvents('/path/to/zmap_events.txt')
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/decorator.py", line 302, in new_func
args[ind] = getExampleFile(args[ind][9:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/core/util/base.py", line 184, in getExampleFile
fromlist=[native_str("obspy")])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/__init__.py", line 346, in <module>
from .tau import TauPyModel # NOQA
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <module>
for i in range(12)]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/taup/tau.py", line 31, in <listcomp>
for i in range(12)]
TypeError: %x format: an integer is required, not numpy.float64
----------------------------------------------------------------------
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/obspy/zmap/__init__.py", line 23, in obspy.zmap.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest obspy.zmap.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined

Slowest Tests (20)

Runtime Test
14.738s test_PPSD (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
5.357s test_plotMultipleTraces (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.925s test_dataRemainsUnchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.593s test_plotAzimSection (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.512s test_plotDefaultSection (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.465s test_plotRefTimeSection (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.369s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
1.369s test_SacInstCorrection (obspy.signal.tests.test_invsim.InvSimTestCase)
1.367s test_evalresp_file_like_object (obspy.signal.tests.test_invsim.InvSimTestCase)
1.182s test_Beachball (obspy.imaging.tests.test_beachball.BeachballTestCase)
0.953s test_collection (obspy.imaging.tests.test_mopad.MopadTestCase)
0.895s test_pkBaer (obspy.signal.tests.test_trigger.TriggerTestCase)
0.820s test_relcalUsingTraces (obspy.signal.tests.test_calibration.CalibrationTestCase)
0.794s test_spectrogram (obspy.imaging.tests.test_spectrogram.SpectrogramTestCase)
0.682s test_ppsd_plot (obspy.imaging.tests.test_ppsd.PPSDTestCase)
0.652s test_evalrespVsObsPy (obspy.signal.tests.test_invsim.InvSimTestCase)
0.600s test_seisSimVsPitsa2 (obspy.signal.tests.test_invsim.InvSimTestCase)
0.583s test_scan (obspy.imaging.tests.test_scan.ScanTestCase)
0.572s test_evalresp_with_output_from_seed (obspy.station.tests.test_response.ResponseTestCase)
0.553s test_createReadAssertAndWriteXSEED (obspy.xseed.tests.test_parser.ParserTestCase)

Chuck Norris Fact

Chuck Norris breaks RSA 128-bit encrypted codes in milliseconds.