#138485 Report by node LAPTOP-F1IVIFUL covering 913 tests from 49 modules resulted into 57 errors
Report
- ObsPy version
- 1.2.2
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 37.1 sec
- Report date/time
- May 12, 2024, 9:10 p.m.
System / Python
- Architecture
- 64bit
- Machine
- AMD64
- Node
- LAPTOP-F1IVIFUL
- Processor
- Intel64 Family 6 Model 186 Stepping 2, GenuineIntel
- Python Compiler
- MSC v.1916 64 bit (AMD64)
- Python Implementation
- CPython
- Python Version
- 3.10.9
- Release
- 10
- System
- Windows
- Version
- 10.0.22631
Dependencies
- cartopy
- ---
- decorator
- 5.1.1
- flake8
- ---
- future
- 0.18.3
- geographiclib
- ---
- lxml.etree
- 4.9.3
- m2crypto
- ---
- matplotlib
- 3.8.0
- mock
- ---
- mpl_toolkits.basemap
- ---
- numpy
- 1.26.4
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- ---
- pyproj
- 3.6.1
- requests
- 2.31.0
- scipy
- 1.12.0
- setuptools
- 65.6.3
- shapefile
- ---
- sqlalchemy
- 2.0.25
Modules (49)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | Not tested | - | - | - | - | - |
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | Not tested | - | - | - | - | - |
obspy.clients.filesystem | 9 | 28 | 28 | - | 2.33s | 1 2 3 4 5 6 7 8 9 |
obspy.clients.iris | Not tested | - | - | - | - | - |
obspy.clients.neic | Not tested | - | - | - | - | - |
obspy.clients.nrl | Not tested | - | - | - | - | - |
obspy.clients.seedlink | Not tested | - | - | - | - | - |
obspy.clients.seishub | Not tested | - | - | - | - | - |
obspy.clients.syngine | Not tested | - | - | - | - | - |
obspy.core | 1 | 1 | 1 | - | 0.00s | 10 |
obspy.db | 1 | 1 | 1 | - | 0.00s | 11 |
obspy.geodetics | - | 20 | 18 | 2 | 0.19s | - |
obspy.imaging | 1 | 1 | 1 | - | 0.00s | 12 |
obspy.io.ah | 1 | 5 | 5 | - | 0.09s | 13 |
obspy.io.arclink | - | 5 | 5 | - | 0.92s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.37s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.09s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.02s | - |
obspy.io.css | 1 | 1 | 1 | - | 0.00s | 14 |
obspy.io.dmx | 4 | 5 | 5 | - | 0.07s | 15 16 17 18 |
obspy.io.focmec | - | 8 | 8 | - | 0.07s | - |
obspy.io.gcf | 6 | 9 | 9 | - | 0.10s | 19 20 21 22 23 24 |
obspy.io.gse2 | - | 55 | 55 | - | 0.52s | - |
obspy.io.hypodd | 1 | 6 | 6 | - | 0.08s | 25 |
obspy.io.iaspei | - | 7 | 7 | - | 0.37s | - |
obspy.io.json | - | 4 | 4 | - | 0.04s | - |
obspy.io.kinemetrics | 3 | 7 | 7 | - | 0.18s | 26 27 28 |
obspy.io.kml | - | 3 | 3 | - | 0.12s | - |
obspy.io.mseed | - | 127 | 127 | - | 6.04s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.32s | - |
obspy.io.nied | 5 | 11 | 11 | - | 0.17s | 29 30 31 32 33 |
obspy.io.nlloc | - | 12 | 12 | - | 3.42s | - |
obspy.io.nordic | 2 | 51 | 51 | - | 1.00s | 34 35 |
obspy.io.pdas | 1 | 3 | 3 | - | 0.03s | 36 |
obspy.io.pde | - | 13 | 13 | - | 0.20s | - |
obspy.io.quakeml | - | 38 | 38 | - | 0.49s | - |
obspy.io.reftek | 3 | 20 | 20 | - | 0.28s | 37 38 39 |
obspy.io.rg16 | 4 | 36 | 36 | - | 0.10s | 40 41 42 43 |
obspy.io.sac | 1 | 96 | 96 | - | 0.85s | 44 |
obspy.io.scardec | - | 5 | 5 | - | 0.08s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.02s | - |
obspy.io.segy | - | 56 | 56 | - | 0.69s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.12s | - |
obspy.io.seiscomp | - | 47 | 47 | - | 1.62s | - |
obspy.io.sh | - | 25 | 25 | - | 0.49s | - |
obspy.io.shapefile | - | 7 | 1 | 6 | 0.06s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.14s | - |
obspy.io.stationxml | - | 22 | 22 | - | 0.32s | - |
obspy.io.wav | - | 8 | 8 | - | 0.13s | - |
obspy.io.win | - | 2 | 2 | - | 0.06s | - |
obspy.io.xseed | 1 | 1 | 1 | - | 0.00s | 45 |
obspy.io.y | - | 5 | 5 | - | 0.05s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.23s | - |
obspy.realtime | 1 | 1 | 1 | - | 0.00s | 46 |
obspy.scripts | - | 2 | 2 | - | 0.02s | - |
obspy.signal | 1 | 1 | 1 | - | 0.00s | 47 |
obspy.taup | 10 | 64 | 58 | 6 | 14.63s | 48 49 50 51 52 53 54 55 56 57 |
Summary | 57 | 913 | 899 | 14 | 37.14s | 57 |
Tracebacks (57)
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1478, in _fetch_index_rows stmts = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1479, in <listcomp> sa.select([ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 489, in select return Select(*entities) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5136, in __init__ self._raw_columns = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5137, in <listcomp> coercions.expect( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect resolved = impl._literal_coercion( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 651, in _literal_coercion self._raise_for_expected(element, argname) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 1137, in _raise_for_expected return super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 710, in _raise_for_expected super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 535, 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 0x2a6e4a48df0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49510; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a48370; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a0e0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a491e0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49120; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a48df0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49510; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a48370; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a0e0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a491e0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49120; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 387, in test_get_availability actual_avail = client.get_availability( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 440, in get_availability tsindex_rows = self._get_tsindex_rows(network, station, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 704, in _get_tsindex_rows return self.request_handler._fetch_index_rows(query_rows) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1600, in _fetch_index_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x2a6e4a48df0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49510; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a48370; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a0e0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a491e0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49120; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a48df0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49510; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a48370; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a0e0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a491e0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49120; endtime>)?
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1658, in _fetch_summary_rows stmts = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1659, in <listcomp> sa.select([ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 489, in select return Select(*entities) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5136, in __init__ self._raw_columns = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5137, in <listcomp> coercions.expect( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect resolved = impl._literal_coercion( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 651, in _literal_coercion self._raise_for_expected(element, argname) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 1137, in _raise_for_expected return super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 710, in _raise_for_expected super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 535, 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 0x2a6e4a43fa0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a439d0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43730; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a42b60; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a42860; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a418a0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a43fa0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a439d0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43730; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a42b60; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a42860; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a418a0; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 242, in test_get_availability_extent actual_avail_extents = client.get_availability_extent( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 383, in get_availability_extent summary_rows = self._get_summary_rows(network, station, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 622, in _get_summary_rows return self.request_handler._fetch_summary_rows(query_rows) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1676, 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 0x2a6e4a43fa0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a439d0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43730; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a42b60; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a42860; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a418a0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a43fa0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a439d0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43730; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a42b60; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a42860; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a418a0; endtime>)?
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1658, in _fetch_summary_rows stmts = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1659, in <listcomp> sa.select([ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 489, in select return Select(*entities) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5136, in __init__ self._raw_columns = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5137, in <listcomp> coercions.expect( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect resolved = impl._literal_coercion( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 651, in _literal_coercion self._raise_for_expected(element, argname) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 1137, in _raise_for_expected return super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 710, in _raise_for_expected super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 535, 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 0x2a6e4a514e0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a51780; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a51330; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a51fc0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a502e0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a50e80; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a514e0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a51780; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a51330; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a51fc0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a502e0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a50e80; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 181, in test_get_nslc actual_nslc = client.get_nslc("I*,CU", File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 342, in get_nslc summary_rows = self._get_summary_rows(network, station, location, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 622, in _get_summary_rows return self.request_handler._fetch_summary_rows(query_rows) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1676, 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 0x2a6e4a514e0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a51780; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a51330; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a51fc0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a502e0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a50e80; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a514e0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a51780; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a51330; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a51fc0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a502e0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a50e80; endtime>)?
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1478, in _fetch_index_rows stmts = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1479, in <listcomp> sa.select([ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 489, in select return Select(*entities) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5136, in __init__ self._raw_columns = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5137, in <listcomp> coercions.expect( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect resolved = impl._literal_coercion( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 651, in _literal_coercion self._raise_for_expected(element, argname) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 1137, in _raise_for_expected return super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 710, in _raise_for_expected super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 535, 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 0x2a6e4a4bcd0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4ba30; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4add0; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4ba00; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4b8e0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4afe0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a4bcd0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4ba30; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4add0; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4ba00; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4b8e0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4afe0; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 68, in test_get_waveforms returned_stream = client.get_waveforms( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 287, in get_waveforms return self._get_waveforms(query_rows, merge) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 648, in _get_waveforms index_rows = self.request_handler._fetch_index_rows(query_rows) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1600, in _fetch_index_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x2a6e4a4bcd0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4ba30; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4add0; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4ba00; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4b8e0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4afe0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a4bcd0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4ba30; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4add0; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4ba00; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4b8e0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4afe0; endtime>)?
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1478, in _fetch_index_rows stmts = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1479, in <listcomp> sa.select([ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 489, in select return Select(*entities) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5136, in __init__ self._raw_columns = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5137, in <listcomp> coercions.expect( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect resolved = impl._literal_coercion( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 651, in _literal_coercion self._raise_for_expected(element, argname) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 1137, in _raise_for_expected return super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 710, in _raise_for_expected super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 535, 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 0x2a6e4a4b8e0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4b790; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a8c0; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a6e0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a1a0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4bb80; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a4b8e0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4b790; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a8c0; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a6e0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a1a0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4bb80; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 148, in test_get_waveforms_bulk returned_stream = client.get_waveforms_bulk(bulk_request) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 313, in get_waveforms_bulk return self._get_waveforms(query_rows, merge) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 648, in _get_waveforms index_rows = self.request_handler._fetch_index_rows(query_rows) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1600, in _fetch_index_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x2a6e4a4b8e0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4b790; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a8c0; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a6e0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a1a0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4bb80; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a4b8e0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4b790; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a8c0; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a6e0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a1a0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4bb80; endtime>)?
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1478, in _fetch_index_rows stmts = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1479, in <listcomp> sa.select([ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 489, in select return Select(*entities) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5136, in __init__ self._raw_columns = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5137, in <listcomp> coercions.expect( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect resolved = impl._literal_coercion( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 651, in _literal_coercion self._raise_for_expected(element, argname) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 1137, in _raise_for_expected return super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 710, in _raise_for_expected super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 535, 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 0x2a6e4a4a6e0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4b8e0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a350; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a4d0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a1a0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4bb80; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a4a6e0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4b8e0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a350; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a4d0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a1a0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4bb80; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 587, in test_has_data self.assertTrue(client.has_data()) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 583, in has_data avail_percentage = self.get_availability_percentage(network, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 519, in get_availability_percentage avail = self.get_availability(network, station, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 440, in get_availability tsindex_rows = self._get_tsindex_rows(network, station, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 704, in _get_tsindex_rows return self.request_handler._fetch_index_rows(query_rows) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1600, in _fetch_index_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x2a6e4a4a6e0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4b8e0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a350; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a4d0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a1a0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4bb80; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a4a6e0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4b8e0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a350; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a4d0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4a1a0; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4bb80; endtime>)?
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1478, in _fetch_index_rows stmts = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1479, in <listcomp> sa.select([ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 489, in select return Select(*entities) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5136, in __init__ self._raw_columns = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5137, in <listcomp> coercions.expect( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect resolved = impl._literal_coercion( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 651, in _literal_coercion self._raise_for_expected(element, argname) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 1137, in _raise_for_expected return super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 710, in _raise_for_expected super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 535, 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 0x2a6e4a4a050; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49750; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4ab00; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a48ac0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49510; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a48f40; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a4a050; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49750; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4ab00; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a48ac0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49510; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a48f40; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 788, in test_build_file_list self.assertRaisesRegex(OSError, File "C:\Users\huguowu\anaconda3\lib\unittest\case.py", line 1291, in assertRaisesRegex return context.handle('assertRaisesRegex', args, kwargs) File "C:\Users\huguowu\anaconda3\lib\unittest\case.py", line 201, in handle callable_obj(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1088, in build_file_list tsindex = self.request_handler._fetch_index_rows() File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1600, in _fetch_index_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x2a6e4a4a050; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49750; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4ab00; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a48ac0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49510; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a48f40; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a4a050; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49750; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a4ab00; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a48ac0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a49510; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a48f40; endtime>)?
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1658, in _fetch_summary_rows stmts = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1659, in <listcomp> sa.select([ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 489, in select return Select(*entities) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5136, in __init__ self._raw_columns = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5137, in <listcomp> coercions.expect( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect resolved = impl._literal_coercion( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 651, in _literal_coercion self._raise_for_expected(element, argname) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 1137, in _raise_for_expected return super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 710, in _raise_for_expected super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 535, 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 0x2a6e4a41840; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a414b0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a40880; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43280; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43700; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43af0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a41840; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a414b0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a40880; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43280; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43700; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43af0; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 942, in test__fetch_summary_rows ts_summary_data = request_handler._fetch_summary_rows( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1676, 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 0x2a6e4a41840; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a414b0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a40880; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43280; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43700; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43af0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e4a41840; network>, <sqlalchemy.sql.elements.Label at 0x2a6e4a414b0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e4a40880; location>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43280; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43700; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e4a43af0; endtime>)?
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.clients.filesystem.tsindex File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1, in tsindex ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 64, in obspy.clients.filesystem.tsindex Failed example: extents = client.get_availability_extent(network="IU", channel="BHZ") Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1658, in _fetch_summary_rows stmts = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1659, in <listcomp> sa.select([ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 489, in select return Select(*entities) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5136, in __init__ self._raw_columns = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5137, in <listcomp> coercions.expect( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect resolved = impl._literal_coercion( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 651, in _literal_coercion self._raise_for_expected(element, argname) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 1137, in _raise_for_expected return super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 710, in _raise_for_expected super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 535, 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 0x2a6e47f6380; network>, <sqlalchemy.sql.elements.Label at 0x2a6e47f5b70; station>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6590; location>, <sqlalchemy.sql.elements.Label at 0x2a6e47f67d0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6890; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e47f68f0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e47f6380; network>, <sqlalchemy.sql.elements.Label at 0x2a6e47f5b70; station>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6590; location>, <sqlalchemy.sql.elements.Label at 0x2a6e47f67d0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6890; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e47f68f0; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.filesystem.tsindex[6]>", line 1, in <module> extents = client.get_availability_extent(network="IU", channel="BHZ") File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 383, in get_availability_extent summary_rows = self._get_summary_rows(network, station, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 622, in _get_summary_rows return self.request_handler._fetch_summary_rows(query_rows) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1676, 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 0x2a6e47f6380; network>, <sqlalchemy.sql.elements.Label at 0x2a6e47f5b70; station>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6590; location>, <sqlalchemy.sql.elements.Label at 0x2a6e47f67d0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6890; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e47f68f0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e47f6380; network>, <sqlalchemy.sql.elements.Label at 0x2a6e47f5b70; station>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6590; location>, <sqlalchemy.sql.elements.Label at 0x2a6e47f67d0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6890; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e47f68f0; endtime>)? ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 65, in obspy.clients.filesystem.tsindex Failed example: for extent in extents: print("{0:<3} {1:<6} {2:<3} {3:<4} {4} {5}".format(*extent)) Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.filesystem.tsindex[7]>", line 1, in <module> for extent in extents: NameError: name 'extents' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 81, in obspy.clients.filesystem.tsindex Failed example: avail_percentage = client.get_availability_percentage( "IU", "ANMO", "10", "BHZ", UTCDateTime(2018, 1, 1, 0, 0, 0, 19500), UTCDateTime(2018, 1, 1, 0, 1, 57, 994536)) Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1478, in _fetch_index_rows stmts = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1479, in <listcomp> sa.select([ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 489, in select return Select(*entities) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5136, in __init__ self._raw_columns = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5137, in <listcomp> coercions.expect( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect resolved = impl._literal_coercion( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 651, in _literal_coercion self._raise_for_expected(element, argname) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 1137, in _raise_for_expected return super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 710, in _raise_for_expected super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 535, 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 0x2a6e47f6bf0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6a10; station>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6c80; location>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6ec0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6e90; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6d10; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e47f6bf0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6a10; station>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6c80; location>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6ec0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6e90; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6d10; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.filesystem.tsindex[9]>", line 1, in <module> avail_percentage = client.get_availability_percentage( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 519, in get_availability_percentage avail = self.get_availability(network, station, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 440, in get_availability tsindex_rows = self._get_tsindex_rows(network, station, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 704, in _get_tsindex_rows return self.request_handler._fetch_index_rows(query_rows) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1600, in _fetch_index_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x2a6e47f6bf0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6a10; station>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6c80; location>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6ec0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6e90; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6d10; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e47f6bf0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6a10; station>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6c80; location>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6ec0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6e90; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6d10; endtime>)? ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 85, in obspy.clients.filesystem.tsindex Failed example: print(avail_percentage) Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.filesystem.tsindex[10]>", line 1, in <module> print(avail_percentage) NameError: name 'avail_percentage' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 99, in obspy.clients.filesystem.tsindex Failed example: st = client.get_waveforms("IU", "*", "*", "BHZ", t, t + 1) Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1478, in _fetch_index_rows stmts = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1479, in <listcomp> sa.select([ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 489, in select return Select(*entities) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5136, in __init__ self._raw_columns = [ File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\selectable.py", line 5137, in <listcomp> coercions.expect( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect resolved = impl._literal_coercion( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 651, in _literal_coercion self._raise_for_expected(element, argname) File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 1137, in _raise_for_expected return super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 710, in _raise_for_expected super()._raise_for_expected( File "C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\sql\coercions.py", line 535, 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 0x2a6e47f70d0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6da0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e47f69b0; location>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6ef0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6f80; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6fe0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e47f70d0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6da0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e47f69b0; location>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6ef0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6f80; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6fe0; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.filesystem.tsindex[12]>", line 1, in <module> st = client.get_waveforms("IU", "*", "*", "BHZ", t, t + 1) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 287, in get_waveforms return self._get_waveforms(query_rows, merge) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 648, in _get_waveforms index_rows = self.request_handler._fetch_index_rows(query_rows) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1600, in _fetch_index_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x2a6e47f70d0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6da0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e47f69b0; location>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6ef0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6f80; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6fe0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x2a6e47f70d0; network>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6da0; station>, <sqlalchemy.sql.elements.Label at 0x2a6e47f69b0; location>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6ef0; channel>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6f80; starttime>, <sqlalchemy.sql.elements.Label at 0x2a6e47f6fe0; endtime>)?
>>> Cannot import test suite for module obspy.core due to: ---------------------------------------------------------- File "C:\Users\huguowu\anaconda3\Scripts\obspy-runtests-script.py", line 10, in <module> sys.exit(main()) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 747, in main errors = run(argv, interactive) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 711, in run return run_tests(verbosity, args.tests, report, args.log, args.server, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "C:\Users\huguowu\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName test = obj() File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\tests\__init__.py", line 17, in suite add_unittests(suite, MODULE_NAME) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 70, in add_unittests _module = __import__(_module_name, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\tests\test_response.py", line 33, in <module> from obspy.signal.invsim import evalresp File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\spectral_estimation.py", line 47, in <module> from obspy.signal.invsim import cosine_taper File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\invsim.py", line 38, in <module> from obspy.signal import util File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\util.py", line 21, in <module> from scipy import fftpack, fix, signal ImportError: cannot import name 'fix' from 'scipy' (C:\Users\huguowu\anaconda3\lib\site-packages\scipy\__init__.py)
>>> Cannot import test suite for module obspy.db due to: -------------------------------------------------------- File "C:\Users\huguowu\anaconda3\Scripts\obspy-runtests-script.py", line 10, in <module> sys.exit(main()) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 747, in main errors = run(argv, interactive) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 711, in run return run_tests(verbosity, args.tests, report, args.log, args.server, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "C:\Users\huguowu\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName test = obj() File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\db\tests\__init__.py", line 16, in suite add_unittests(suite, MODULE_NAME) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 70, in add_unittests _module = __import__(_module_name, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\db\tests\test_client.py", line 14, in <module> from obspy.db.client import Client File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\db\client.py", line 24, in <module> from obspy.db.db import Base, WaveformChannel, WaveformFile, WaveformPath File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\db\db.py", line 20, in <module> from sqlalchemy.orm import relation ImportError: cannot import name 'relation' from 'sqlalchemy.orm' (C:\Users\huguowu\anaconda3\lib\site-packages\sqlalchemy\orm\__init__.py)
>>> Cannot import test suite for module obspy.imaging due to: ------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\Scripts\obspy-runtests-script.py", line 10, in <module> sys.exit(main()) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 747, in main errors = run(argv, interactive) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 711, in run return run_tests(verbosity, args.tests, report, args.log, args.server, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "C:\Users\huguowu\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName test = obj() File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\imaging\tests\__init__.py", line 24, in suite add_unittests(suite, MODULE_NAME) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 70, in add_unittests _module = __import__(_module_name, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\imaging\tests\test_ppsd.py", line 16, in <module> from obspy.signal.tests.test_spectral_estimation import _get_ppsd File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\spectral_estimation.py", line 47, in <module> from obspy.signal.invsim import cosine_taper File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\invsim.py", line 38, in <module> from obspy.signal import util File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\util.py", line 21, in <module> from scipy import fftpack, fix, signal ImportError: cannot import name 'fix' from 'scipy' (C:\Users\huguowu\anaconda3\lib\site-packages\scipy\__init__.py)
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\ah\tests\test_core.py", line 67, in test_read st = read(testfile) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>>> Cannot import test suite for module obspy.io.css due to: ------------------------------------------------------------ File "C:\Users\huguowu\anaconda3\Scripts\obspy-runtests-script.py", line 10, in <module> sys.exit(main()) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 747, in main errors = run(argv, interactive) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 711, in run return run_tests(verbosity, args.tests, report, args.log, args.server, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "C:\Users\huguowu\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName test = obj() File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\tests\__init__.py", line 16, in suite add_doctests(suite, MODULE_NAME) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 119, in add_doctests _module = __import__(_module_name, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\dmx\tests\test_core.py", line 86, in test_check_data_content_sum st = read(filename) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\dmx\tests\test_core.py", line 34, in test_read_via_obspy st = read(filename) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\dmx\tests\test_core.py", line 72, in test_read_with_station st = read(filename, station='EMPL') File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.dmx.__init__ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\dmx\__init__.py", line 0, in __init__ ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\dmx\__init__.py", line 28, in obspy.io.dmx.__init__ Failed example: st = read("/path/to/131114_090600.dmx") Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.dmx.__init__[1]>", line 1, in <module> st = read("/path/to/131114_090600.dmx") File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\dmx\__init__.py", line 29, in obspy.io.dmx.__init__ Failed example: print(st) #doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.dmx.__init__[2]>", line 1, in <module> print(st) #doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\dmx\__init__.py", line 43, in obspy.io.dmx.__init__ Failed example: st = read("/path/to/131114_090600.dmx", station="EMFO") Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.dmx.__init__[5]>", line 1, in <module> st = read("/path/to/131114_090600.dmx", station="EMFO") File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\dmx\__init__.py", line 44, in obspy.io.dmx.__init__ Failed example: print(st) # doctest: +ELLIPSIS Expected: 1 Trace(s) in Stream: ETNA.EMFO..Z | 2013-11-14T09:06:00.000000Z - 2013-11-14T09:06:59.990000Z | 100.0 Hz, 6000 samples Got: 2 Trace(s) in Stream: ETNA.EMFO..Z | 2013-11-14T09:06:00.000000Z - 2013-11-14T09:06:59.990000Z | 100.0 Hz, 6000 samples ETNA.EMPL..Z | 2013-11-14T09:06:00.000000Z - 2013-11-14T09:06:59.990000Z | 100.0 Hz, 6000 samples
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 129, in test_merge_gcf_stream st1 = read(filename, headonly=True, channel_prefix="HN") File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 112, in test_read_channel_prefix_via_obspy st = read(filename, headonly=True, channel_prefix="HN") File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 59, in test_read_head_via_obspy st = read(filename, headonly=True) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 40, in test_read_via_obspy st = read(filename) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 154, in test_sps_d st = read(filename, headonly=True, channel_prefix="HN") File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.gcf.__init__ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\gcf\__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\gcf\__init__.py", line 21, in obspy.io.gcf.__init__ Failed example: st = read("/path/to/20160603_1955n.gcf") Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.gcf.__init__[1]>", line 1, in <module> st = read("/path/to/20160603_1955n.gcf") File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\hypodd\tests\test_pha.py", line 75, in test_populate_waveform_id self.assertEqual(len(ws), 2) AssertionError: 0 != 2
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\kinemetrics\tests\test_core.py", line 82, in test_read_via_obspy st = read(filename) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 670, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 150, in uncompress_file return func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 444, in _read_from_plugin is_format = is_format(filename) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\gse2\core.py", line 124, in _is_gse1 with open(filename, 'rb') as f: TypeError: expected str, bytes or os.PathLike object, not BytesIO During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\kinemetrics\tests\test_core.py", line 131, in test_reading_via_obspy_and_bytesio st = read(buf) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 677, in _generic_reader generic = callback_func(fh.name, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.kinemetrics.__init__ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\kinemetrics\__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\kinemetrics\__init__.py", line 24, in obspy.io.kinemetrics.__init__ Failed example: st = read("/path/to/BI008_MEMA-04823.evt") Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.kinemetrics.__init__[1]>", line 1, in <module> st = read("/path/to/BI008_MEMA-04823.evt") File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\kinemetrics\__init__.py", line 25, in obspy.io.kinemetrics.__init__ Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.kinemetrics.__init__[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\kinemetrics\__init__.py", line 27, in obspy.io.kinemetrics.__init__ Failed example: print (st) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.kinemetrics.__init__[3]>", line 1, in <module> print (st) # doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\kinemetrics\__init__.py", line 45, in obspy.io.kinemetrics.__init__ Failed example: stats_evt = st[0].stats.pop('kinemetrics_evt') Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.kinemetrics.__init__[4]>", line 1, in <module> stats_evt = st[0].stats.pop('kinemetrics_evt') NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\kinemetrics\__init__.py", line 46, in obspy.io.kinemetrics.__init__ Failed example: print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.kinemetrics.__init__[5]>", line 1, in <module> print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\kinemetrics\__init__.py", line 58, in obspy.io.kinemetrics.__init__ Failed example: for k, v in sorted(stats_evt.items()): print(k, v) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.kinemetrics.__init__[6]>", line 1, in <module> for k, v in sorted(stats_evt.items()): NameError: name 'stats_evt' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\kinemetrics\__init__.py", line 98, in obspy.io.kinemetrics.__init__ Failed example: type(st[0].data) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.kinemetrics.__init__[7]>", line 1, in <module> type(st[0].data) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\kinemetrics\__init__.py", line 100, in obspy.io.kinemetrics.__init__ Failed example: print(st[0].data) Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.kinemetrics.__init__[8]>", line 1, in <module> print(st[0].data) NameError: name 'st' is not defined
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nied\tests\test_knet_reading.py", line 26, in test_read_knet_ascii tr = read(testfile)[0] File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 670, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 150, in uncompress_file return func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 444, in _read_from_plugin is_format = is_format(filename) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\gse2\core.py", line 124, in _is_gse1 with open(filename, 'rb') as f: TypeError: expected str, bytes or os.PathLike object, not BytesIO During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nied\tests\test_knet_reading.py", line 60, in test_read_knet_ascii_from_bytes_io tr = read(buf)[0] File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 677, in _generic_reader generic = callback_func(fh.name, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 670, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 150, in uncompress_file return func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 444, in _read_from_plugin is_format = is_format(filename) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\gse2\core.py", line 124, in _is_gse1 with open(filename, 'rb') as f: TypeError: expected str, bytes or os.PathLike object, not BufferedReader During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nied\tests\test_knet_reading.py", line 41, in test_read_knet_ascii_from_open_files tr = read(fh)[0] File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 677, in _generic_reader generic = callback_func(fh.name, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nied\tests\test_knet_reading.py", line 76, in test_station_name_hack tr = read(testfile, convert_stnm=True)[0] File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.nied.__init__ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nied\__init__.py", line 0, in __init__ ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nied\__init__.py", line 90, in obspy.io.nied.__init__ Failed example: st = read('/path/to/test.knet') Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.nied.__init__[5]>", line 1, in <module> st = read('/path/to/test.knet') File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nied\__init__.py", line 91, in obspy.io.nied.__init__ Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.nied.__init__[6]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nied\__init__.py", line 101, in obspy.io.nied.__init__ Failed example: st = read('/path/to/test.knet',convert_stnm=True) Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.nied.__init__[7]>", line 1, in <module> st = read('/path/to/test.knet',convert_stnm=True) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nied\__init__.py", line 102, in obspy.io.nied.__init__ Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.nied.__init__[8]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nied\__init__.py", line 109, in obspy.io.nied.__init__ Failed example: print(st[0].stats) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.nied.__init__[9]>", line 1, in <module> print(st[0].stats) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nied\__init__.py", line 123, in obspy.io.nied.__init__ Failed example: print(st[0].stats.knet.stlo) Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.nied.__init__[10]>", line 1, in <module> print(st[0].stats.knet.stlo) NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nied\__init__.py", line 126, in obspy.io.nied.__init__ Failed example: print(st[0].stats.knet.comment) Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.nied.__init__[11]>", line 1, in <module> print(st[0].stats.knet.comment) NameError: name 'st' is not defined
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nordic\tests\test_nordic.py", line 1013, in test_ellipse_plot with ImageComparison(self.testing_path, 'plot_ellipse.png', File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 418, in __enter__ rcParams['text.hinting'] = False File "C:\Users\huguowu\anaconda3\lib\site-packages\matplotlib\__init__.py", line 734, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\nordic\tests\test_nordic.py", line 1030, in test_ellipse_plot_tangents with ImageComparison(self.testing_path, 'plot_ellipse_tangents.png', File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 418, in __enter__ rcParams['text.hinting'] = False File "C:\Users\huguowu\anaconda3\lib\site-packages\matplotlib\__init__.py", line 734, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.pdas.core._read_pdas File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\pdas\core.py", line 45, in _read_pdas ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\pdas\core.py", line 61, in obspy.io.pdas.core._read_pdas Failed example: st = read("/path/to/p1246001.108") Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.pdas.core._read_pdas[1]>", line 1, in <module> st = read("/path/to/p1246001.108") File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\pdas\core.py", line 62, in obspy.io.pdas.core._read_pdas Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.pdas.core._read_pdas[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\pdas\core.py", line 64, in obspy.io.pdas.core._read_pdas Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.pdas.core._read_pdas[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\reftek\tests\test_core.py", line 216, in test_integration_with_obspy_core st_reftek = obspy.read( File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\reftek\tests\test_core.py", line 531, in test_reading_packet_with_vpu_float_string st = obspy.read(self.reftek_file_vpu, File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.reftek.__init__ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\reftek\__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\reftek\__init__.py", line 53, in obspy.io.reftek.__init__ Failed example: st = read("/path/to/225051000_00008656", network="BW", location="", component_codes="ZNE") Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.reftek.__init__[4]>", line 1, in <module> st = read("/path/to/225051000_00008656", network="BW", location="", File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\reftek\__init__.py", line 55, in obspy.io.reftek.__init__ Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.reftek.__init__[5]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\reftek\__init__.py", line 57, in obspy.io.reftek.__init__ Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.reftek.__init__[6]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\reftek\__init__.py", line 71, in obspy.io.reftek.__init__ Failed example: print(st[0].stats) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.reftek.__init__[7]>", line 1, in <module> print(st[0].stats) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE NameError: name 'st' is not defined
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\tests\test_read_rg16.py", line 126, in test_contacts_north_and_merge st = rc._read_rg16(filename, contacts_north=True, merge=True) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\util.py", line 28, in _open_file return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\core.py", line 81, in _read_rg16 traces = _quick_merge(traces) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\util.py", line 141, in _quick_merge ar, trace_ar = _trace_list_to_rec_array(traces) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\util.py", line 165, in _trace_list_to_rec_array dtype1 = [(nstr('id'), np.object), (nstr('starttime'), float), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'object'. `np.object` was a deprecated alias for the builtin `object`. To avoid this error in existing code, use `object` by itself. Doing this will not modify any behavior and is safe. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\tests\test_read_rg16.py", line 115, in test_merge st_merged = rc._read_rg16(fcnt_file, merge=True) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\util.py", line 28, in _open_file return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\core.py", line 81, in _read_rg16 traces = _quick_merge(traces) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\util.py", line 141, in _quick_merge ar, trace_ar = _trace_list_to_rec_array(traces) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\util.py", line 165, in _trace_list_to_rec_array dtype1 = [(nstr('id'), np.object), (nstr('starttime'), float), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'object'. `np.object` was a deprecated alias for the builtin `object`. To avoid this error in existing code, use `object` by itself. Doing this will not modify any behavior and is safe. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\tests\test_read_rg16.py", line 35, in test_reading_rg16_files st_1 = read(fcnt_file) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.rg16.__init__ File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\__init__.py", line 0, in __init__ ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\__init__.py", line 53, in obspy.io.rg16.__init__ Failed example: st = obspy.read(filename) Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.rg16.__init__[3]>", line 1, in <module> st = obspy.read(filename) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\__init__.py", line 59, in obspy.io.rg16.__init__ Failed example: st = obspy.read(filename, merge=True) Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.rg16.__init__[5]>", line 1, in <module> st = obspy.read(filename, merge=True) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations ---------------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\rg16\__init__.py", line 65, in obspy.io.rg16.__init__ Failed example: st = obspy.read(filename, contacts_north=True) Exception raised: Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.rg16.__init__[6]>", line 1, in <module> st = obspy.read(filename, contacts_north=True) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 300, in _map_example_filename return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 212, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 702, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 210, in uncompress_file result = func(filename, *args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\stream.py", line 256, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 432, in _read_from_plugin is_format = buffered_load_entry_point( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\css\core.py", line 25, in <module> b'c0': (b'S12', np.int), File "C:\Users\huguowu\anaconda3\lib\site-packages\numpy\__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\sac\tests\test_core.py", line 828, in test_decimate_resample tr.decimate(2) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\trace.py", line 273, in _add_processing_info result = func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\trace.py", line 1832, in decimate self.filter('lowpass_cheby_2', freq=freq, maxorder=12) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\trace.py", line 273, in _add_processing_info result = func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\decorator.py", line 234, in raise_if_masked return func(*args, **kwargs) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\trace.py", line 1541, in filter func = _get_function_from_entry_point('filter', type) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\base.py", line 331, in _get_function_from_entry_point func = buffered_load_entry_point(entry_point.dist.key, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\misc.py", line 651, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 486, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2867, in load_entry_point return ep.load() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2471, in load return self.resolve() File "C:\Users\huguowu\anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2477, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\spectral_estimation.py", line 47, in <module> from obspy.signal.invsim import cosine_taper File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\invsim.py", line 38, in <module> from obspy.signal import util File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\util.py", line 21, in <module> from scipy import fftpack, fix, signal ImportError: cannot import name 'fix' from 'scipy' (C:\Users\huguowu\anaconda3\lib\site-packages\scipy\__init__.py)
>>> Cannot import test suite for module obspy.io.xseed due to: -------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\Scripts\obspy-runtests-script.py", line 10, in <module> sys.exit(main()) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 747, in main errors = run(argv, interactive) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 711, in run return run_tests(verbosity, args.tests, report, args.log, args.server, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "C:\Users\huguowu\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName test = obj() File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\xseed\tests\__init__.py", line 17, in suite add_unittests(suite, MODULE_NAME) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 70, in add_unittests _module = __import__(_module_name, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\io\xseed\tests\test_core.py", line 22, in <module> from obspy.signal.invsim import evalresp_for_frequencies File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\spectral_estimation.py", line 47, in <module> from obspy.signal.invsim import cosine_taper File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\invsim.py", line 38, in <module> from obspy.signal import util File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\util.py", line 21, in <module> from scipy import fftpack, fix, signal ImportError: cannot import name 'fix' from 'scipy' (C:\Users\huguowu\anaconda3\lib\site-packages\scipy\__init__.py)
>>> Cannot import test suite for module obspy.realtime due to: -------------------------------------------------------------- File "C:\Users\huguowu\anaconda3\Scripts\obspy-runtests-script.py", line 10, in <module> sys.exit(main()) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 747, in main errors = run(argv, interactive) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 711, in run return run_tests(verbosity, args.tests, report, args.log, args.server, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 542, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\scripts\runtests.py", line 164, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "C:\Users\huguowu\anaconda3\lib\unittest\loader.py", line 205, in loadTestsFromName test = obj() File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\realtime\tests\__init__.py", line 17, in suite add_unittests(suite, MODULE_NAME) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 70, in add_unittests _module = __import__(_module_name, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\realtime\tests\test_rttrace.py", line 19, in <module> import obspy.signal.filter File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\spectral_estimation.py", line 47, in <module> from obspy.signal.invsim import cosine_taper File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\invsim.py", line 38, in <module> from obspy.signal import util File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\util.py", line 21, in <module> from scipy import fftpack, fix, signal ImportError: cannot import name 'fix' from 'scipy' (C:\Users\huguowu\anaconda3\lib\site-packages\scipy\__init__.py)
ImportError: Failed to import test module: signal Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\unittest\loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\spectral_estimation.py", line 47, in <module> from obspy.signal.invsim import cosine_taper File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\invsim.py", line 38, in <module> from obspy.signal import util File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\signal\util.py", line 21, in <module> from scipy import fftpack, fix, signal ImportError: cannot import name 'fix' from 'scipy' (C:\Users\huguowu\anaconda3\lib\site-packages\scipy\__init__.py)
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\taup\tests\test_plotting.py", line 102, in test_cartesian_many_phases with ImageComparison(self.image_dir, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 418, in __enter__ rcParams['text.hinting'] = False File "C:\Users\huguowu\anaconda3\lib\site-packages\matplotlib\__init__.py", line 734, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\taup\tests\test_plotting.py", line 114, in test_cartesian_many_phases_buried_station with ImageComparison(self.image_dir, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 418, in __enter__ rcParams['text.hinting'] = False File "C:\Users\huguowu\anaconda3\lib\site-packages\matplotlib\__init__.py", line 734, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\taup\tests\test_plotting.py", line 128, in test_cartesian_many_phases_one_way with ImageComparison(self.image_dir, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 418, in __enter__ rcParams['text.hinting'] = False File "C:\Users\huguowu\anaconda3\lib\site-packages\matplotlib\__init__.py", line 734, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\taup\tests\test_plotting.py", line 159, in test_plot_travel_times with ImageComparison(self.image_dir, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 418, in __enter__ rcParams['text.hinting'] = False File "C:\Users\huguowu\anaconda3\lib\site-packages\matplotlib\__init__.py", line 734, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\taup\tests\test_plotting.py", line 171, in test_plot_travel_times_convenience with ImageComparison( File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 418, in __enter__ rcParams['text.hinting'] = False File "C:\Users\huguowu\anaconda3\lib\site-packages\matplotlib\__init__.py", line 734, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\taup\tests\test_plotting.py", line 85, in test_spherical_diff_phases with ImageComparison(self.image_dir, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 418, in __enter__ rcParams['text.hinting'] = False File "C:\Users\huguowu\anaconda3\lib\site-packages\matplotlib\__init__.py", line 734, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\taup\tests\test_plotting.py", line 36, in test_spherical_many_phases with ImageComparison(self.image_dir, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 418, in __enter__ rcParams['text.hinting'] = False File "C:\Users\huguowu\anaconda3\lib\site-packages\matplotlib\__init__.py", line 734, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\taup\tests\test_plotting.py", line 49, in test_spherical_many_phases_buried_station with ImageComparison(self.image_dir, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 418, in __enter__ rcParams['text.hinting'] = False File "C:\Users\huguowu\anaconda3\lib\site-packages\matplotlib\__init__.py", line 734, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\taup\tests\test_plotting.py", line 62, in test_spherical_many_phases_one_way with ImageComparison(self.image_dir, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 418, in __enter__ rcParams['text.hinting'] = False File "C:\Users\huguowu\anaconda3\lib\site-packages\matplotlib\__init__.py", line 734, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\taup\tests\test_plotting.py", line 74, in test_spherical_more_then_360_degrees with ImageComparison(self.image_dir, File "C:\Users\huguowu\anaconda3\lib\site-packages\obspy\core\util\testing.py", line 418, in __enter__ rcParams['text.hinting'] = False File "C:\Users\huguowu\anaconda3\lib\site-packages\matplotlib\__init__.py", line 734, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Skipped tests (14)
Submodule | Test | Skip message |
---|---|---|
geodetics | test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
geodetics | test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
io.shapefile | test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_catalog_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_inventory_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
taup | test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) | test needs geographiclib >= 1.34 |
taup | test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) | Module geographiclib is not installed |
taup | test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) | test needs geographiclib >= 1.34 |
taup | test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) | test needs geographiclib >= 1.34 |
taup | test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) | Module geographiclib is not installed or too old. |
taup | test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) | Module geographiclib is not installed or too old. |
Slowest tests (20)
Runtime | Test |
---|---|
3.229s | test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) |
2.720s | __init__ (obspy.taup) |
2.075s | test_infinite_loop (obspy.io.mseed.tests.test_mseed_special_issues.MSEEDSpecialIssueTestCase) |
1.937s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
1.250s | test_read_and_write_traces (obspy.io.mseed.tests.test_mseed_reading_and_writing.MSEEDReadingAndWritingTestCase) |
1.222s | plot_travel_times (obspy.taup.tau) |
1.222s | test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase) |
1.051s | test_read_from_sds_with_wildcarded_seed_ids (obspy.clients.filesystem.tests.test_sds.SDSTestCase) |
1.048s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
1.014s | test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |
0.860s | test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase) |
0.611s | test_reading_and_writing_via_the_stats_attribute (obspy.io.mseed.tests.test_mseed_reading_and_writing.MSEEDReadingAndWritingTestCase) |
0.531s | test_long_year_range (obspy.io.mseed.tests.test_mseed_special_issues.MSEEDSpecialIssueTestCase) |
0.438s | __init__ (obspy.taup.tau.TauPyModel) |
0.430s | test_surface_wave_ttimes (obspy.taup.tests.test_tau.TauPyModelTestCase) |
0.426s | test_sds_report (obspy.clients.filesystem.tests.test_sds.SDSTestCase) |
0.418s | test_read_from_sds (obspy.clients.filesystem.tests.test_sds.SDSTestCase) |
0.371s | test_kennet_ak135_ttime_tables_p_deep (obspy.taup.tests.test_tau.TauPyModelTestCase) |
0.347s | test_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |
0.331s | test_kennet_ak135_ttime_tables_p_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase) |