#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 | - | 13 | 13 | - | 0.02s | - |
| obspy.clients.filesystem | 9 | 29 | 29 | - | 0.95s | 1 2 3 4 5 6 7 8 9 |
| obspy.clients.iris | Not tested | - | - | - | - | - |
| obspy.clients.neic | Not tested | - | - | - | - | - |
| obspy.clients.nrl | - | 5 | 5 | - | 0.17s | - |
| obspy.clients.seedlink | Not tested | - | - | - | - | - |
| obspy.clients.syngine | Not tested | - | - | - | - | - |
| obspy.core | 31 | 598 | 589 | 9 | 15.70s | 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 | - | 18 | 18 | - | 0.13s | - |
| obspy.core.inventory | - | 23 | 23 | - | 0.96s | - |
| obspy.core.util | 1 | 23 | 20 | 3 | 0.13s | 41 |
| obspy.geodetics | - | 21 | 19 | 2 | 0.11s | - |
| obspy.imaging | 16 | 91 | 90 | 1 | 14.32s | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
| obspy.io.ah | - | 11 | 11 | - | 0.04s | - |
| obspy.io.alsep | 7 | 16 | 16 | - | 0.59s | 58 59 60 61 62 63 64 |
| obspy.io.arclink | - | 5 | 5 | - | 1.14s | - |
| obspy.io.ascii | 6 | 28 | 26 | 2 | 0.08s | 65 66 67 68 69 70 |
| obspy.io.cmtsolution | - | 10 | 10 | - | 0.04s | - |
| obspy.io.cnv | - | 1 | 1 | - | 0.01s | - |
| obspy.io.css | - | 10 | 10 | - | 0.11s | - |
| obspy.io.dmx | - | 5 | 5 | - | 0.02s | - |
| obspy.io.focmec | - | 8 | 8 | - | 0.05s | - |
| obspy.io.gcf | - | 13 | 12 | 1 | 0.20s | - |
| obspy.io.gse2 | - | 55 | 55 | - | 0.29s | - |
| obspy.io.hypodd | - | 9 | 9 | - | 0.10s | - |
| obspy.io.iaspei | - | 7 | 7 | - | 0.37s | - |
| obspy.io.json | - | 4 | 4 | - | 0.02s | - |
| obspy.io.kinemetrics | - | 8 | 8 | - | 0.31s | - |
| obspy.io.kml | - | 3 | 3 | - | 0.08s | - |
| obspy.io.mseed | 4 | 127 | 127 | - | 1.03s | 71 72 73 74 |
| obspy.io.ndk | - | 20 | 20 | - | 0.18s | - |
| obspy.io.nied | - | 11 | 11 | - | 0.04s | - |
| obspy.io.nlloc | - | 14 | 14 | - | 0.13s | - |
| obspy.io.nordic | - | 60 | 58 | 2 | 0.89s | - |
| obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
| obspy.io.pde | - | 13 | 12 | 1 | 0.15s | - |
| obspy.io.quakeml | - | 38 | 37 | 1 | 0.30s | - |
| obspy.io.reftek | 19 | 21 | 21 | - | 0.03s | 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
| obspy.io.rg16 | - | 38 | 38 | - | 0.09s | - |
| obspy.io.sac | 12 | 99 | 99 | - | 0.47s | 94 95 96 97 98 99 100 101 102 103 104 105 |
| obspy.io.scardec | 3 | 5 | 5 | - | 0.02s | 106 107 108 |
| obspy.io.seg2 | - | 2 | 2 | - | 0.01s | - |
| obspy.io.segy | - | 56 | 56 | - | 0.27s | - |
| obspy.io.seisan | - | 8 | 7 | 1 | 0.05s | - |
| obspy.io.seiscomp | - | 49 | 49 | - | 1.18s | - |
| obspy.io.sh | - | 26 | 24 | 2 | 0.24s | - |
| obspy.io.shapefile | - | 7 | 1 | 6 | 0.05s | - |
| obspy.io.stationtxt | - | 11 | 11 | - | 0.05s | - |
| obspy.io.stationxml | - | 24 | 24 | - | 0.29s | - |
| obspy.io.wav | - | 8 | 7 | 1 | 0.03s | - |
| obspy.io.win | - | 2 | 2 | - | 0.06s | - |
| obspy.io.xseed | - | 82 | 82 | - | 4.07s | - |
| obspy.io.y | - | 5 | 4 | 1 | 0.01s | - |
| obspy.io.zmap | - | 14 | 14 | - | 0.12s | - |
| obspy.realtime | 13 | 22 | 22 | - | 0.05s | 109 110 111 112 113 114 115 116 117 118 119 120 121 |
| obspy.scripts | - | 2 | 2 | - | 0.01s | - |
| obspy.signal | 22 | 188 | 186 | 2 | 11.34s | 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 | 1969 | 1934 | 35 | 65.68s | 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 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: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
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: 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.string_` was removed in the NumPy 2.0 release. Use `np.bytes_` instead.
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
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
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
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 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 AssertionError: 1073117342.3999912 != 1073117342.4 within 5 places (8.821487426757812e-06 difference)
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 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 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: `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.
Skipped tests (35)
Slowest tests (20)
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) |