#156141 Report by node cursor covering 1969 tests from 59 modules resulted into 143 errors

Report

ObsPy version
0.0.0.dev+0.g04ad64a24d
GitHub Pull Request
-
Report file
JSON document
Total runtime
65.7 sec
Report date/time
April 9, 2026, 12:34 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
cursor
Processor
x86_64
Python Compiler
GCC 13.3.0
Python Implementation
CPython
Python Version
3.13.7
Release
6.12.58+
System
Linux
Version
#1 SMP PREEMPT_DYNAMIC Sat Jan 17 06:53:48 UTC 2026

Dependencies

cartopy
---
decorator
5.2.1
flake8
7.3.0
geographiclib
---
lxml
6.0.2
matplotlib
3.10.8
numpy
2.4.4
obspy
0.0.0.dev+0.g04ad64a24d
pyproj
3.7.2
pytest
9.0.3
pytest-json-report
1.5.0
requests
2.33.1
scipy
1.17.1
setuptools
81.0.0
shapefile
---
sqlalchemy
2.0.49

Modules (59)

Module Errors / Failures Tracebacks
obspy.clients.earthworm Not tested -
obspy.clients.fdsn - -
obspy.clients.filesystem 9 1 2 3 4 5 6 7 8 9
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.nrl - -
obspy.clients.seedlink Not tested -
obspy.clients.syngine Not tested -
obspy.core 31 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
obspy.core.event - -
obspy.core.inventory - -
obspy.core.util 1 41
obspy.geodetics - -
obspy.imaging 16 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
obspy.io.ah - -
obspy.io.alsep 7 58 59 60 61 62 63 64
obspy.io.arclink - -
obspy.io.ascii 6 65 66 67 68 69 70
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.dmx - -
obspy.io.focmec - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.hypodd - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed 4 71 72 73 74
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek 19 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
obspy.io.rg16 - -
obspy.io.sac 12 94 95 96 97 98 99 100 101 102 103 104 105
obspy.io.scardec 3 106 107 108
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime 13 109 110 111 112 113 114 115 116 117 118 119 120 121
obspy.scripts - -
obspy.signal 22 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
obspy.taup Not tested -
Summary 143 143

Tracebacks (143)

E sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bfa6270; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bfd2710; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bfd2990; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd6d6e0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd6d940; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd85d90; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bfa6270; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bfd2710; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bfd2990; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd6d6e0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd6d940; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd85d90; endtime>)?
During handling of the above exception, another exception occurred:
E ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bfa6270; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bfd2710; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bfd2990; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd6d6e0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd6d940; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd85d90; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bfa6270; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bfd2710; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bfd2990; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd6d6e0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd6d940; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd85d90; endtime>)?
E sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bd76a50; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2be52a80; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2be52b70; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd950f0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd95630; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf34563860; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bd76a50; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2be52a80; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2be52b70; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd950f0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd95630; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf34563860; endtime>)?
During handling of the above exception, another exception occurred:
E ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bd76a50; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2be52a80; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2be52b70; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd950f0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd95630; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf34563860; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bd76a50; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2be52a80; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2be52b70; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd950f0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bd95630; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf34563860; endtime>)?
E sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bff6ba0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5270; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb47d0; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5310; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb53b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5450; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bff6ba0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5270; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb47d0; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5310; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb53b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5450; endtime>)?
During handling of the above exception, another exception occurred:
E ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bff6ba0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5270; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb47d0; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5310; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb53b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5450; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bff6ba0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5270; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb47d0; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5310; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb53b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5450; endtime>)?
E sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bdab9d0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5950; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5a90; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5bd0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6350; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb63f0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bdab9d0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5950; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5a90; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5bd0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6350; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb63f0; endtime>)?
During handling of the above exception, another exception occurred:
E ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bdab9d0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5950; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5a90; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5bd0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6350; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb63f0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bdab9d0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5950; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5a90; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5bd0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6350; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb63f0; endtime>)?
E sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bdaba70; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6ad0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6990; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6c10; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7390; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7570; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bdaba70; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6ad0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6990; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6c10; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7390; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7570; endtime>)?
During handling of the above exception, another exception occurred:
E ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bdaba70; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6ad0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6990; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6c10; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7390; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7570; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bdaba70; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6ad0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6990; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6c10; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7390; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7570; endtime>)?
E sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bdb7b10; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7bb0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7c50; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb14410; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb144b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb14550; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bdb7b10; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7bb0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7c50; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb14410; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb144b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb14550; endtime>)?
During handling of the above exception, another exception occurred:
E ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bdb7b10; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7bb0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7c50; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb14410; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb144b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb14550; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bdb7b10; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7bb0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb7c50; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb14410; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb144b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb14550; endtime>)?
E sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bdb5ef0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6350; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5b30; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5e50; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5d10; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5c70; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bdb5ef0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6350; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5b30; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5e50; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5d10; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5c70; endtime>)?
During handling of the above exception, another exception occurred:
E ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bdb5ef0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6350; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5b30; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5e50; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5d10; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5c70; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bdb5ef0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6350; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5b30; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5e50; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5d10; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb5c70; endtime>)?
E sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bb16210; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15f90; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15590; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15ef0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15db0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15d10; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bb16210; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15f90; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15590; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15ef0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15db0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15d10; endtime>)?
During handling of the above exception, another exception occurred:
E ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bb16210; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15f90; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15590; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15ef0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15db0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15d10; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bb16210; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15f90; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15590; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15ef0; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15db0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bb15d10; endtime>)?
055 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
056
057 * :meth:`~Client.get_availability_extent()`:
058 Returns a list of (network, station, location, channel, earliest, latest)
059 tuples that represent the full extent of available data. This example
060 retrieves from the very small obspy test tsindex database a list of all
061 available ("BHZ") channel extents from the Global Seismograph Network
062 ("IU") for all times.
063
064 >>> extents = client.get_availability_extent(network="IU", channel="BHZ")
UNEXPECTED EXCEPTION: ValueError('Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bdb54f0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6cb0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6b70; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6f30; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6c10; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb65d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bdb54f0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6cb0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6b70; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6f30; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6c10; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb65d0; endtime>)?')
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/clients/filesystem/tsindex.py", line 1727, in _fetch_summary_rows
sa.select([
~~~~~~~~~^^
sa.literal(a).label("network"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<8 lines>...
sa.literal('5000-00-00T00:00:00').label("endtime")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
])
^^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select
return Select(*entities)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__
coercions.expect(
~~~~~~~~~~~~~~~~^
roles.ColumnsClauseRole, ent, apply_propagate_attrs=self
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect
resolved = impl._literal_coercion(
element, argname=argname, **kw
)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion
self._raise_for_expected(element, argname)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected
return super()._raise_for_expected(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
element, argname=argname, resolved=resolved, advice=advice, **kw
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected
super()._raise_for_expected(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
element,
^^^^^^^^
...<5 lines>...
**kw,
^^^^^
)
^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected
raise exc.ArgumentError(msg, code=code) from err
sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bdb54f0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6cb0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6b70; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6f30; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6c10; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb65d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bdb54f0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6cb0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6b70; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6f30; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6c10; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb65d0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/doctest.py", line 1398, in __run
exec(compile(example.source, filename, "single",
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
compileflags, True), test.globs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<doctest obspy.clients.filesystem.tsindex[6]>", line 1, in <module>
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/clients/filesystem/tsindex.py", line 358, in get_availability_extent
summary_rows = self._get_summary_rows(network, station,
location, channel,
starttime, endtime)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/clients/filesystem/tsindex.py", line 1744, in _fetch_summary_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fdf2bdb54f0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6cb0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6b70; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6f30; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6c10; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb65d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fdf2bdb54f0; network>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6cb0; station>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6b70; location>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6f30; channel>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb6c10; starttime>, <sqlalchemy.sql.elements.Label at 0x7fdf2bdb65d0; endtime>)?
/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/clients/filesystem/tsindex.py:64: UnexpectedException
3353 >>> s = ['', '', '3 Trace(s) in Stream:',
3354 ... 'IU.GRFO..HH2 | 2016-01-07T00:00:00.008300Z - '
3355 ... '2016-01-07T00:00:30.098300Z | 10.0 Hz, 301 samples',
3356 ... 'XX.GRFO..HH1 | 2016-01-07T00:00:02.668393Z - '
3357 ... '2016-01-07T00:00:09.518393Z | 100.0 Hz, 686 samples',
3358 ... 'IU.ABCD..EH2 | 2016-01-07T00:00:09.528393Z - '
3359 ... '2016-01-07T00:00:50.378393Z | 100.0 Hz, 4086 samples',
3360 ... '', '']
3361 >>> s = os.linesep.join(s)
3362 >>> st = Stream._dummy_stream_from_string(s)
UNEXPECTED EXCEPTION: AttributeError('`np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.')
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/doctest.py", line 1398, in __run
exec(compile(example.source, filename, "single",
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
compileflags, True), test.globs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<doctest obspy.core.stream.Stream._dummy_stream_from_string[3]>", line 1, in <module>
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/stream.py", line 3382, in _dummy_stream_from_string
tr.data = np.ones(npts, dtype=np.float_)
^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/numpy/__init__.py", line 778, in __getattr__
raise AttributeError(
...<3 lines>...
)
AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/stream.py:3362: UnexpectedException
2357
2358 .. rubric:: Example
2359
2360 >>> st = read()
2361 >>> print(st) # doctest: +ELLIPSIS
2362 3 Trace(s) in Stream:
2363 BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2364 BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2365 BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2366 >>> st.resample(10.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: AttributeError("'numpy.ndarray' object has no attribute 'newbyteorder'")
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/doctest.py", line 1398, in __run
exec(compile(example.source, filename, "single",
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
compileflags, True), test.globs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<doctest obspy.core.stream.Stream.resample[2]>", line 1, in <module>
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/stream.py", line 2375, in resample
tr.resample(sampling_rate, window=window,
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
no_filter=no_filter, strict_length=strict_length)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/trace.py", line 1726, in resample
x = rfft(self.data.newbyteorder("="))
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/stream.py:2366: UnexpectedException
E TypeError: 'NoneType' object is not callable
During handling of the above exception, another exception occurred:
E TypeError: 'NoneType' object is not callable
E AttributeError: 'numpy.ndarray' object has no attribute 'ptp'
E AttributeError: 'numpy.ndarray' object has no attribute 'ptp'
E AttributeError: 'numpy.ndarray' object has no attribute 'ptp'
E TypeError: 'NoneType' object is not callable
During handling of the above exception, another exception occurred:
E TypeError: 'NoneType' object is not callable
E TypeError: 'NoneType' object is not callable
During handling of the above exception, another exception occurred:
E TypeError: 'NoneType' object is not callable
E AttributeError: module 'scipy.integrate' has no attribute 'cumtrapz'
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: module 'scipy.integrate' has no attribute 'cumtrapz'
E AttributeError: module 'scipy.integrate' has no attribute 'cumtrapz'
E AttributeError: module 'scipy.integrate' has no attribute 'cumtrapz'
E AttributeError: module 'scipy.signal' has no attribute 'hann'
The above exception was the direct cause of the following exception:
E ImportError: module 'scipy.signal' has no attribute 'hann'
E AttributeError: module 'scipy.signal' has no attribute 'hann'
The above exception was the direct cause of the following exception:
E ImportError: module 'scipy.signal' has no attribute 'hann'
E AttributeError: `np.alltrue` was removed in the NumPy 2.0 release. Use `np.all` instead.
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: module 'scipy.signal' has no attribute 'hann'
The above exception was the direct cause of the following exception:
E ImportError: module 'scipy.signal' has no attribute 'hann'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: `np.string_` was removed in the NumPy 2.0 release. Use `np.bytes_` instead.
E AttributeError: `np.NaN` was removed in the NumPy 2.0 release. Use `np.nan` instead.
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AssertionError: assert 2 == 0
+ where 2 = len([('ALSEP_WTH', '/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/gcf/tests/data/20160603_1955...P_WTH', '/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/gcf/tests/data/20160603_1910n.gcf')])
During handling of the above exception, another exception occurred:
E Exception: False positives for isFormat:
	Format ALSEP_WTH: /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/gcf/tests/data/20160603_1955n.gcf
	Format ALSEP_WTH: /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/gcf/tests/data/20160603_1910n.gcf
E TypeError: sequence item 0: expected a bytes-like object, str found
During handling of the above exception, another exception occurred:
E obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-ttskj746.tmp
E ValueError: invalid fmt: b'%d'
E ValueError: invalid fmt: b'%+.10e'
1688 the signal is assumed to be periodic.
1689
1690 .. rubric:: Example
1691
1692 >>> tr = Trace(data=np.array([0.5, 0, 0.5, 1, 0.5, 0, 0.5, 1]))
1693 >>> len(tr)
1694 8
1695 >>> tr.stats.sampling_rate
1696 1.0
1697 >>> tr.resample(4.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: AttributeError("'numpy.ndarray' object has no attribute 'newbyteorder'")
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/doctest.py", line 1398, in __run
exec(compile(example.source, filename, "single",
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
compileflags, True), test.globs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<doctest obspy.core.trace.Trace.resample[3]>", line 1, in <module>
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/trace.py", line 1726, in resample
x = rfft(self.data.newbyteorder("="))
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/trace.py:1697: UnexpectedException
192
193 :param filename: A test file name to which the path should be returned.
194 :return: Full path to file.
195
196 .. rubric:: Example
197
198 >>> get_example_file('slist.ascii') # doctest: +SKIP
199 /custom/path/to/obspy/io/ascii/tests/data/slist.ascii
200
201 >>> get_example_file('does.not.exists') # doctest: +ELLIPSIS
Differences (unified diff with -expected +actual):
@@ -1,3 +1,25 @@
Traceback (most recent call last):
-...
-OSError: Could not find file does.not.exists ...
+ File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/doctest.py", line 1398, in __run
+ exec(compile(example.source, filename, "single",
+ ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ compileflags, True), test.globs)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "<doctest obspy.core.util.base.get_example_file[1]>", line 1, in <module>
+ get_example_file('does.not.exists') # doctest: +ELLIPSIS
+ ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
+ File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/base.py", line 208, in get_example_file
+ mod = __import__("obspy.%s" % module,
+ fromlist=["obspy"])
+ File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/taup/__init__.py", line 449, in <module>
+ from .tau import TauPyModel # NOQA
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/taup/tau.py", line 16, in <module>
+ from .helper_classes import Arrival
+ File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/taup/helper_classes.py", line 20, in <module>
+ ('top_p', np.float_),
+ ^^^^^^^^^
+ File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/numpy/__init__.py", line 778, in __getattr__
+ raise AttributeError(
+ ...<3 lines>...
+ )
+AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/base.py:201: DocTestFailure
E IndexError: index 3 is out of bounds for axis 0 with size 3
During handling of the above exception, another exception occurred:
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E TypeError: only 0-dimensional arrays can be converted to Python scalars
114 91,92,93,94,95,97,98,102,103,104,106,107,108,109, and 111.
115 :type ignore_error: bool, optional
116 :param ignore_error: Include error frames as much as possible if True.
117 :rtype: :class:`~obspy.core.stream.Stream`
118 :return: A ObsPy Stream object.
119
120 .. rubric:: Example
121
122 >>> from obspy import read
123 >>> st = read("/path/to/pse.a15.1.2.mini")
UNEXPECTED EXCEPTION: Exception('Cannot open file/files: /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/alsep/tests/data/pse.a15.1.2.mini')
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/doctest.py", line 1398, in __run
exec(compile(example.source, filename, "single",
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
compileflags, True), test.globs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<doctest obspy.io.alsep.core._read_pse[1]>", line 1, in <module>
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/stream.py", line 224, in read
raise Exception("Cannot open file/files: %s" % pathname_or_url)
Exception: Cannot open file/files: /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/alsep/tests/data/pse.a15.1.2.mini
/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/alsep/core.py:123: UnexpectedException
187 for scanning available data in huge (temporary) data sets.
188 :type ignore_error: bool, optional
189 :param ignore_error: Include error frames as much as possible if True.
190 :rtype: :class:`~obspy.core.stream.Stream`
191 :return: A ObsPy Stream object.
192
193 .. rubric:: Example
194
195 >>> from obspy import read
196 >>> st = read("/path/to/wtn.1.2.mini")
UNEXPECTED EXCEPTION: Exception('Cannot open file/files: /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/alsep/tests/data/wtn.1.2.mini')
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/doctest.py", line 1398, in __run
exec(compile(example.source, filename, "single",
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
compileflags, True), test.globs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<doctest obspy.io.alsep.core._read_wtn[1]>", line 1, in <module>
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/stream.py", line 224, in read
raise Exception("Cannot open file/files: %s" % pathname_or_url)
Exception: Cannot open file/files: /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/alsep/tests/data/wtn.1.2.mini
/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/alsep/core.py:196: UnexpectedException
E AssertionError: 1 != 0
E IndexError: list index out of range
E AssertionError: 10 != 0
E AssertionError: 27 != 0
E AssertionError: 18 != 0
E ValueError: invalid fmt: b'%d'
E ValueError: invalid fmt: b'%+.10e'
E ValueError: invalid fmt: b'%+r'
E ValueError: invalid fmt: b'%3.14f'
E ValueError: invalid fmt: b'%d'
E ValueError: invalid fmt: b'%d'
E OverflowError: Python integer 128 out of bounds for int8
E OverflowError: Python integer 128 out of bounds for int8
E OverflowError: Python integer -3 out of bounds for uint8
TypeError: only 0-dimensional arrays can be converted to Python scalars
The above exception was the direct cause of the following exception:
E ValueError: setting an array element with a sequence.
044 .KW1..EH0 | 2015-10-09T22:51:11.675000Z - ... | 200.0 Hz, 2743 samples
045 .KW1..EH1 | 2015-10-09T22:50:51.000000Z - ... | 200.0 Hz, 3107 samples
046 .KW1..EH1 | 2015-10-09T22:51:05.925000Z - ... | 200.0 Hz, 768 samples
047 .KW1..EH1 | 2015-10-09T22:51:10.765000Z - ... | 200.0 Hz, 2925 samples
048 .KW1..EH2 | 2015-10-09T22:50:51.000000Z - ... | 200.0 Hz, 3405 samples
049 .KW1..EH2 | 2015-10-09T22:51:08.415000Z - ... | 200.0 Hz, 3395 samples
050
051 Network, location and component codes can be specified during reading:
052
053 >>> st = read("/path/to/225051000_00008656", network="BW", location="",
UNEXPECTED EXCEPTION: OverflowError('Python integer 2000 out of bounds for uint8')
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/doctest.py", line 1398, in __run
exec(compile(example.source, filename, "single",
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
compileflags, True), test.globs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<doctest obspy.io.reftek[4]>", line 1, in <module>
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/stream.py", line 249, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
headonly=headonly, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130
rt130 = Reftek130.from_file(filename)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/reftek/core.py", line 148, in from_file
rt._data = _initial_unpack_packets(string)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets
result['time'][:] += [_get_nanoseconds_for_start_of_year(y)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year
year += 2000
OverflowError: Python integer 2000 out of bounds for uint8
/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/reftek/__init__.py:53: UnexpectedException
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E TypeError: expected str, bytes or os.PathLike object, not BytesIO
During handling of the above exception, another exception occurred:
E OverflowError: Python integer 2000 out of bounds for uint8
E TypeError: expected str, bytes or os.PathLike object, not BytesIO
During handling of the above exception, another exception occurred:
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E OverflowError: Python integer 2000 out of bounds for uint8
E AssertionError: 1073117342.3999912 != 1073117342.4 within 5 places (8.821487426757812e-06 difference)
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E TypeError: sequence item 0: expected a bytes-like object, str found
During handling of the above exception, another exception occurred:
E obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-5au5u2db.tmp
E TypeError: sequence item 0: expected a bytes-like object, str found
During handling of the above exception, another exception occurred:
E AttributeError: '_io.BytesIO' object has no attribute 'name'
E TypeError: sequence item 0: expected a bytes-like object, str found
During handling of the above exception, another exception occurred:
E obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-1yqm8yc3.tmp
E TypeError: sequence item 0: expected a bytes-like object, str found
During handling of the above exception, another exception occurred:
E obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-9nen04tu.tmp
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E TypeError: sequence item 0: expected a bytes-like object, str found
During handling of the above exception, another exception occurred:
E obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-41_uhlx8.tmp
E TypeError: sequence item 0: expected a bytes-like object, str found
During handling of the above exception, another exception occurred:
E obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-4fvozhfz.tmp
E TypeError: sequence item 0: expected a bytes-like object, str found
During handling of the above exception, another exception occurred:
E AttributeError: '_io.BytesIO' object has no attribute 'name'
E AttributeError: `np.alltrue` was removed in the NumPy 2.0 release. Use `np.all` instead.
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E ValueError: invalid fmt: b' %16.9E %16.9E'
E ValueError: invalid fmt: b' %16.9E %16.9E'
E ValueError: invalid fmt: b' %16.9E %16.9E'
058 RtTrace object (step 3) which will automatically process any appended data
059 chunks.
060
061 1. Read first trace of example SAC data file and extract contained time
062 offset and epicentral distance of an earthquake::
063
064 >>> from obspy.realtime import RtTrace
065 >>> from obspy import read
066 >>> from obspy.realtime.signal import calculate_mwp_mag
067 >>> data_trace = read('/path/to/II.TLY.BHZ.SAC')[0]
UNEXPECTED EXCEPTION: AttributeError("'numpy.ndarray' object has no attribute 'newbyteorder'")
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/doctest.py", line 1398, in __run
exec(compile(example.source, filename, "single",
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
compileflags, True), test.globs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<doctest obspy.realtime.rttrace.RtTrace[3]>", line 1, in <module>
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/stream.py", line 249, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
headonly=headonly, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/core/util/base.py", line 423, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/sac/core.py", line 344, in _read_sac
return _internal_read_sac(buf=fh, headonly=headonly,
debug_headers=debug_headers, fsize=fsize,
**kwargs)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac
sac = SACTrace.read(buf, headonly=headonly, ascii=False,
byteorder=byteorder, checksize=fsize,
encoding=encoding_str)
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/sac/sactrace.py", line 1086, in read
hf, hi, hs, data = _io.read_sac(source, headonly=headonly,
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
byteorder=byteorder,
^^^^^^^^^^^^^^^^^^^^
checksize=checksize)
^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac
hf = hf.newbyteorder('S')
^^^^^^^^^^^^^^^
AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
/home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/realtime/rttrace.py:67: UnexpectedException
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: 'numpy.ndarray' object has no attribute 'newbyteorder'
E AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
E AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
E AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
E AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
E AttributeError: module 'scipy.integrate' has no attribute 'cumtrapz'
E AttributeError: module 'scipy.signal' has no attribute 'hamming'
E AttributeError: module 'scipy.signal' has no attribute 'hamming'
E AttributeError: module 'scipy.signal' has no attribute 'hamming'
E AttributeError: module 'scipy.signal' has no attribute 'hamming'
E AttributeError: module 'scipy.signal' has no attribute 'hamming'
E AttributeError: module 'scipy.signal' has no attribute 'hamming'
E AttributeError: module 'scipy.signal' has no attribute 'hamming'
E AttributeError: 'numpy.ndarray' object has no attribute 'ptp'
E AttributeError: module 'scipy.signal' has no attribute 'hamming'
E AttributeError: module 'scipy.signal' has no attribute 'hamming'
E AttributeError: module 'scipy.signal' has no attribute 'hamming'
E AttributeError: module 'scipy.signal' has no attribute 'hamming'
E AttributeError: module 'scipy.signal' has no attribute 'hamming'
E AssertionError: False is not true
E OverflowError: Python integer 128 out of bounds for int8
E TypeError: only 0-dimensional arrays can be converted to Python scalars
E TypeError: only 0-dimensional arrays can be converted to Python scalars

Skipped tests (35)

Submodule Test Skip message
core core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
core core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_ortho Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_combined_station_event_plot Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_ortho Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_local Skipped: cartopy not installed
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_with_geographiclib Skipped: Module geographiclib is not installed
geodetics geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_issue_375 Skipped: Module geographiclib is not installed
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.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile_with_extra_field Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile_with_extra_field Skipped: pyshp not installed
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::QualityControlTestCase::test_schema_validation Skipped: Test requires the jsonschema module

Slowest tests (20)

Runtime Test
2.990s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
2.166s core/tests/test_trace.py::TestTrace::test_trim_floating_point_with_padding_2
1.911s core/stream.py::obspy.core.stream.read
1.365s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
1.327s core/tests/test_trace.py::TestTrace::test_remove_response_plot
1.201s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
1.112s io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
0.874s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces_tiny
0.835s signal/tests/test_interpolation.py::TestInterpolation::test_plot_lanczos_window
0.751s core/tests/test_stream.py::TestStream::test_spectrogram
0.700s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces_huge
0.651s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces
0.638s signal/tests/test_rotate.py::RotateTestCase::test_rotate2zne_against_lqt_different_combinations
0.551s signal/tests/test_invsim.py::InvSimTestCase::test_evalresp_file_like_object
0.546s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_horizontal_section
0.530s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_positive_section
0.526s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_w_iris_against_obspy_results
0.521s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_default_section
0.516s imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_negative_section
0.512s signal/tests/test_tf_misfit.py::TestTfPlot::test_plot_tfr

Warnings (9)

Stage Filename Category Message
runtest /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/alsep/util.py:10 RuntimeWarning overflow encountered in scalar subtract
runtest /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/numpy/lib/_format_impl.py:838 VisibleDeprecationWarning dtype(): align should be passed as Python or NumPy boolean but got `align=0`. Did you mean to pass a tuple to create a subarray type? (Deprecated NumPy 2.4)
runtest /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/alsep/util.py:10 RuntimeWarning overflow encountered in scalar multiply
runtest /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/nordic/ellipse.py:377 DeprecationWarning Arrays of 2-dimensional vectors are deprecated. Use arrays of 3-dimensional vectors instead. (deprecated in NumPy 2.0)
collect /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/signal/polarization.py:15 DeprecationWarning `scipy.odr` is deprecated as of version 1.17.0 and will be removed in SciPy 1.19.0. Please use `https://pypi.org/project/odrpack/` instead.
runtest /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/nlloc/tests/test_core.py:117 DeprecationWarning 'count' is passed as positional argument
runtest /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/nlloc/tests/test_core.py:118 DeprecationWarning 'count' is passed as positional argument
runtest /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/io/alsep/util.py:10 RuntimeWarning overflow encountered in scalar add
collect /home/ubuntu/.pyenv/versions/3.13.7/lib/python3.13/site-packages/obspy/clients/filesystem/db.py:18 MovedIn20Warning The ``declarative_base()`` function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)