#114825 Report by node gh-actions covering 1979 tests from 48 modules resulted into 296 errors

Report

ObsPy version
0.0.0.dev+0.gad7a608786
GitHub Pull Request
https://github.com/obspy/obspy/pull/2722
Report file
XML document
Total runtime
187.4 sec
Report date/time
2021-11-09 14:08:10

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
i386
Python Compiler
Clang 11.0.0 (clang-1100.0.33.17)
Python Implementation
CPython
Python Version
3.9.7
Release
19.6.0
System
Darwin
Version
Darwin Kernel Version 19.6.0: Thu Sep 16 20:58:47 PDT 2021; root:xnu-6153.141.40.1~1/RELEASE_X86_64

Dependencies

cartopy
---
decorator
5.1.0
flake8
---
geographiclib
---
lxml.etree
4.6.4
m2crypto
---
matplotlib
3.4.3
mock
---
mpl_toolkits.basemap
---
numpy
1.21.4
pep8-naming
---
pyflakes
---
pyimgur
0.6.0
pyproj
---
requests
2.26.0
scipy
1.7.2
setuptools
57.4.0
shapefile
---
sqlalchemy
1.4.26

Modules (48)

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

Tracebacks (296)

Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_sds.py", line 242, in test_get_waveforms_bulk
st = client.get_waveforms_bulk(chunks)
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/sds.py", line 210, in get_waveforms_bulk
st += self.get_waveforms(*bulk_string)
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/sds.py", line 171, in get_waveforms
st += read(full_path, format=self.format, starttime=starttime,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_sds.py", line 109, in test_read_from_sds
st = client.get_waveforms(net, sta, loc, cha, t - 20, t + 20)
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/sds.py", line 171, in get_waveforms
st += read(full_path, format=self.format, starttime=starttime,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_sds.py", line 151, in test_read_from_sds_with_wildcarded_seed_ids
st = client.get_waveforms(net, sta, loc, cha, t - 200, t + 200)
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/sds.py", line 171, in get_waveforms
st += read(full_path, format=self.format, starttime=starttime,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_sds.py", line 180, in test_sds_report
sds_report(argv)
File "/Users/runner/work/obspy/obspy/obspy/scripts/sds_html_report.py", line 384, in main
latency_ = client.get_latency(net, sta, loc, cha,
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/sds.py", line 456, in get_latency
endtime = self._get_current_endtime(
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/sds.py", line 413, in _get_current_endtime
st = read(filename, format=self.format, headonly=True,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 58, in test_get_waveforms
read(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 121, in test_get_waveforms_bulk
read(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.filesystem.tsindex
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1, in tsindex
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 99, in obspy.clients.filesystem.tsindex
Failed example:
st = client.get_waveforms("IU", "*", "*", "BHZ", t, t + 1)
Exception raised:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.filesystem.tsindex[12]>", line 1, in <module>
st = client.get_waveforms("IU", "*", "*", "BHZ", t, t + 1)
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 280, in get_waveforms
return self._get_waveforms(query_rows, merge)
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 654, in _get_waveforms
st_segment = data_segment.read_stream()
File "/Users/runner/work/obspy/obspy/obspy/clients/filesystem/miniseed.py", line 106, in read_stream
read(BytesIO(ctypes.string_at(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 665, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_waveform_plugins.py", line 457, in test_deepcopy
stream.write(format=format, filename=tmpfile)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1454, in write
write_format(self, filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/core.py", line 107, in _write_gse2
libgse2.write(trace.stats, trace.data, f, inplace)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/libgse2.py", line 424, in write
if data.max() > 2 ** 26:
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_waveform_plugins.py", line 349, in test_issue_193
tr.write(tempfile, format)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1454, in write
write_format(self, filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/core.py", line 107, in _write_gse2
libgse2.write(trace.stats, trace.data, f, inplace)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/libgse2.py", line 424, in write
if data.max() > 2 ** 26:
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_waveform_plugins.py", line 87, in test_read_and_write
tr.write(outfile, format=format)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1454, in write
write_format(self, filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/core.py", line 107, in _write_gse2
libgse2.write(trace.stats, trace.data, f, inplace)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/libgse2.py", line 424, in write
if data.max() > 2 ** 26:
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_waveform_plugins.py", line 281, in test_read_thread_safe
tr.write(outfile, format=format)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1454, in write
write_format(self, filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/core.py", line 107, in _write_gse2
libgse2.write(trace.stats, trace.data, f, inplace)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/libgse2.py", line 424, in write
if data.max() > 2 ** 26:
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_waveform_plugins.py", line 525, in test_reading_tarfile_impostor
st = read("/path/to/tarfile_impostor.mseed")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_stats.py", line 292, in test_casted_stats_nscl_writes_to_mseed
stt = read(bio)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 665, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_response.py", line 242, in test_response_list_raises_error_if_out_of_range
inv[0][0][0].response.get_evalresp_response(
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/response.py", line 1680, in get_evalresp_response
response = self.get_evalresp_response_for_frequencies(
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/response.py", line 1631, in get_evalresp_response_for_frequencies
output, chan = self._call_eval_resp_for_frequencies(
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/response.py", line 1363, in _call_eval_resp_for_frequencies
min_f = frequencies[frequencies > 0].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_response.py", line 200, in test_response_list_stage
cpx_response, freq = inv[0][0][0].response.get_evalresp_response(
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/response.py", line 1680, in get_evalresp_response
response = self.get_evalresp_response_for_frequencies(
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/response.py", line 1631, in get_evalresp_response_for_frequencies
output, chan = self._call_eval_resp_for_frequencies(
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/response.py", line 1363, in _call_eval_resp_for_frequencies
min_f = frequencies[frequencies > 0].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_response.py", line 134, in test_response_plot
resp.plot(0.001, output="VEL", start_stage=1, end_stage=3,
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/response.py", line 1827, in plot
ax1 = fig.add_subplot(211)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_response.py", line 147, in test_response_plot_degrees
resp.plot(0.001, output="VEL", start_stage=1, end_stage=3,
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/response.py", line 1827, in plot
ax1 = fig.add_subplot(211)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_preview.py", line 27, in test_create_preview
preview = create_preview(trace, delta=60)
File "/Users/runner/work/obspy/obspy/obspy/core/preview.py", line 59, in create_preview
last_diff = [data[end:].max() - data[end:].min()]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_preview.py", line 60, in test_create_preview_with_masked_arrays
preview = create_preview(trace, delta=60)
File "/Users/runner/work/obspy/obspy/obspy/core/preview.py", line 49, in create_preview
first_diff = [data[0:start].max() - data[0:start].min()]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/ma/core.py", line 5834, in max
result = self.filled(fill_value).max(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_preview.py", line 196, in test_create_preview_with_unrounded_sample_rate
create_preview(tr, delta=30)
File "/Users/runner/work/obspy/obspy/obspy/core/preview.py", line 49, in create_preview
first_diff = [data[0:start].max() - data[0:start].min()]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_preview.py", line 208, in test_create_preview_with_very_small_sample_rate
create_preview(tr)
File "/Users/runner/work/obspy/obspy/obspy/core/preview.py", line 49, in create_preview
first_diff = [data[0:start].max() - data[0:start].min()]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_preview.py", line 142, in test_resample_previews
omitted_samples = resample_preview(tr, 100, method='fast')
File "/Users/runner/work/obspy/obspy/obspy/core/preview.py", line 205, in resample_preview
trace.data = data.max(axis=1)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_inventory.py", line 190, in test_response_plot
inv.plot_response(0.01, output="ACC", channel="*N",
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/inventory.py", line 1122, in plot_response
ax1 = fig.add_subplot(211)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_inventory.py", line 201, in test_response_plot_epoch_times_in_label
fig = inv.plot_response(0.01, label_epoch_dates=True, show=False)
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/inventory.py", line 1122, in plot_response
ax1 = fig.add_subplot(211)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_channel.py", line 49, in test_response_plot
cha.plot(0.005, outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/channel.py", line 448, in plot
return self.response.plot(
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/response.py", line 1827, in plot
ax1 = fig.add_subplot(211)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 136, in test_response_plot
net.plot_response(0.002, output="DISP", channel="B*E",
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/network.py", line 718, in plot_response
ax1 = fig.add_subplot(211)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 147, in test_response_plot_epoch_times_in_label
fig = net.plot_response(0.01, label_epoch_dates=True, show=False)
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/network.py", line 718, in plot_response
ax1 = fig.add_subplot(211)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 2525, in test_dtype_is_not_unnecessarily_changed
self.assertEqual(tr_int32.copy().normalize().data.dtype, np.float64)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2228, in normalize
norm = self.max()
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1902, in test_interpolate
int_tr = org_tr.copy().interpolate(sampling_rate=1.0 / 0.003,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2480, in interpolate
self.data = np.atleast_1d(func(
File "/Users/runner/work/obspy/obspy/obspy/signal/interpolation.py", line 142, in weighted_average_slopes
w = 1.0 / np.clip(w, np.spacing(1), w.max())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 2042, in test_interpolation_arguments
interp_tr = tr.copy().interpolate(sampling_rate=0.3,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2480, in interpolate
self.data = np.atleast_1d(func(
File "/Users/runner/work/obspy/obspy/obspy/signal/interpolation.py", line 142, in weighted_average_slopes
w = 1.0 / np.clip(w, np.spacing(1), w.max())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1649, in test_method_chaining
temp_tr = tr.trim(tr.stats.starttime + 1)\
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1475, in simulate
self.data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 2314, in test_normalize
tr.normalize()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2228, in normalize
norm = self.max()
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1475, in test_plot
tr.plot(show=False)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 939, in plot
return waveform.plot_waveform(**kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1794, in test_processing_info_remove_response_and_sensitivity
tr.remove_response()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2928, in remove_response
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1818, in test_processing_information
tr.simulate(paz_remove={
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1475, in simulate
self.data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1719, in test_remove_response
tr1.simulate(seedresp={"filename": parser, "units": "VEL"},
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1475, in simulate
self.data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 2296, in test_remove_response_plot
tr = read("/path/to/IU_ULN_00_LH1_2015-07-18T02.mseed")[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1483, in test_spectrogram
tr.spectrogram(show=False)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 968, in spectrogram
return spectrogram(data=self.data, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/spectrogram.py", line 142, in spectrogram
_range = float(specgram.max() - specgram.min())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_station.py", line 44, in test_response_plot
sta.plot(0.05, channel="*[NE]", outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/station.py", line 542, in plot
ax1 = fig.add_subplot(211)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_station.py", line 56, in test_response_plot_degrees
sta.plot(0.05, channel="*[NE]", plot_degrees=True,
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/station.py", line 542, in plot
ax1 = fig.add_subplot(211)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_stream.py", line 2219, in test_method_chaining
temp = st.trim(st[0].stats.starttime + 1, st[0].stats.starttime + 10)\
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2129, in simulate
tr.simulate(paz_remove=paz_remove, paz_simulate=paz_simulate,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1475, in simulate
self.data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_stream.py", line 2064, in test_plot
self.mseed_stream.plot(show=False)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_stream.py", line 1958, in test_read_path
st = read(data_path)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_stream.py", line 2331, in test_remove_response
tr.remove_response(pre_filt=(0.1, 0.5, 30, 50))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2928, in remove_response
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_stream.py", line 1995, in test_rotate
st[3:].normalize()
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2648, in normalize
tr.normalize(norm=norm)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2228, in normalize
norm = self.max()
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_stream.py", line 2668, in test_rotate_to_zne
st_unrotated = read("/path/to/ffbx_unrotated_gaps.mseed",
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_stream.py", line 2274, in test_simulate_seedresp_parser
st.simulate(**kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2129, in simulate
tr.simulate(paz_remove=paz_remove, paz_simulate=paz_simulate,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1475, in simulate
self.data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/tests/test_stream.py", line 2070, in test_spectrogram
self.mseed_stream.spectrogram(show=False)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1176, in spectrogram
spec = tr.spectrogram(**kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 968, in spectrogram
return spectrogram(data=self.data, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/spectrogram.py", line 142, in spectrogram
_range = float(specgram.max() - specgram.min())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.interpolate
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 232, in interpolate
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 323, in obspy.core.trace.Trace.interpolate
Failed example:
tr.interpolate(sampling_rate=111.1) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.interpolate[3]>", line 1, in <module>
tr.interpolate(sampling_rate=111.1) # doctest: +ELLIPSIS
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2480, in interpolate
self.data = np.atleast_1d(func(
File "/Users/runner/work/obspy/obspy/obspy/signal/interpolation.py", line 142, in weighted_average_slopes
w = 1.0 / np.clip(w, np.spacing(1), w.max())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 325, in obspy.core.trace.Trace.interpolate
Failed example:
print(tr) # doctest: +ELLIPSIS
Expected:
BW.RJOB..EHZ | 2009-08-24T00:20:03... - ... | 111.1 Hz, 3332 samples
Got:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 335, in obspy.core.trace.Trace.interpolate
Failed example:
tr.interpolate(sampling_rate=111.1,
starttime=tr.stats.starttime + 10) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.interpolate[7]>", line 1, in <module>
tr.interpolate(sampling_rate=111.1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2480, in interpolate
self.data = np.atleast_1d(func(
File "/Users/runner/work/obspy/obspy/obspy/signal/interpolation.py", line 142, in weighted_average_slopes
w = 1.0 / np.clip(w, np.spacing(1), w.max())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 338, in obspy.core.trace.Trace.interpolate
Failed example:
print(tr) # doctest: +ELLIPSIS
Expected:
BW.RJOB..EHZ | 2009-08-24T00:20:13... - ... | 111.1 Hz, 2221 samples
Got:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.max
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1848, in max
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1857, in obspy.core.trace.Trace.max
Failed example:
tr.max()
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.max[1]>", line 1, in <module>
tr.max()
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1860, in obspy.core.trace.Trace.max
Failed example:
tr.max()
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.max[3]>", line 1, in <module>
tr.max()
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1863, in obspy.core.trace.Trace.max
Failed example:
tr.max()
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.max[5]>", line 1, in <module>
tr.max()
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.normalize
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 232, in normalize
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 258, in obspy.core.trace.Trace.normalize
Failed example:
tr.normalize() # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.normalize[1]>", line 1, in <module>
tr.normalize() # doctest: +ELLIPSIS
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2228, in normalize
norm = self.max()
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 260, in obspy.core.trace.Trace.normalize
Failed example:
tr.data
Expected:
array([ 0. , -0.33333333, 1. , 0.66666667])
Got:
array([ 0, -3, 9, 6])
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 262, in obspy.core.trace.Trace.normalize
Failed example:
print(tr.stats.processing[0]) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 140, in __getattr__
return self.__getitem__(name, default)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 230, in __getitem__
return super(Stats, self).__getitem__(key, default)
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 95, in __getitem__
return self.__dict__[name]
KeyError: 'processing'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.normalize[3]>", line 1, in <module>
print(tr.stats.processing[0]) # doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 142, in __getattr__
raise AttributeError(e.args[0])
AttributeError: processing
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 265, in obspy.core.trace.Trace.normalize
Failed example:
tr.normalize() # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.normalize[5]>", line 1, in <module>
tr.normalize() # doctest: +ELLIPSIS
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2228, in normalize
norm = self.max()
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 267, in obspy.core.trace.Trace.normalize
Failed example:
tr.data
Expected:
array([ 0.0326087 , -0.38043478, -1. , 0.69565217])
Got:
array([ 0.3, -3.5, -9.2, 6.4])
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 269, in obspy.core.trace.Trace.normalize
Failed example:
print(tr.stats.processing[0]) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 140, in __getattr__
return self.__getitem__(name, default)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 230, in __getitem__
return super(Stats, self).__getitem__(key, default)
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 95, in __getitem__
return self.__dict__[name]
KeyError: 'processing'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.normalize[7]>", line 1, in <module>
print(tr.stats.processing[0]) # doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 142, in __getattr__
raise AttributeError(e.args[0])
AttributeError: processing
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.remove_response
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 232, in remove_response
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 273, in obspy.core.trace.Trace.remove_response
Failed example:
tr.remove_response(inventory=inv) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.remove_response[4]>", line 1, in <module>
tr.remove_response(inventory=inv) # doctest: +ELLIPSIS
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2928, in remove_response
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 292, in obspy.core.trace.Trace.remove_response
Failed example:
st = read("/path/to/IU_ULN_00_LH1_2015-07-18T02.mseed")
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.remove_response[7]>", line 1, in <module>
st = read("/path/to/IU_ULN_00_LH1_2015-07-18T02.mseed")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.simulate
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 232, in simulate
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 304, in obspy.core.trace.Trace.simulate
Failed example:
tr.simulate(paz_remove=paz_sts2, paz_simulate=paz_1hz)
# doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.simulate[7]>", line 1, in <module>
tr.simulate(paz_remove=paz_sts2, paz_simulate=paz_1hz)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1475, in simulate
self.data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream._rotate_specific_channels_to_zne
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 3450, in _rotate_specific_channels_to_zne
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 3455, in obspy.core.stream.Stream._rotate_specific_channels_to_zne
Failed example:
st = read("/path/to/ffbx_unrotated_gaps.mseed")
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream._rotate_specific_channels_to_zne[1]>", line 1, in <module>
st = read("/path/to/ffbx_unrotated_gaps.mseed")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 3457, in obspy.core.stream.Stream._rotate_specific_channels_to_zne
Failed example:
st._rotate_specific_channels_to_zne(
"BW", "FFB1", "", ["HHZ", "HH1", "HH2"],
inv) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream._rotate_specific_channels_to_zne[3]>", line 1, in <module>
st._rotate_specific_channels_to_zne(
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream._rotate_to_zne
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 3392, in _rotate_to_zne
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 3397, in obspy.core.stream.Stream._rotate_to_zne
Failed example:
st = read("/path/to/ffbx_unrotated_gaps.mseed")
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream._rotate_to_zne[1]>", line 1, in <module>
st = read("/path/to/ffbx_unrotated_gaps.mseed")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 3399, in obspy.core.stream.Stream._rotate_to_zne
Failed example:
st._rotate_to_zne(inv) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream._rotate_to_zne[3]>", line 1, in <module>
st._rotate_to_zne(inv) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.interpolate
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2512, in interpolate
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2543, in obspy.core.stream.Stream.interpolate
Failed example:
st.interpolate(sampling_rate=111.1) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.interpolate[3]>", line 1, in <module>
st.interpolate(sampling_rate=111.1) # doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2552, in interpolate
tr.interpolate(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2480, in interpolate
self.data = np.atleast_1d(func(
File "/Users/runner/work/obspy/obspy/obspy/signal/interpolation.py", line 142, in weighted_average_slopes
w = 1.0 / np.clip(w, np.spacing(1), w.max())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2545, in obspy.core.stream.Stream.interpolate
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03... - ... | 111.1 Hz, 3332 samples
BW.RJOB..EHN | 2009-08-24T00:20:03... - ... | 111.1 Hz, 3332 samples
BW.RJOB..EHE | 2009-08-24T00:20:03... - ... | 111.1 Hz, 3332 samples
Got:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.max
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2399, in max
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2413, in obspy.core.stream.Stream.max
Failed example:
st.max()
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.max[5]>", line 1, in <module>
st.max()
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2416, in max
return [tr.max() for tr in self]
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2416, in <listcomp>
return [tr.max() for tr in self]
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.normalize
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2576, in normalize
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2612, in obspy.core.stream.Stream.normalize
Failed example:
st.normalize() # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.normalize[4]>", line 1, in <module>
st.normalize() # doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2648, in normalize
tr.normalize(norm=norm)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2228, in normalize
norm = self.max()
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2614, in obspy.core.stream.Stream.normalize
Failed example:
st[0].data # doctest: +ELLIPSIS
Expected:
array([ 0. , -0.33333333, 1. , 0.66666667, ...])
Got:
array([ 0, -3, 9, 6, 4])
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2616, in obspy.core.stream.Stream.normalize
Failed example:
print(st[0].stats.processing[0]) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 140, in __getattr__
return self.__getitem__(name, default)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 230, in __getitem__
return super(Stats, self).__getitem__(key, default)
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 95, in __getitem__
return self.__dict__[name]
KeyError: 'processing'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.normalize[6]>", line 1, in <module>
print(st[0].stats.processing[0]) # doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 142, in __getattr__
raise AttributeError(e.args[0])
AttributeError: processing
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2618, in obspy.core.stream.Stream.normalize
Failed example:
st[1].data
Expected:
array([ 0.375, -0.625, -1. , 0.5 , 0.375])
Got:
array([ 0.3, -0.5, -0.8, 0.4, 0.3])
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2620, in obspy.core.stream.Stream.normalize
Failed example:
print(st[1].stats.processing[0]) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 140, in __getattr__
return self.__getitem__(name, default)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 230, in __getitem__
return super(Stats, self).__getitem__(key, default)
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 95, in __getitem__
return self.__dict__[name]
KeyError: 'processing'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.normalize[8]>", line 1, in <module>
print(st[1].stats.processing[0]) # doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 142, in __getattr__
raise AttributeError(e.args[0])
AttributeError: processing
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2630, in obspy.core.stream.Stream.normalize
Failed example:
st.normalize(global_max=True) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.normalize[12]>", line 1, in <module>
st.normalize(global_max=True) # doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2643, in normalize
norm = max([abs(value) for value in self.max()])
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2416, in max
return [tr.max() for tr in self]
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2416, in <listcomp>
return [tr.max() for tr in self]
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2632, in obspy.core.stream.Stream.normalize
Failed example:
st[0].data # doctest: +ELLIPSIS
Expected:
array([ 0. , -0.33333333, 1. , 0.66666667, ...])
Got:
array([ 0, -3, 9, 6, 4])
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2634, in obspy.core.stream.Stream.normalize
Failed example:
print(st[0].stats.processing[0]) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 140, in __getattr__
return self.__getitem__(name, default)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 230, in __getitem__
return super(Stats, self).__getitem__(key, default)
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 95, in __getitem__
return self.__dict__[name]
KeyError: 'processing'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.normalize[14]>", line 1, in <module>
print(st[0].stats.processing[0]) # doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 142, in __getattr__
raise AttributeError(e.args[0])
AttributeError: processing
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2636, in obspy.core.stream.Stream.normalize
Failed example:
st[1].data # doctest: +ELLIPSIS
Expected:
array([ 0.03333333, -0.05555556, -0.08888889, 0.04444444, ...])
Got:
array([ 0.3, -0.5, -0.8, 0.4, 0.3])
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2638, in obspy.core.stream.Stream.normalize
Failed example:
print(st[1].stats.processing[0]) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 140, in __getattr__
return self.__getitem__(name, default)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 230, in __getitem__
return super(Stats, self).__getitem__(key, default)
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 95, in __getitem__
return self.__dict__[name]
KeyError: 'processing'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.normalize[16]>", line 1, in <module>
print(st[1].stats.processing[0]) # doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/core/util/attribdict.py", line 142, in __getattr__
raise AttributeError(e.args[0])
AttributeError: processing
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.remove_response
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 3116, in remove_response
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 3127, in obspy.core.stream.Stream.remove_response
Failed example:
st.remove_response(inventory=inv) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.remove_response[3]>", line 1, in <module>
st.remove_response(inventory=inv) # doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 3147, in remove_response
tr.remove_response(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2928, in remove_response
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.rotate
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2652, in rotate
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2699, in obspy.core.stream.Stream.rotate
Failed example:
st = read("/path/to/ffbx_unrotated_gaps.mseed")
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.rotate[1]>", line 1, in <module>
st = read("/path/to/ffbx_unrotated_gaps.mseed")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2701, in obspy.core.stream.Stream.rotate
Failed example:
st.rotate(method="->ZNE", inventory=inv) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.rotate[3]>", line 1, in <module>
st.rotate(method="->ZNE", inventory=inv) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.simulate
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2032, in simulate
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2106, in obspy.core.stream.Stream.simulate
Failed example:
st.simulate(paz_remove=paz_sts2, paz_simulate=paz_1hz)
# doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.simulate[5]>", line 1, in <module>
st.simulate(paz_remove=paz_sts2, paz_simulate=paz_1hz)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2129, in simulate
tr.simulate(paz_remove=paz_remove, paz_simulate=paz_simulate,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1475, in simulate
self.data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.inventory.__init__
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/core/inventory/__init__.py", line 201, in obspy.core.inventory.__init__
Failed example:
st.remove_response(
inventory=inv, output="VEL", water_level=20) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.inventory.__init__[30]>", line 1, in <module>
st.remove_response(
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 3147, in remove_response
tr.remove_response(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2928, in remove_response
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_plot.py", line 40, in test_plot
obspy_plot(['--outfile', ic.name] + all_files)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/plot.py", line 42, in main
st.plot(**kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_plot.py", line 55, in test_plot_no_merge
obspy_plot(['--no-automerge', '--outfile', ic.name] +
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/plot.py", line 42, in main
st.plot(**kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 74, in test_data_remains_unchanged
st.plot(format='png')
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 295, in test_plot_azim_section
st.plot(outfile=ic.name, type='section', dist_degree=True,
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 271, in plot_waveform
self.plot_section(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1075, in plot_section
self.__sect_init_traces()
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1190, in __sect_init_traces
self._offset_min = self._tr_offsets.min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 261, in test_plot_binning_error
tr.plot(outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 939, in plot
return waveform.plot_waveform(**kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 339, in test_plot_colored_section
st.plot(outfile=ic.name, type='section', color='channel')
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 271, in plot_waveform
self.plot_section(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1075, in plot_section
self.__sect_init_traces()
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1190, in __sect_init_traces
self._offset_min = self._tr_offsets.min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 203, in test_plot_complex_gap_few_samples
st.plot(outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 182, in test_plot_complex_gap_many_samples
st.plot(outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 445, in test_plot_day_plot
st.plot(outfile=ic.name, type='dayplot',
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 269, in plot_waveform
self.plot_day(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 416, in plot_day
self.__dayplot_get_min_max_values(self, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 894, in __dayplot_get_min_max_values
extreme_values[_i, :, 0] = cur_interval.min(axis=1)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 480, in test_plot_day_plot_catalog
st.plot(outfile=ic.name, type='dayplot',
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 269, in plot_waveform
self.plot_day(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 416, in plot_day
self.__dayplot_get_min_max_values(self, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 894, in __dayplot_get_min_max_values
extreme_values[_i, :, 0] = cur_interval.min(axis=1)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 462, in test_plot_day_plot_explicit_event
st.plot(outfile=ic.name, type='dayplot',
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 269, in plot_waveform
self.plot_day(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 416, in plot_day
self.__dayplot_get_min_max_values(self, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 894, in __dayplot_get_min_max_values
extreme_values[_i, :, 0] = cur_interval.min(axis=1)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 420, in test_plot_default_relative
st.plot(outfile=ic.name, type='relative')
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 280, in test_plot_default_section
st.plot(outfile=ic.name, type='section')
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 271, in plot_waveform
self.plot_section(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1075, in plot_section
self.__sect_init_traces()
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1190, in __sect_init_traces
self._offset_min = self._tr_offsets.min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 309, in test_plot_horizontal_section
st.plot(outfile=ic.name, type='section', orientation='horizontal')
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 271, in plot_waveform
self.plot_section(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1075, in plot_section
self.__sect_init_traces()
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1190, in __sect_init_traces
self._offset_min = self._tr_offsets.min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 212, in test_plot_multiple_traces
st.plot(outfile=ic.name, automerge=False)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 939, in plot
return waveform.plot_waveform(**kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 131, in test_plot_one_hour_few_samples
st.plot(outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 118, in test_plot_one_hour_many_samples
st.plot(outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 434, in test_plot_ref_time_relative
st.plot(outfile=ic.name, type='relative', reftime=ref)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 324, in test_plot_ref_time_section
st.plot(outfile=ic.name, type='section', reftime=reftime)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 271, in plot_waveform
self.plot_section(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1075, in plot_section
self.__sect_init_traces()
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1190, in __sect_init_traces
self._offset_min = self._tr_offsets.min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 161, in test_plot_simple_gap_few_samples
st.plot(outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 146, in test_plot_simple_gap_many_samples
st.plot(outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 391, in test_plot_wiggles_horizontal_section
st.plot(outfile=ic.name, type='section', orientation='horizontal',
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 271, in plot_waveform
self.plot_section(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1075, in plot_section
self.__sect_init_traces()
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1190, in __sect_init_traces
self._offset_min = self._tr_offsets.min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 356, in test_plot_wiggles_negative_section
st.plot(outfile=ic.name, type='section', orientation='horizontal',
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 271, in plot_waveform
self.plot_section(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1075, in plot_section
self.__sect_init_traces()
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1190, in __sect_init_traces
self._offset_min = self._tr_offsets.min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 374, in test_plot_wiggles_positive_section
st.plot(outfile=ic.name, type='section', orientation='horizontal',
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 271, in plot_waveform
self.plot_section(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1075, in plot_section
self.__sect_init_traces()
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1190, in __sect_init_traces
self._offset_min = self._tr_offsets.min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 408, in test_plot_wiggles_vertical_section
st.plot(outfile=ic.name, type='section', orientation='vertical',
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 271, in plot_waveform
self.plot_section(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1075, in plot_section
self.__sect_init_traces()
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 1190, in __sect_init_traces
self._offset_min = self._tr_offsets.min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_waveform.py", line 251, in test_plot_with_labels
st.plot(outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_source.py", line 27, in test_farfield_with_quiver
plot_radiation_pattern(
File "/Users/runner/work/obspy/obspy/obspy/imaging/source.py", line 131, in plot_radiation_pattern
fig, axes, kind = _setup_figure_and_axes(kind, fig=fig)
File "/Users/runner/work/obspy/obspy/obspy/imaging/source.py", line 65, in _setup_figure_and_axes
ax = fig.add_subplot(nrows, ncols_, i * ncols_ + j + 1, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_scan.py", line 222, in test_multiple_sampling_rates
obspy_scan(files + ['--output', ic.name, '--print-gaps'])
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 775, in main
scan(paths=args.paths, format=args.format, verbose=args.verbose,
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 703, in scan
scanner.plot(outfile=plot, show=False, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 346, in plot
ax = fig.add_subplot(111)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_scan.py", line 69, in test_scan_function_and_scanner_class
scan(paths=os.curdir, plot=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 703, in scan
scanner.plot(outfile=plot, show=False, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 346, in plot
ax = fig.add_subplot(111)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_scan.py", line 53, in test_scan_main_method
obspy_scan([os.curdir] + ['--output', ic.name])
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 775, in main
scan(paths=args.paths, format=args.format, verbose=args.verbose,
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 703, in scan
scanner.plot(outfile=plot, show=False, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 346, in plot
ax = fig.add_subplot(111)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_scan.py", line 109, in test_scan_plot_by_id_with_wildcard
fig, ax = plt.subplots()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_scan.py", line 151, in test_scan_save_load_npz
obspy_scan([os.curdir, '--write', 'scan.npz'])
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 775, in main
scan(paths=args.paths, format=args.format, verbose=args.verbose,
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 699, in scan
scanner.plot(outfile=None, show=True, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 346, in plot
ax = fig.add_subplot(111)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_scan.py", line 181, in test_scan_times
obspy_scan([os.curdir] + ['--output', ic.name] +
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 775, in main
scan(paths=args.paths, format=args.format, verbose=args.verbose,
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 703, in scan
scanner.plot(outfile=plot, show=False, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 346, in plot
ax = fig.add_subplot(111)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_scan.py", line 135, in test_scanner_manually_add_streams
scanner.plot(ic.name)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/scan.py", line 346, in plot
ax = fig.add_subplot(111)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_mopad.py", line 63, in test_collection
ax = fig.add_subplot(111, aspect='equal')
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_spectrogram.py", line 42, in test_spectrogram
spectrogram.spectrogram(
File "/Users/runner/work/obspy/obspy/obspy/imaging/spectrogram.py", line 142, in spectrogram
_range = float(specgram.max() - specgram.min())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_mopad_script.py", line 44, in test_script_convert_type_tensor
obspy_mopad(['convert', '--fancy', '-t', 't',
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 5102, in main
aa = _handle_input(M_raw, args)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 3913, in _handle_input
return args.call(mt, kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 3955, in _call_convert
return MT.get_M(style='f')
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 1038, in get_M
return self._matrix_w_style_and_system(self._M, system, style)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 928, in _matrix_w_style_and_system
return fancy_matrix(M2return)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 1798, in fancy_matrix
norm_factor = round(np.max(np.abs(m.flatten())), 5)
File "<__array_function__ internals>", line 5, in amax
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 2754, in amax
return _wrapreduction(a, np.maximum, 'max', axis, None, out,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 84, in _wrapreduction
return reduction(axis=axis, out=out, **passkwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/matrixlib/defmatrix.py", line 644, in max
return N.ndarray.max(self, axis, out, keepdims=True)._collapse(axis)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_mopad_script.py", line 58, in test_script_convert_type_tensor_large
obspy_mopad(['convert', '--fancy', '-t', 't',
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 5102, in main
aa = _handle_input(M_raw, args)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 3913, in _handle_input
return args.call(mt, kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 3955, in _call_convert
return MT.get_M(style='f')
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 1038, in get_M
return self._matrix_w_style_and_system(self._M, system, style)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 928, in _matrix_w_style_and_system
return fancy_matrix(M2return)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 1798, in fancy_matrix
norm_factor = round(np.max(np.abs(m.flatten())), 5)
File "<__array_function__ internals>", line 5, in amax
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 2754, in amax
return _wrapreduction(a, np.maximum, 'max', axis, None, out,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 84, in _wrapreduction
return reduction(axis=axis, out=out, **passkwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/matrixlib/defmatrix.py", line 644, in max
return N.ndarray.max(self, axis, out, keepdims=True)._collapse(axis)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_mopad_script.py", line 118, in test_script_decompose
obspy_mopad(['decompose', '-y', ','.join(str(x) for x in self.mt)])
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 5102, in main
aa = _handle_input(M_raw, args)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 3913, in _handle_input
return args.call(mt, kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 4089, in _call_decompose
decomp = MT.get_full_decomposition()
File "/Users/runner/work/obspy/obspy/obspy/imaging/scripts/mopad.py", line 1099, in get_full_decomposition
mexp = pow(10, np.ceil(np.log10(np.max(np.abs(self._M)))))
File "<__array_function__ internals>", line 5, in amax
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 2754, in amax
return _wrapreduction(a, np.maximum, 'max', axis, None, out,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 84, in _wrapreduction
return reduction(axis=axis, out=out, **passkwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/matrixlib/defmatrix.py", line 644, in max
return N.ndarray.max(self, axis, out, keepdims=True)._collapse(axis)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_beachball.py", line 79, in test_beachball
beachball(data_, outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/imaging/beachball.py", line 250, in beachball
ax = fig.add_subplot(111, aspect='equal')
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_beachball.py", line 90, in test_beachball_output_format
data = beachball(fm, format='pdf')
File "/Users/runner/work/obspy/obspy/obspy/imaging/beachball.py", line 250, in beachball
ax = fig.add_subplot(111, aspect='equal')
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_beachball.py", line 227, in test_collection
ax = fig.add_subplot(111, aspect='equal')
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_beachball.py", line 288, in test_collection_aspect_x
self.collection_aspect(axis=[-10000, 10000, -100, 100],
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_beachball.py", line 258, in collection_aspect
ax = fig.add_subplot(111)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_beachball.py", line 297, in test_collection_aspect_y
self.collection_aspect(axis=[-100, 100, -10000, 10000],
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_beachball.py", line 258, in collection_aspect
ax = fig.add_subplot(111)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_beachball.py", line 311, in test_mopad_fallback
beachball(mt, outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/imaging/beachball.py", line 250, in beachball
ax = fig.add_subplot(111, aspect='equal')
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_ppsd.py", line 34, in test_ppsd_plot
self.ppsd.plot(
File "/Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 2038, in plot
self._plot_histogram(fig=fig)
File "/Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 2088, in _plot_histogram
xlim = ax.get_xlim()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 3423, in get_xlim
return tuple(self.viewLim.intervalx)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 782, in viewLim
self._unstale_viewLim()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 778, in _unstale_viewLim
self.autoscale_view(scalex=scalex, scaley=scaley)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 2753, in autoscale_view
handle_single_axis(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 2710, in handle_single_axis
x0, x1 = (x_values.min(), x_values.max())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_ppsd.py", line 74, in test_ppsd_plot_cumulative
self.ppsd.plot(
File "/Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 2038, in plot
self._plot_histogram(fig=fig)
File "/Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 2088, in _plot_histogram
xlim = ax.get_xlim()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 3423, in get_xlim
return tuple(self.viewLim.intervalx)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 782, in viewLim
self._unstale_viewLim()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 778, in _unstale_viewLim
self.autoscale_view(scalex=scalex, scaley=scaley)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 2753, in autoscale_view
handle_single_axis(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 2710, in handle_single_axis
x0, x1 = (x_values.min(), x_values.max())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/imaging/tests/test_ppsd.py", line 54, in test_ppsd_plot_frequency
self.ppsd.plot(
File "/Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 1920, in plot
ax = fig.add_subplot(111)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.imaging.__init__
File "/Users/runner/work/obspy/obspy/obspy/imaging/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/imaging/__init__.py", line 35, in obspy.imaging.__init__
Failed example:
st.plot(color='gray', tick_format='%I:%M %p', # doctest: +ELLIPSIS
starttime=st[0].stats.starttime,
endtime=st[0].stats.starttime+20)
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.imaging.__init__[3]>", line 1, in <module>
st.plot(color='gray', tick_format='%I:%M %p', # doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1153, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 273, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/imaging/waveform.py", line 378, in plot
ax = self.fig.add_subplot(len(stream_new), 1, _i + 1,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/imaging/__init__.py", line 110, in obspy.imaging.__init__
Failed example:
fig = beachball(np1) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.imaging.__init__[11]>", line 1, in <module>
fig = beachball(np1) # doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/imaging/beachball.py", line 250, in beachball
ax = fig.add_subplot(111, aspect='equal')
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/imaging/__init__.py", line 128, in obspy.imaging.__init__
Failed example:
fig = beachball(mt) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.imaging.__init__[14]>", line 1, in <module>
fig = beachball(mt) #doctest: +ELLIPSIS
File "/Users/runner/work/obspy/obspy/obspy/imaging/beachball.py", line 250, in beachball
ax = fig.add_subplot(111, aspect='equal')
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/imaging/__init__.py", line 149, in obspy.imaging.__init__
Failed example:
plt.plot([-100, 100], [0, 100], "rv", ms=20) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.imaging.__init__[21]>", line 1, in <module>
plt.plot([-100, 100], [0, 100], "rv", ms=20) #doctest: +ELLIPSIS
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 3019, in plot
return gca().plot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 2532, in gca
return gcf().gca(**kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 1525, in gca
return self.add_subplot(1, 1, 1, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/imaging/__init__.py", line 151, in obspy.imaging.__init__
Failed example:
ax = plt.gca()
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.imaging.__init__[22]>", line 1, in <module>
ax = plt.gca()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 2532, in gca
return gcf().gca(**kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 1525, in gca
return self.add_subplot(1, 1, 1, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/imaging/__init__.py", line 154, in obspy.imaging.__init__
Failed example:
ax.set_aspect("equal")
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.imaging.__init__[25]>", line 1, in <module>
ax.set_aspect("equal")
NameError: name 'ax' is not defined
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/ascii/tests/test_ascii.py", line 692, in test_regression_against_mseed2ascii
read(mseed_file).write(tf.name, format="TSPAIR")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/focmec/tests/test_core.py", line 144, in test_read_focmec_lst
cat = _read_focmec(self.lst_file)
File "/Users/runner/work/obspy/obspy/obspy/io/focmec/core.py", line 104, in _read_focmec
event = _read_focmec_lst(lines)
File "/Users/runner/work/obspy/obspy/obspy/io/focmec/core.py", line 231, in _read_focmec_lst
azimuthal_gap = np.diff(azimuths).max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/focmec/tests/test_core.py", line 150, in test_read_focmec_lst_open_file
cat = _read_focmec(fh)
File "/Users/runner/work/obspy/obspy/obspy/io/focmec/core.py", line 104, in _read_focmec
event = _read_focmec_lst(lines)
File "/Users/runner/work/obspy/obspy/obspy/io/focmec/core.py", line 231, in _read_focmec_lst
azimuthal_gap = np.diff(azimuths).max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/focmec/tests/test_core.py", line 172, in test_read_focmec_lst_other_flavors
cat = read_events(os.path.join(self.datapath, 'focmec_qedUWne.lst'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/event/catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/event/catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/focmec/core.py", line 104, in _read_focmec
event = _read_focmec_lst(lines)
File "/Users/runner/work/obspy/obspy/obspy/io/focmec/core.py", line 231, in _read_focmec_lst
azimuthal_gap = np.diff(azimuths).max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/focmec/tests/test_core.py", line 158, in test_read_focmec_lst_through_plugin
cat = read_events(self.lst_file)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/event/catalog.py", line 807, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/event/catalog.py", line 815, in _read
catalog, format = _read_from_plugin('event', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/focmec/core.py", line 104, in _read_focmec
event = _read_focmec_lst(lines)
File "/Users/runner/work/obspy/obspy/obspy/io/focmec/core.py", line 231, in _read_focmec_lst
azimuthal_gap = np.diff(azimuths).max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/tests/test_core.py", line 140, in test_read_and_write_streams_via_obspy
st1.write(tmpfile, format='GSE2')
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1454, in write
write_format(self, filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/core.py", line 107, in _write_gse2
libgse2.write(trace.stats, trace.data, f, inplace)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/libgse2.py", line 424, in write
if data.max() > 2 ** 26:
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/tests/test_core.py", line 88, in test_read_and_write_via_obspy
st2.write(tempfile, format='GSE2')
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1454, in write
write_format(self, filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/core.py", line 107, in _write_gse2
libgse2.write(trace.stats, trace.data, f, inplace)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/libgse2.py", line 424, in write
if data.max() > 2 ** 26:
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/tests/test_core.py", line 342, in test_write_and_read_correct_network
tr.write(tmpfile, format='GSE2')
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1454, in write
write_format(self, filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/core.py", line 107, in _write_gse2
libgse2.write(trace.stats, trace.data, f, inplace)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/libgse2.py", line 424, in write
if data.max() > 2 ** 26:
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/tests/test_core.py", line 170, in test_write_integers_via_obspy
st.write(tempfile, format="GSE2")
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1454, in write
write_format(self, filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/core.py", line 107, in _write_gse2
libgse2.write(trace.stats, trace.data, f, inplace)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/libgse2.py", line 424, in write
if data.max() > 2 ** 26:
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/tests/test_libgse2.py", line 101, in test_bytes_io
libgse2.write(header, data, fout)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/libgse2.py", line 424, in write
if data.max() > 2 ** 26:
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/tests/test_libgse2.py", line 150, in test_max_value_exceeded
self.assertRaises(OverflowError, libgse2.write, header, data,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/unittest/case.py", line 731, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/unittest/case.py", line 201, in handle
callable_obj(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/libgse2.py", line 424, in write
if data.max() > 2 ** 26:
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/tests/test_libgse2.py", line 79, in test_read_and_write
libgse2.write(header, data, f)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/libgse2.py", line 424, in write
if data.max() > 2 ** 26:
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 140, in test_broken_last_record
data_record = _read_mseed(file)[0].data
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 195, in test_bug_write_read_float32_seed_win32
st2 = _read_mseed(tempfile)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 589, in test_enforcing_reading_byteorder
tr2 = read(memfile, header_byteorder="<")[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 665, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 658, in test_full_seed_with_non_default_dataquality
st = read(filename)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 322, in test_issue160
tr_one = read(file)[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 343, in test_issue217
tr = read(file)[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 476, in test_issue272
st = read(filename)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 437, in test_issue289
st = read(file, starttime=UTCDateTime() - 10, endtime=UTCDateTime())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 490, in test_issue325
st = read(filename)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 551, in test_issue341
st = read(tempfile)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 569, in test_issue485
data = read(filename)[0].data.tolist()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin
is_format = is_format(filename)
File "/Users/runner/work/obspy/obspy/obspy/io/gse2/core.py", line 120, in _is_gse1
with open(filename, 'rb') as f:
TypeError: expected str, bytes or os.PathLike object, not BytesIO
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 643, in test_long_year_range
st2 = read(memfile)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 665, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 731, in test_microsecond_accuracy_reading_and_writing_before_1970
tr2 = read(fh)[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 665, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 849, in test_mseed_zero_data_headonly
st = read(file)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 802, in test_mseed_zero_data_offset
st = read(file)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 172, in test_one_sample_overlap
new_stream = _read_mseed(tempfile)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 891, in test_read_file_with_microsecond_wrap
tr = read(file)[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1181, in test_read_file_with_non_valid_blocks_in_between
reference = _read_mseed(filename)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 767, in test_read_file_with_various_noise_records
st = read(file)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 304, in test_read_with_missing_blockette010
tr = read(file)[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1047, in test_reading_file_with_data_offset_of_48
st = read(file)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1242, in test_reading_files_with_non_ascii_headers
st = read(filename)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1135, in test_reading_less_than_128_bytes
st = _read_mseed(buf)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 919, in test_reading_miniseed_with_no_blockette_1000
st = read(file)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 745, in test_reading_noise_records
st = read(file)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1081, in test_reading_truncated_miniseed_files
st = _read_mseed(buf)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 1110, in test_reading_truncated_miniseed_files_case_2
st = _read_mseed(buf)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 217, in test_write_with_date_time_before_1970
stream = _read_mseed(tempfile)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 253, in test_write_wrong_encoding
st = read(file)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 271, in test_write_wrong_encoding_via_mseed_stats
st = read(file)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 965, in test_writing_of_blockette_100
np.float32(read(tempfile)[0].stats.sampling_rate),
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_special_issues.py", line 290, in test_wrong_record_length_as_argument
read(file, reclen=111)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_util.py", line 542, in test_get_start_and_end_time
stream = _read_mseed(filename)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_util.py", line 564, in test_get_timing_quality
result = util.get_flags(filename, timing_quality=True,
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/util.py", line 478, in get_flags
"min": tq.min(),
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_util.py", line 1199, in test_regression_segfault_when_hooking_up_libmseeds_logging
_read_mseed(filename)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_util.py", line 630, in test_time_shifting
st_before = _read_mseed(filename)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_util.py", line 688, in test_time_shifting_special_case
st_before = _read_mseed(filename)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_util.py", line 602, in test_unpack_steim_1
data_record = _read_mseed(steim1_file)[0].data
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_util.py", line 615, in test_unpack_steim_2
data_record = _read_mseed(steim2_file)[0].data
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 414, in test__partial_with_only_endtime_set
stream = _read_mseed(testfile, endtime=endtime - 6)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 768, in test_all_data_types_and_endians_in_multiple_files
st = read(file)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 819, in test_all_data_types_and_endians_in_single_file
st2 = read(tempfile)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1030, in test_bizarre_files
st1 = read(os.path.join(self.path, "data", "bizarre",
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1157, in test_corrupt_file_length
st = read(filename, reclen=512)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 166, in test_downcast_int64_to_int32
st.write(buf, format="mseed")
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1454, in write
write_format(self, filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 805, in _write_mseed
if abs(trace.max()) <= ii32.max:
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 837, in test_enforce_steim2_with_steim1_as_encoding
st = read(file)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 885, in test_files_from_libmseed
st = read(os.path.join(cur_file))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 668, in test_header
stream = read(tempfile)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1096, in test_issue376
st = read(tempfile)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1521, in test_libmseed_test_cases
assert_valid(test_file, ref_file, test_type)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1350, in assert_valid
st = read(filename)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1543, in test_per_trace_mseed_attributes
st = read(buf)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 665, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 236, in test_read_and_write_file_with_gaps
stream = _read_mseed(filename)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 116, in test_read_and_write_traces
stream = _read_mseed(mseed_file)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 339, in test_read_file_via_mseed
stream = _read_mseed(testfile)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 633, in test_read_full_seed
st = _read_mseed(files)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 78, in test_read_gappy_file
stream = _read_mseed(mseed_file)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 39, in test_read_head_file_via_obspy
stream = read(testfile, headonly=True, format='MSEED')
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 500, in test_read_ms_traces_via_records_multiple_ids
st = read(file, starttime=starttime, endtime=endtime)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1580, in test_read_mseed_sr0
st = read(filename)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 426, in test_read_partial_frame_with_empty_time_range
stream = _read_mseed(testfile, starttime=starttime - 1E6,
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 387, in test_read_partial_time_window_from_file
stream = _read_mseed(testfile, starttime=starttime + 6,
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 401, in test_read_partial_with_only_starttime_set
stream = _read_mseed(testfile, starttime=starttime + 6)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 436, in test_read_partial_with_source_name
st1 = _read_mseed(testfile)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 737, in test_read_parts_of_file
tr1 = read(file, starttime=t[0], endtime=t[1])[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1128, in test_read_timing_qual
st = read(filename, details=True)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 753, in test_read_with_gse2_option
tr = read(file, verify_chksum=True, starttime=None)[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 645, in test_read_with_wild_card
st = read(files)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 967, in test_reading_and_writing_dataquality
stream = read(tempfile)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 718, in test_reading_and_writing_via_the_stats_attribute
stream2 = read(tempfile)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1607, in test_reading_and_writing_zero_sampling_rate_traces
tr2 = read(buf)[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 665, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1270, in test_reading_cdsn_format
tr = read(os.path.join(self.path, "data", "CDSN_encoding.mseed"))[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1259, in test_reading_dwwssn_format
tr = read(os.path.join(self.path, "data", "DWWSSN_encoding.mseed"))[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1231, in test_reading_geoscope_16bit_4bit_exponent_format
tr = read(os.path.join(self.path, "data",
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1247, in test_reading_sro_format
tr = read(os.path.join(self.path, "data",
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1172, in test_verbosity
st = read(filename, verbose=2)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 1075, in test_write_and_read_different_encodings
st2 = read(tempfile)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 620, in test_write_and_read_different_record_lengths
temp_st = read(tempfile)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 468, in test_write_integers
stream = _read_mseed(tempfile)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/tests/test_mseed_reading_and_writing.py", line 918, in test_writing_microseconds
st = read(file)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.mseed.util.get_flags
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/util.py", line 98, in get_flags
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/util.py", line 207, in obspy.io.mseed.util.get_flags
Failed example:
flags = get_flags(filename)
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.util.get_flags[5]>", line 1, in <module>
flags = get_flags(filename)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/util.py", line 478, in get_flags
"min": tq.min(),
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/util.py", line 208, in obspy.io.mseed.util.get_flags
Failed example:
for k, v in sorted(flags["timing_quality"].items()):
print(k, v) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Expected:
all_values [...]
lower_quartile 25.0
max 100.0
mean 50.0
median 50.0
min 0.0
upper_quartile 75.0
Got nothing
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.mseed.__init__
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/__init__.py", line 31, in obspy.io.mseed.__init__
Failed example:
st = read("/path/to/test.mseed")
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.__init__[1]>", line 1, in <module>
st = read("/path/to/test.mseed")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/__init__.py", line 32, in obspy.io.mseed.__init__
Failed example:
st #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.__init__[2]>", line 1, in <module>
st #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/__init__.py", line 34, in obspy.io.mseed.__init__
Failed example:
print(st) #doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.__init__[3]>", line 1, in <module>
print(st) #doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/__init__.py", line 37, in obspy.io.mseed.__init__
Failed example:
print(st[0].stats) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.__init__[4]>", line 1, in <module>
print(st[0].stats) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/__init__.py", line 53, in obspy.io.mseed.__init__
Failed example:
for k, v in sorted(st[0].stats.mseed.items()):
print("'%s': %s" % (k, str(v))) # doctest: +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.__init__[5]>", line 1, in <module>
for k, v in sorted(st[0].stats.mseed.items()):
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/__init__.py", line 65, in obspy.io.mseed.__init__
Failed example:
print(st[0].data)
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.__init__[6]>", line 1, in <module>
print(st[0].data)
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.mseed.core._read_mseed
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 143, in _read_mseed
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 193, in obspy.io.mseed.core._read_mseed
Failed example:
st = read("/path/to/two_channels.mseed")
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.core._read_mseed[1]>", line 1, in <module>
st = read("/path/to/two_channels.mseed")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 194, in obspy.io.mseed.core._read_mseed
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.core._read_mseed[2]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 200, in obspy.io.mseed.core._read_mseed
Failed example:
st = read("/path/to/two_channels.mseed",
starttime=UTCDateTime("2010-06-20T00:00:01"),
sourcename="*.?HZ")
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.core._read_mseed[4]>", line 1, in <module>
st = read("/path/to/two_channels.mseed",
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 203, in obspy.io.mseed.core._read_mseed
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.core._read_mseed[5]>", line 1, in <module>
print(st) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 209, in obspy.io.mseed.core._read_mseed
Failed example:
st = read("/path/to/timingquality.mseed", details=True)
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.core._read_mseed[6]>", line 1, in <module>
st = read("/path/to/timingquality.mseed", details=True)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 210, in obspy.io.mseed.core._read_mseed
Failed example:
print(st[0].stats.mseed.blkt1001.timing_quality)
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.core._read_mseed[7]>", line 1, in <module>
print(st[0].stats.mseed.blkt1001.timing_quality)
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 216, in obspy.io.mseed.core._read_mseed
Failed example:
print(st[0].stats.mseed.calibration_type)
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.core._read_mseed[8]>", line 1, in <module>
print(st[0].stats.mseed.calibration_type)
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 223, in obspy.io.mseed.core._read_mseed
Failed example:
print(len(st))
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.mseed.core._read_mseed[9]>", line 1, in <module>
print(len(st))
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/nied/tests/test_knet_reading.py", line 25, in test_read_knet_ascii
max = np.abs(tr.data).max() * 100 # Maximum acc converted to gal
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/nied/tests/test_knet_reading.py", line 59, in test_read_knet_ascii_from_bytes_io
max = np.abs(tr.data).max() * 100 # Maximum acc converted to gal
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/nied/tests/test_knet_reading.py", line 40, in test_read_knet_ascii_from_open_files
max = np.abs(tr.data).max() * 100 # Maximum acc converted to gal
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/nordic/core.py", line 843, in blanksfile
st = read(wavefile)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/nordic/tests/test_nordic.py", line 235, in test_blanksfile
sfile = blanksfile(testing_path, 'L', 'TEST', overwrite=True)
File "/Users/runner/work/obspy/obspy/obspy/io/nordic/core.py", line 846, in blanksfile
raise NordicParsingError('Wavefile: ' + wavefile +
obspy.io.nordic.NordicParsingError: Wavefile: Temporary_wavefile is invalid, try again with real data.
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/nordic/tests/test_nordic.py", line 1011, in test_ellipse_plot
Ellipse(20, 10, 90).plot(outfile=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/io/nordic/ellipse.py", line 419, in plot
fig.add_subplot(111, aspect='equal')
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/nordic/tests/test_nordic.py", line 1028, in test_ellipse_plot_tangents
Ellipse(20, 10, 90).plot_tangents((30, 30),
File "/Users/runner/work/obspy/obspy/obspy/io/nordic/ellipse.py", line 480, in plot_tangents
fig = self.plot(linewidth=linewidth, color=color,
File "/Users/runner/work/obspy/obspy/obspy/io/nordic/ellipse.py", line 419, in plot
fig.add_subplot(111, aspect='equal')
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 219, in test_integration_with_obspy_core
self._assert_reftek130_test_stream(st_reftek)
File "/Users/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 107, in _assert_reftek130_test_stream
st_mseed += obspy.read(file_, "MSEED")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 359, in test_missing_event_trailer_packet
self._assert_reftek130_test_stream(st_reftek)
File "/Users/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 107, in _assert_reftek130_test_stream
st_mseed += obspy.read(file_, "MSEED")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 291, in test_read_file_perturbed_packet_sequence
self._assert_reftek130_test_stream(st_reftek)
File "/Users/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 107, in _assert_reftek130_test_stream
st_mseed += obspy.read(file_, "MSEED")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 202, in test_read_reftek130_no_component_codes_specified
self._assert_reftek130_test_stream(st_reftek)
File "/Users/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 107, in _assert_reftek130_test_stream
st_mseed += obspy.read(file_, "MSEED")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 144, in test_read_reftek130_steim1
self._assert_reftek130_test_stream(st_reftek)
File "/Users/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 107, in _assert_reftek130_test_stream
st_mseed += obspy.read(file_, "MSEED")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 391, in test_truncated_last_packet
self._assert_reftek130_test_stream(st_reftek)
File "/Users/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 107, in _assert_reftek130_test_stream
st_mseed += obspy.read(file_, "MSEED")
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.sac.sactrace.SACTrace.validate
File "/Users/runner/work/obspy/obspy/obspy/io/sac/sactrace.py", line 1297, in validate
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/io/sac/sactrace.py", line 1334, in obspy.io.sac.sactrace.SACTrace.validate
Failed example:
try:
sac.validate('data_hdrs')
except SacInvalidContentError:
sac._flush_headers()
sac.validate('data_hdrs')
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.sac.sactrace.SACTrace.validate[7]>", line 2, in <module>
sac.validate('data_hdrs')
File "/Users/runner/work/obspy/obspy/obspy/io/sac/sactrace.py", line 1341, in validate
_io.validate_sac_content(self._hf, self._hi, self._hs, self.data,
File "/Users/runner/work/obspy/obspy/obspy/io/sac/arrayio.py", line 583, in validate_sac_content
is_min = np.allclose(hf[HD.FLOATHDRS.index('depmin')], data.min())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/seisan/tests/test_core.py", line 193, in test_read_obspy
st2 = read(os.path.join(self.path,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/wav/tests/test_core.py", line 90, in test_rescale_on_write
tr.write(testfile, format='WAV', framerate=7000, width=width,
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 1454, in write
write_format(self, filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/wav/core.py", line 164, in _write_wav
data = data / abs(data).max() * maxint
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/xseed/tests/test_parser.py", line 776, in test_rotation_to_zne
st = read(os.path.join(self.path,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/io/xseed/tests/test_core.py", line 493, in test_response_calculation_from_seed_and_xseed
atol = 1E-7 * max(np.abs(e_r).max(),
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_interpolation.py", line 132, in test_plot_lanczos_window
plot_lanczos_windows(a=20, filename=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/signal/interpolation.py", line 391, in plot_lanczos_windows
plt.subplot(height, 2, 1)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1287, in subplot
ax = fig.add_subplot(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_detrend.py", line 69, in test_polynomial_detrend_plotting
polynomial(tr.data, order=3, plot=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/signal/detrend.py", line 113, in polynomial
_plotting_helper(data, fit, plot)
File "/Users/runner/work/obspy/obspy/obspy/signal/detrend.py", line 37, in _plotting_helper
fig, axes = plt.subplots(2, 1, figsize=(8, 5))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_detrend.py", line 83, in test_spline_detrend_plotting
spline(tr.data, order=1, dspline=1500, plot=ic.name)
File "/Users/runner/work/obspy/obspy/obspy/signal/detrend.py", line 180, in spline
_plotting_helper(data, fit, plot)
File "/Users/runner/work/obspy/obspy/obspy/signal/detrend.py", line 37, in _plotting_helper
fig, axes = plt.subplots(2, 1, figsize=(8, 5))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_filter.py", line 236, in test_lowpass_cheby_2
self.assertGreater(-96, h_db[freq > 50].max())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_freqattributes.py", line 138, in test_logcep
cep = freqattributes.log_cepstrum(self.data_win, self.fs, self.nc,
File "/Users/runner/work/obspy/obspy/obspy/signal/freqattributes.py", line 352, in log_cepstrum
m, a, b = log_spaced_filterbank_matrix(p, nfft, fs, w)
File "/Users/runner/work/obspy/obspy/obspy/signal/freqattributes.py", line 323, in log_spaced_filterbank_matrix
xx = sparse.coo_matrix((v, (c, r))).transpose().todense()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/scipy/sparse/coo.py", line 196, in __init__
self._check()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/scipy/sparse/coo.py", line 282, in _check
if self.row.max() >= self.shape[0]:
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_invsim.py", line 419, in test_evalresp_file_like_object
tr1.data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_invsim.py", line 288, in test_evalresp_vs_obspy
tr.data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_invsim.py", line 236, in test_sac_instrument_correction
tr.data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_invsim.py", line 95, in test_seis_sim_vs_pitsa1
datcorr = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_invsim.py", line 127, in test_seis_sim_vs_pitsa_2
datcorr = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_sonic.py", line 183, in test_array_transff_freqslowness
transff = array_transff_freqslowness(coords, slim, sstep, fmin, fmax,
File "/Users/runner/work/obspy/obspy/obspy/signal/array_analysis.py", line 835, in array_transff_freqslowness
transff /= transff.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_cross_correlation.py", line 103, in test_correlate
cc = correlate(a, b, 1, demean=False, normalize=False)
File "/Users/runner/work/obspy/obspy/obspy/signal/cross_correlation.py", line 176, in correlate
cc = _xcorr(a, b, shift, method)
File "/Users/runner/work/obspy/obspy/obspy/signal/cross_correlation.py", line 80, in _xcorr_slice
cc = _call_scipy_correlate(a, b, 'full', method)
File "/Users/runner/work/obspy/obspy/obspy/signal/cross_correlation.py", line 45, in _call_scipy_correlate
cc = scipy.signal.correlate(a, b, mode=mode, method=method)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/scipy/signal/signaltools.py", line 239, in correlate
return convolve(in1, _reverse_and_conj(in2), mode, method)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/scipy/signal/signaltools.py", line 1397, in convolve
method = choose_conv_method(volume, kernel, mode=mode)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/scipy/signal/signaltools.py", line 1278, in choose_conv_method
max_value = int(np.abs(volume).max()) * int(np.abs(kernel).max())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_cross_correlation.py", line 446, in test_correlate_stream_template_and_correlation_detector
template = read().filter('highpass', freq=5).normalize()
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2648, in normalize
tr.normalize(norm=norm)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 2228, in normalize
norm = self.max()
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1866, in max
value = self.data.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_cross_correlation.py", line 242, in test_xcorr_pick_correction_images
dt, coeff = xcorr_pick_correction(
File "/Users/runner/work/obspy/obspy/obspy/signal/cross_correlation.py", line 600, in xcorr_pick_correction
ax1 = fig.add_subplot(211)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_trace.py", line 34, in test_simulate
data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 679, in test_clock_locked_percentage
md = MSEEDMetadata([file], starttime=starttime, endtime=endtime,
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 755, in test_continuous_segments_combined
md = MSEEDMetadata(files=[tf1.name, tf2.name])
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 801, in test_continuous_segments_sample_metrics
md = MSEEDMetadata(files=[tf1.name, tf2.name, tf3.name])
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 658, in test_end_gap
md = MSEEDMetadata([file], starttime=starttime, endtime=endtime)
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 714, in test_endtime_on_sample
md = MSEEDMetadata([file], starttime=starttime, endtime=endtime)
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 330, in test_extraction_fixed_header_flags
md = MSEEDMetadata([tf1.name, tf2.name], add_flags=True)
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 262, in test_extraction_header_flags_complex
md = MSEEDMetadata([tf1.name, tf2.name, tf3.name],
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 196, in test_extraction_of_basic_mseed_headers
md = MSEEDMetadata([tf1.name, tf2.name], add_flags=True)
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 170, in test_file_with_no_timing_quality
mseed_metadata = MSEEDMetadata([tf1.name], add_flags=True)
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 554, in test_gap_fire_testing
self.assertTrue(_rapid_gap_testing(5, 17) == 5)
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 549, in _rapid_gap_testing
md = MSEEDMetadata(files=[tf.name],
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 67, in test_gaps_and_overlaps
mseed_metadata = MSEEDMetadata(files=[tf.name])
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 157, in test_gaps_between_multiple_files
mseed_metadata = MSEEDMetadata([tf1.name, tf2.name],
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 483, in test_int_overflow
md = MSEEDMetadata([tf1.name])
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 858, in test_json_serialization
md = MSEEDMetadata(files=[tf.name])
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 423, in test_overall_sample_metrics
md = MSEEDMetadata(files=[tf.name])
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 515, in test_overlap_fire_testing
self.assertTrue(_rapid_overlap_testing(0, 12) == 7.5)
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 510, in _rapid_overlap_testing
md = MSEEDMetadata(files=[tf.name],
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 136, in test_raise_unmatching_ids
MSEEDMetadata([tf1.name, tf2.name])
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 638, in test_random_window
md = MSEEDMetadata([file], starttime=starttime, endtime=endtime)
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 466, in test_root_mean_square
md = MSEEDMetadata([tf1.name])
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 584, in test_start_gap
md = MSEEDMetadata([file], starttime=starttime, endtime=endtime,
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_quality_control.py", line 403, in test_timing_quality
md = MSEEDMetadata(files=[os.path.join(self.path,
File "/Users/runner/work/obspy/obspy/obspy/signal/quality_control.py", line 144, in __init__
st = read(file, starttime=starttime, endtime=endtime_left,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_calibration.py", line 94, in test_relcal_different_overlaps
st1 = read(os.path.join(self.path, 'ref_STS2'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_calibration.py", line 30, in test_relcal_sts2_vs_unknown
st1 = read(os.path.join(self.path, 'ref_STS2'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_calibration.py", line 121, in test_relcal_using_dict
st1 = read(os.path.join(self.path, 'ref_STS2'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_calibration.py", line 75, in test_relcal_using_traces
st1 = read(os.path.join(self.path, 'ref_STS2'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_spectral_estimation.py", line 555, in test_earthquake_models
fig = ppsd.plot(
File "/Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 2038, in plot
self._plot_histogram(fig=fig)
File "/Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 2088, in _plot_histogram
xlim = ax.get_xlim()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 3423, in get_xlim
return tuple(self.viewLim.intervalx)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 782, in viewLim
self._unstale_viewLim()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 778, in _unstale_viewLim
self.autoscale_view(scalex=scalex, scaley=scaley)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 2753, in autoscale_view
handle_single_axis(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 2710, in handle_single_axis
x0, x1 = (x_values.min(), x_values.max())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_spectral_estimation.py", line 578, in test_ppsd_infrasound
st = read(wf)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_spectral_estimation.py", line 490, in test_ppsd_restricted_stacks
fig = ppsd.plot(show=False, **plot_kwargs)
File "/Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 2038, in plot
self._plot_histogram(fig=fig)
File "/Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 2088, in _plot_histogram
xlim = ax.get_xlim()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 3423, in get_xlim
return tuple(self.viewLim.intervalx)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 782, in viewLim
self._unstale_viewLim()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 778, in _unstale_viewLim
self.autoscale_view(scalex=scalex, scaley=scaley)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 2753, in autoscale_view
handle_single_axis(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 2710, in handle_single_axis
x0, x1 = (x_values.min(), x_values.max())
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_spectral_estimation.py", line 809, in test_ppsd_temporal_plot
fig = ppsd.plot_temporal([0.1, 1, 10], filename=None, show=False,
File "/Users/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 1767, in plot_temporal
fig, ax = plt.subplots()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_spectral_estimation.py", line 282, in test_ppsd_w_iris
st = read(file_data_anmo)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_spectral_estimation.py", line 347, in test_ppsd_w_iris_against_obspy_results
st = read(os.path.join(self.path, 'IUANMO.seed'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_tf_misfit.py", line 175, in test_envelope_misfit
atol=np.abs(tfem_11a_ref).max() * tol + atol_min))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_tf_misfit.py", line 112, in test_phase_misfit
atol=np.abs(tfem_11p_ref).max() * tol + atol_min))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_tf_misfit.py", line 302, in test_plot_tf_gofs
plot_tf_gofs(self.st1p, self.st2, dt=self.dt, fmin=self.fmin,
File "/Users/runner/work/obspy/obspy/obspy/signal/tf_misfit.py", line 1278, in plot_tf_gofs
img_tfeg = ax_tfeg.pcolormesh(x, y, _tfeg[itr], cmap=cmap)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/__init__.py", line 1361, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_axes.py", line 6201, in pcolormesh
collection._scale_norm(norm, vmin, vmax)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/cm.py", line 291, in _scale_norm
self.autoscale_None()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/cm.py", line 476, in autoscale_None
self.norm.autoscale_None(self._A)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/colors.py", line 1230, in autoscale_None
self.vmin = A.min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/ma/core.py", line 5700, in min
result = self.filled(fill_value).min(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_tf_misfit.py", line 294, in test_plot_tf_misfits
plot_tf_misfits(self.st1p, self.st2, dt=self.dt,
File "/Users/runner/work/obspy/obspy/obspy/signal/tf_misfit.py", line 1018, in plot_tf_misfits
img_tfem = ax_tfem.pcolormesh(x, y, _tfem[itr], cmap=cmap)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/__init__.py", line 1361, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_axes.py", line 6201, in pcolormesh
collection._scale_norm(norm, vmin, vmax)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/cm.py", line 291, in _scale_norm
self.autoscale_None()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/cm.py", line 476, in autoscale_None
self.norm.autoscale_None(self._A)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/colors.py", line 1230, in autoscale_None
self.vmin = A.min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/ma/core.py", line 5700, in min
result = self.filled(fill_value).min(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_tf_misfit.py", line 287, in test_plot_tfr
plot_tfr(sig, dt=dt, show=False)
File "/Users/runner/work/obspy/obspy/obspy/signal/tf_misfit.py", line 1497, in plot_tfr
img_tfr = ax_tfr.pcolormesh(x, y, _tfr[itr], cmap=cmap)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/__init__.py", line 1361, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_axes.py", line 6201, in pcolormesh
collection._scale_norm(norm, vmin, vmax)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/cm.py", line 291, in _scale_norm
self.autoscale_None()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/cm.py", line 476, in autoscale_None
self.norm.autoscale_None(self._A)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/colors.py", line 1230, in autoscale_None
self.vmin = A.min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/ma/core.py", line 5700, in min
result = self.filled(fill_value).min(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_trigger.py", line 106, in test_ar_pick
ptime, stime = ar_pick(data[0], data[1], data[2], samp_rate, f1, f2,
File "/Users/runner/work/obspy/obspy/obspy/signal/trigger.py", line 489, in ar_pick
data_max = np.abs(a).max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_trigger.py", line 133, in test_ar_pick_low_amplitude
d /= 10.0 * d.max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_trigger.py", line 198, in test_coincidence_trigger
res = coincidence_trigger("recstalta", 3.5, 1, st.copy(), 3, sta=0.5,
File "/Users/runner/work/obspy/obspy/obspy/signal/trigger.py", line 695, in coincidence_trigger
cft_peak = tr.data[on:off].max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_trigger.py", line 463, in test_coincidence_trigger_with_similarity_checking
trig = coincidence_trigger(
File "/Users/runner/work/obspy/obspy/obspy/signal/trigger.py", line 695, in coincidence_trigger
cft_peak = tr.data[on:off].max()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/signal/tests/test_stream.py", line 146, in test_simulate
st1.simulate(paz_remove=paz_sts2, paz_simulate=paz_le3d1s)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 2129, in simulate
tr.simulate(paz_remove=paz_remove, paz_simulate=paz_simulate,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1475, in simulate
self.data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal.cross_correlation.templates_max_similarity
File "/Users/runner/work/obspy/obspy/obspy/signal/cross_correlation.py", line 639, in templates_max_similarity
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/signal/cross_correlation.py", line 667, in obspy.signal.cross_correlation.templates_max_similarity
Failed example:
for tr in templ:
tr.data += np.random.random(len(tr)) * tr.data.max() * 0.5
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.cross_correlation.templates_max_similarity[6]>", line 2, in <module>
tr.data += np.random.random(len(tr)) * tr.data.max() * 0.5
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/signal/cross_correlation.py", line 669, in obspy.signal.cross_correlation.templates_max_similarity
Failed example:
print(templates_max_similarity(st, t, [templ]))
Expected:
0.922536411468
Got:
1.0
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal._sosfilt._sosfilt
File "/Users/runner/work/obspy/obspy/obspy/signal/_sosfilt.py", line 401, in _sosfilt
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/signal/_sosfilt.py", line 466, in obspy.signal._sosfilt._sosfilt
Failed example:
plt.plot(y_tf, 'r', label='TF') # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal._sosfilt._sosfilt[10]>", line 1, in <module>
plt.plot(y_tf, 'r', label='TF') # doctest: +ELLIPSIS
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 3019, in plot
return gca().plot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 2532, in gca
return gcf().gca(**kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 1525, in gca
return self.add_subplot(1, 1, 1, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/signal/_sosfilt.py", line 468, in obspy.signal._sosfilt._sosfilt
Failed example:
plt.plot(y_sos, 'k', label='SOS') # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal._sosfilt._sosfilt[11]>", line 1, in <module>
plt.plot(y_sos, 'k', label='SOS') # doctest: +ELLIPSIS
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 3019, in plot
return gca().plot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 2532, in gca
return gcf().gca(**kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 1525, in gca
return self.add_subplot(1, 1, 1, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/signal/_sosfilt.py", line 470, in obspy.signal._sosfilt._sosfilt
Failed example:
plt.legend(loc='best') # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal._sosfilt._sosfilt[12]>", line 1, in <module>
plt.legend(loc='best') # doctest: +ELLIPSIS
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 2917, in legend
return gca().legend(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 2532, in gca
return gcf().gca(**kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 1525, in gca
return self.add_subplot(1, 1, 1, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal.tf_misfit.plot_tfr
File "/Users/runner/work/obspy/obspy/obspy/signal/tf_misfit.py", line 1388, in plot_tfr
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/signal/tf_misfit.py", line 1429, in obspy.signal.tf_misfit.plot_tfr
Failed example:
tr = read("https://examples.obspy.org/a02i.2008.240.mseed")[0]
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.tf_misfit.plot_tfr[1]>", line 1, in <module>
tr = read("https://examples.obspy.org/a02i.2008.240.mseed")[0]
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 679, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/Users/runner/work/obspy/obspy/obspy/core/util/base.py", line 458, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 323, in _read_mseed
if (isdigit(bfr_np[offset:offset + 6]) is False) or \
File "/Users/runner/work/obspy/obspy/obspy/io/mseed/core.py", line 319, in isdigit
return True if (x - min_ascii).max() <= 9 else False
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: int() argument must be a string, a bytes-like object or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal.__init__
File "/Users/runner/work/obspy/obspy/obspy/signal/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/signal/__init__.py", line 93, in obspy.signal.__init__
Failed example:
for tr in st:
df = tr.stats.sampling_rate
tr.data = simulate_seismometer(tr.data, df, paz_remove=sts2,
paz_simulate=inst2hz,
water_level=60.0)
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.__init__[13]>", line 3, in <module>
tr.data = simulate_seismometer(tr.data, df, paz_remove=sts2,
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/signal/__init__.py", line 103, in obspy.signal.__init__
Failed example:
tr.simulate(paz_remove=sts2, paz_simulate=inst2hz, water_level=60.0)
# doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.signal.__init__[15]>", line 1, in <module>
tr.simulate(paz_remove=sts2, paz_simulate=inst2hz, water_level=60.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/Users/runner/work/obspy/obspy/obspy/core/trace.py", line 1475, in simulate
self.data = simulate_seismometer(
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 583, in simulate_seismometer
invert_spectrum(freq_response, water_level)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 409, in invert_spectrum
swamp = waterlevel(spec, wlev)
File "/Users/runner/work/obspy/obspy/obspy/signal/invsim.py", line 395, in waterlevel
return np.abs(spec).max() * 10.0 ** (-wlev / 20.0)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/taup/tests/test_plotting.py", line 100, in test_cartesian_many_phases
self.model.get_ray_paths(500, 140).plot_rays(plot_type="cartesian",
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 434, in plot_rays
fig, ax = plt.subplots()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/taup/tests/test_plotting.py", line 114, in test_cartesian_many_phases_buried_station
arrivals.plot_rays(plot_type="cartesian", plot_all=True,
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 434, in plot_rays
fig, ax = plt.subplots()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/taup/tests/test_plotting.py", line 126, in test_cartesian_many_phases_one_way
arrivals.plot_rays(plot_type="cartesian", plot_all=False,
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 434, in plot_rays
fig, ax = plt.subplots()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/taup/tests/test_plotting.py", line 157, in test_plot_travel_times
self.model.get_ray_paths(10, 100,
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 207, in plot_times
fig, ax = plt.subplots()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/taup/tests/test_plotting.py", line 176, in test_plot_travel_times_convenience
plot_travel_times(10, phase_list=("P", "S", "SKS", "PP"),
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 951, in plot_travel_times
ax = arrivals.plot_times(phase_list=phase_list, show=False,
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 207, in plot_times
fig, ax = plt.subplots()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/taup/tests/test_plotting.py", line 206, in test_ray_plot_mismatching_axes_type_warnings
fig, ax = plt.subplots()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/taup/tests/test_plotting.py", line 83, in test_spherical_diff_phases
self.model.get_ray_paths(
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 340, in plot_rays
fig, ax = plt.subplots(subplot_kw=dict(projection='polar'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/taup/tests/test_plotting.py", line 34, in test_spherical_many_phases
self.model.get_ray_paths(500,
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 340, in plot_rays
fig, ax = plt.subplots(subplot_kw=dict(projection='polar'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/taup/tests/test_plotting.py", line 49, in test_spherical_many_phases_buried_station
arrivals.plot_rays(plot_type="spherical",
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 340, in plot_rays
fig, ax = plt.subplots(subplot_kw=dict(projection='polar'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/taup/tests/test_plotting.py", line 60, in test_spherical_many_phases_one_way
self.model.get_ray_paths(500,
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 340, in plot_rays
fig, ax = plt.subplots(subplot_kw=dict(projection='polar'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/work/obspy/obspy/obspy/taup/tests/test_plotting.py", line 72, in test_spherical_more_then_360_degrees
self.model.get_ray_paths(0, 10, phase_list=["PPPPPP"]).plot_rays(
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 340, in plot_rays
fig, ax = plt.subplots(subplot_kw=dict(projection='polar'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.taup.__init__
File "/Users/runner/work/obspy/obspy/obspy/taup/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/taup/__init__.py", line 147, in obspy.taup.__init__
Failed example:
ax = arrivals.plot_rays()
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.taup.__init__[14]>", line 1, in <module>
ax = arrivals.plot_rays()
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 340, in plot_rays
fig, ax = plt.subplots(subplot_kw=dict(projection='polar'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/taup/__init__.py", line 162, in obspy.taup.__init__
Failed example:
ax = arrivals.plot_rays()
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.taup.__init__[16]>", line 1, in <module>
ax = arrivals.plot_rays()
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 340, in plot_rays
fig, ax = plt.subplots(subplot_kw=dict(projection='polar'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/taup/__init__.py", line 178, in obspy.taup.__init__
Failed example:
ax = arrivals.plot_rays(plot_type="cartesian")
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.taup.__init__[18]>", line 1, in <module>
ax = arrivals.plot_rays(plot_type="cartesian")
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 434, in plot_rays
fig, ax = plt.subplots()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/taup/__init__.py", line 194, in obspy.taup.__init__
Failed example:
ax = arrivals.plot_times()
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.taup.__init__[20]>", line 1, in <module>
ax = arrivals.plot_times()
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 207, in plot_times
fig, ax = plt.subplots()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/taup/__init__.py", line 212, in obspy.taup.__init__
Failed example:
fig, ax = plt.subplots(figsize=(9, 9))
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.taup.__init__[23]>", line 1, in <module>
fig, ax = plt.subplots(figsize=(9, 9))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/taup/__init__.py", line 213, in obspy.taup.__init__
Failed example:
ax = plot_travel_times(source_depth=10, phase_list=["P", "S", "PP"],
ax=ax, fig=fig, verbose=True)
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.taup.__init__[24]>", line 2, in <module>
ax=ax, fig=fig, verbose=True)
NameError: name 'ax' is not defined
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/taup/__init__.py", line 237, in obspy.taup.__init__
Failed example:
fig, ax = plt.subplots(subplot_kw=dict(projection='polar'))
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.taup.__init__[27]>", line 1, in <module>
fig, ax = plt.subplots(subplot_kw=dict(projection='polar'))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/taup/__init__.py", line 238, in obspy.taup.__init__
Failed example:
ax = plot_ray_paths(source_depth=100, ax=ax, fig=fig, verbose=True)
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.taup.__init__[28]>", line 1, in <module>
ax = plot_ray_paths(source_depth=100, ax=ax, fig=fig, verbose=True)
NameError: name 'ax' is not defined
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.taup.tau.plot_ray_paths
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 983, in plot_ray_paths
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 1033, in obspy.taup.tau.plot_ray_paths
Failed example:
fig, ax = plt.subplots(figsize=(10, 10), subplot_kw=dict(polar=True))
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.taup.tau.plot_ray_paths[2]>", line 1, in <module>
fig, ax = plt.subplots(figsize=(10, 10), subplot_kw=dict(polar=True))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 1034, in obspy.taup.tau.plot_ray_paths
Failed example:
ax = plot_ray_paths(source_depth=10, ax=ax, fig=fig, legend=True,
phase_list=['P', 'S', 'PP'], verbose=True)
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.taup.tau.plot_ray_paths[3]>", line 1, in <module>
ax = plot_ray_paths(source_depth=10, ax=ax, fig=fig, legend=True,
NameError: name 'ax' is not defined
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.taup.tau.plot_travel_times
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 885, in plot_travel_times
----------------------------------------------------------------------
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 928, in obspy.taup.tau.plot_travel_times
Failed example:
ax = plot_travel_times(source_depth=10, phase_list=['P', 'S', 'PP'])
Exception raised:
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.taup.tau.plot_travel_times[1]>", line 1, in <module>
ax = plot_travel_times(source_depth=10, phase_list=['P', 'S', 'PP'])
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 951, in plot_travel_times
ax = arrivals.plot_times(phase_list=phase_list, show=False,
File "/Users/runner/work/obspy/obspy/obspy/taup/tau.py", line 207, in plot_times
fig, ax = plt.subplots()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/pyplot.py", line 1440, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 471, in wrapper
return func(*args, **kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 911, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 307, in subplots
axarr[row, col] = figure.add_subplot(
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/figure.py", line 784, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 38, in __init__
self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 72, in set_subplotspec
self._set_position(subplotspec.get_position(self.figure))
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
return func(*inner_args, **inner_kwargs)
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/matplotlib/gridspec.py", line 743, in get_position
fig_bottom = fig_bottoms[rows].min()
File "/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/numpy/core/_methods.py", line 44, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'

Skipped tests (42)

Submodule Test Skip message
core test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) no or invalid basemap installation
core test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) no or invalid basemap installation
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) no or invalid basemap installation
core test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
geodetics test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
geodetics test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
io.nlloc test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) pyproj not installed
io.shapefile test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_catalog_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
signal test_schema_validation (obspy.signal.tests.test_quality_control.QualityControlTestCase) Test requires the jsonschema module
signal test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) matplotlib >= 3 shifts labels
taup test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) test needs geographiclib >= 1.34
taup test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) Module geographiclib is not installed
taup test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34
taup test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34

Slowest tests (20)

Runtime Test
11.060s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
6.832s __init__ (obspy.taup)
5.772s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
5.606s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
4.664s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
4.553s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
4.366s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.176s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.522s test_surface_wave_ttimes (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.385s __init__ (obspy.taup.tau.TauPyModel)
2.111s read (obspy.core.stream)
2.041s test_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.030s test_kennet_ak135_ttime_tables_p_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
1.896s test_kennet_ak135_ttime_tables_p_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
1.878s test_ak135 (obspy.taup.tests.test_tau.TauPyModelTestCase)
1.797s test_kennet_ak135_ttime_tables_s_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
1.791s test_kennet_ak135_ttime_tables_s_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
1.740s test_infinite_loop (obspy.io.mseed.tests.test_mseed_special_issues.MSEEDSpecialIssueTestCase)
1.555s test_cartesian_many_phases_one_way (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
1.495s test_spherical_many_phases_one_way (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)

Chuck Norris fact

Chuck Norris can make a class that is both abstract and final.