#134185 Report by node gh-actions covering 2061 tests from 59 modules resulted into 21 errors
Report
- ObsPy version
- 1.4.0.post0+137.gee4922a767
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/3287
- Report file
- JSON document
- Total runtime
- 348.8 sec
- Report date/time
- April 4, 2023, 8:14 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- gh-actions
- Processor
- x86_64
- Python Compiler
- GCC 11.3.0
- Python Implementation
- CPython
- Python Version
- 3.8.16
- Release
- 5.15.0-1034-azure
- System
- Linux
- Version
- #41-Ubuntu SMP Fri Feb 10 19:59:45 UTC 2023
Dependencies
- cartopy
- 0.21.1
- decorator
- 5.1.1
- flake8
- ---
- geographiclib
- 2.0
- lxml
- 4.9.2
- matplotlib
- 3.7.1
- numpy
- 1.24.2
- obspy
- 1.4.0.post0+137.gee4922a767
- pyproj
- 3.5.0
- pytest
- 7.2.2
- pytest-json-report
- 1.5.0
- requests
- 2.28.2
- scipy
- 1.10.1
- setuptools
- 67.6.1
- shapefile
- ---
- sqlalchemy
- 1.4.46
Modules (59)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | - | 8 | 8 | - | 0.04s | - |
obspy.clients.filesystem | - | 29 | 29 | - | 3.45s | - |
obspy.clients.iris | Not tested | - | - | - | - | - |
obspy.clients.neic | Not tested | - | - | - | - | - |
obspy.clients.nrl | - | 5 | 5 | - | 0.35s | - |
obspy.clients.seedlink | - | 2 | 2 | - | 0.01s | - |
obspy.clients.syngine | Not tested | - | - | - | - | - |
obspy.core | - | 598 | 597 | 1 | 47.61s | - |
obspy.core.event | - | 18 | 18 | - | 0.27s | - |
obspy.core.inventory | - | 23 | 23 | - | 1.73s | - |
obspy.core.util | - | 23 | 20 | 3 | 0.18s | - |
obspy.geodetics | - | 21 | 20 | 1 | 100.82s | - |
obspy.imaging | - | 92 | 91 | 1 | 32.88s | - |
obspy.io.ah | - | 11 | 11 | - | 0.16s | - |
obspy.io.alsep | - | 16 | 16 | - | 2.47s | - |
obspy.io.arclink | - | 5 | 5 | - | 2.68s | - |
obspy.io.ascii | - | 28 | 26 | 2 | 0.20s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.10s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.03s | - |
obspy.io.css | - | 10 | 10 | - | 0.25s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.04s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.15s | - |
obspy.io.gcf | - | 14 | 13 | 1 | 0.29s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.74s | - |
obspy.io.hypodd | - | 9 | 9 | - | 0.23s | - |
obspy.io.iaspei | - | 7 | 7 | - | 1.07s | - |
obspy.io.json | - | 4 | 4 | - | 0.05s | - |
obspy.io.kinemetrics | - | 8 | 8 | - | 0.82s | - |
obspy.io.kml | - | 3 | 3 | - | 0.17s | - |
obspy.io.mseed | - | 127 | 127 | - | 2.13s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.57s | - |
obspy.io.nied | - | 11 | 11 | - | 0.10s | - |
obspy.io.nlloc | - | 14 | 14 | - | 0.44s | - |
obspy.io.nordic | 21 | 61 | 59 | 2 | 1.31s | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
obspy.io.pdas | - | 3 | 3 | - | 0.02s | - |
obspy.io.pde | - | 13 | 12 | 1 | 1.43s | - |
obspy.io.quakeml | - | 38 | 37 | 1 | 0.35s | - |
obspy.io.reftek | - | 21 | 21 | - | 0.28s | - |
obspy.io.rg16 | - | 38 | 38 | - | 0.24s | - |
obspy.io.sac | - | 99 | 99 | - | 0.91s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.11s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.02s | - |
obspy.io.segy | - | 56 | 56 | - | 0.57s | - |
obspy.io.seisan | - | 8 | 7 | 1 | 0.12s | - |
obspy.io.seiscomp | - | 49 | 49 | - | 1.94s | - |
obspy.io.sh | - | 26 | 24 | 2 | 0.61s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.81s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.12s | - |
obspy.io.stationxml | - | 24 | 24 | - | 0.58s | - |
obspy.io.wav | - | 8 | 7 | 1 | 0.05s | - |
obspy.io.win | - | 2 | 2 | - | 0.15s | - |
obspy.io.xseed | - | 83 | 83 | - | 14.53s | - |
obspy.io.y | - | 5 | 4 | 1 | 0.02s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.29s | - |
obspy.realtime | - | 22 | 22 | - | 0.65s | - |
obspy.scripts | - | 2 | 2 | - | 0.02s | - |
obspy.signal | - | 203 | 201 | 2 | 35.46s | - |
obspy.taup | - | 76 | 76 | - | 62.11s | - |
Summary | 21 | 2061 | 2041 | 20 | 348.84s | 21 |
Tracebacks (21)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 63, in test_read_write read_cat += read_nordic(sfile) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 162, in test_write_read_quakeml cat = read_nordic(testing_path) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 881, in _read_picks new_event = _read_picks_nordic_new(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1233, in _read_picks_nordic_new _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 334, in test_read_extra_header test_event = read_nordic(testing_path)[0] File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 376, in test_reading_string_io cat = read_events(file_object) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 403, in _read_from_plugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file <_io.BytesIO object at 0x7f378ce43720> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 391, in test_reading_bytes_io cat = read_events(file_object) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 631, in _generic_reader generic = callback_func(fh.name, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 455, in test_read_wavename cat, wavefiles = read_nordic(testing_path, return_wavnames=True) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 490, in test_read_event event = read_nordic(testing_path)[0] File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 502, in test_read_event_new event = read_nordic(testing_path)[0] File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 881, in _read_picks new_event = _read_picks_nordic_new(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1233, in _read_picks_nordic_new _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 533, in test_read_many_events catalog = read_nordic(testing_path) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 577, in test_write_plugin cat_back = read_events(tf.name) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 596, in test_more_than_three_mags cat_back = read_events(tf.name) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 629, in test_read_moment event = read_nordic(testing_path)[0] File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 706, in test_distance_conversion cat = read_events(testing_path) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 726, in test_large_negative_longitude event_back = read_events(tf.name) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 744, in test_write_preferred_origin event_back = read_events(tf.name) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 854, in test_read_write_over_day event_back = read_events(tf.name)[0] File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 890, in test_read_bad_covariance cat = read_events(testdata['sfile_bad_covariance']) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 500, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 899, in test_read_high_accuracy cat = read_events(testdata['sfile_highaccuracy']) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 1132, in test_read_uncert_ellipse cat = read_events(testdata['sfile_highaccuracy']) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 1148, in test_read_resolve_seedid event = read_nordic(testing_path, default_seedid=seedid)[0] File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 884, in _read_picks new_event = _read_picks_nordic_old(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1072, in _read_picks_nordic_old _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/tests/test_nordic.py", line 1161, in test_read_resolve_seedid_new_format event = read_nordic(testing_path, default_seedid=seedid)[0] File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 491, in read_nordic catalog, wav_names = _extract_event( File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 544, in _extract_event new_event = _read_picks(tagged_lines=tagged_lines, new_event=new_event, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 881, in _read_picks new_event = _read_picks_nordic_new(pickline, new_event, header, evtime, File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py", line 1233, in _read_picks_nordic_new _amplitude.type = pick.phase_hint.removeprefix('I') # 'AML' AttributeError: 'str' object has no attribute 'removeprefix'
Skipped tests (20)
Submodule | Test | Skip message |
---|---|---|
core | core/stream.py::obspy.core.stream._is_pickle | Skipped: all tests skipped by +SKIP option |
core.util | core/util/misc.py::obspy.core.util.misc.CatchOutput | Skipped: all tests skipped by +SKIP option |
core.util | core/util/misc.py::obspy.core.util.misc.SuppressOutput | Skipped: all tests skipped by +SKIP option |
core.util | core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory | Skipped: all tests skipped by +SKIP option |
geodetics | geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_bug150 | Skipped: Geographiclib installed, not using calc_vincenty_inverse |
imaging | imaging/tests/test_mopad_script.py::TestMopad::test_script_plot | Skipped: Currently broken until further review. |
io.ascii | io/ascii/core.py::obspy.io.ascii.core._is_slist | Skipped: all tests skipped by +SKIP option |
io.ascii | io/ascii/core.py::obspy.io.ascii.core._is_tspair | Skipped: all tests skipped by +SKIP option |
io.gcf | io/gcf/core.py::obspy.io.gcf.core._write_gcf | Skipped: all tests skipped by +SKIP option |
io.nordic | io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor | Skipped: all tests skipped by +SKIP option |
io.nordic | io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag | Skipped: all tests skipped by +SKIP option |
io.pde | io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr | Skipped: all tests skipped by +SKIP option |
io.quakeml | io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml | Skipped: all tests skipped by +SKIP option |
io.seisan | io/seisan/core.py::obspy.io.seisan.core._is_seisan | Skipped: all tests skipped by +SKIP option |
io.sh | io/sh/core.py::obspy.io.sh.core._is_asc | Skipped: all tests skipped by +SKIP option |
io.sh | io/sh/core.py::obspy.io.sh.core._is_q | Skipped: all tests skipped by +SKIP option |
io.wav | io/wav/core.py::obspy.io.wav.core._is_wav | Skipped: all tests skipped by +SKIP option |
io.y | io/y/core.py::obspy.io.y.core._is_y | Skipped: all tests skipped by +SKIP option |
signal | signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata | Skipped: all tests skipped by +SKIP option |
signal | signal/tests/test_quality_control.py::TestQualityControl::test_schema_validation | Skipped: Test requires the jsonschema module |
Slowest tests (20)
Warnings (1)
Stage | Filename | Category | Message |
---|---|---|---|
runtest | /usr/share/miniconda3/envs/test/lib/python3.8/site-packages/obspy/io/nordic/core.py:887 | UserWarning | Cannot check whether Nordic format is Old or New, is this really a Nordic file? |