#135406 Report by node gh-actions covering 1697 tests from 48 modules resulted into 59 errors

Report

ObsPy version
0.0.0.dev+0.g05cce59915
GitHub Pull Request
https://github.com/obspy/obspy/pull/7
Report file
XML document
Total runtime
109.7 sec
Report date/time
Sept. 4, 2023, 3:24 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
x86_64
Python Compiler
GCC 11.4.0
Python Implementation
CPython
Python Version
3.8.17
Release
5.15.0-1041-azure
System
Linux
Version
#48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023

Dependencies

cartopy
---
decorator
5.1.1
flake8
---
geographiclib
---
lxml.etree
4.9.3
m2crypto
---
matplotlib
3.7.2
mock
5.1.0
mpl_toolkits.basemap
1.3.8
numpy
1.24.4
pep8-naming
---
pyflakes
---
pyimgur
0.6.0
pyproj
1.9.6
requests
2.31.0
scipy
1.10.1
setuptools
68.1.2
shapefile
2.3.1
sqlalchemy
2.0.20

Modules (48)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem 9 1 2 3 4 5 6 7 8 9
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.nrl Not tested -
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core 19 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
obspy.db Not tested -
obspy.geodetics 1 29
obspy.imaging 1 30
obspy.io.ah 1 31
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css 1 32
obspy.io.dmx 4 33 34 35 36
obspy.io.focmec - -
obspy.io.gcf 6 37 38 39 40 41 42
obspy.io.gse2 - -
obspy.io.hypodd - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics 3 43 44 45
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied 5 46 47 48 49 50
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas 1 51
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek 3 52 53 54
obspy.io.rg16 4 55 56 57 58
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal 1 59
obspy.taup - -
Summary 59 59

Tracebacks (59)

Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1471, in _fetch_index_rows
stmts = [
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1472, in <listcomp>
sa.select([
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f83a19e96d0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a19e9640; station>, <sqlalchemy.sql.elements.Label at 0x7f83a19e99a0; location>, <sqlalchemy.sql.elements.Label at 0x7f83a19e96a0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a19e9730; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a19e9580; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a19e96d0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a19e9640; station>, <sqlalchemy.sql.elements.Label at 0x7f83a19e99a0; location>, <sqlalchemy.sql.elements.Label at 0x7f83a19e96a0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a19e9730; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a19e9580; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 383, in test_get_availability
actual_avail = client.get_availability(
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 433, in get_availability
tsindex_rows = self._get_tsindex_rows(network, station,
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 697, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1593, 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 0x7f83a19e96d0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a19e9640; station>, <sqlalchemy.sql.elements.Label at 0x7f83a19e99a0; location>, <sqlalchemy.sql.elements.Label at 0x7f83a19e96a0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a19e9730; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a19e9580; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a19e96d0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a19e9640; station>, <sqlalchemy.sql.elements.Label at 0x7f83a19e99a0; location>, <sqlalchemy.sql.elements.Label at 0x7f83a19e96a0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a19e9730; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a19e9580; endtime>)?
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1651, in _fetch_summary_rows
stmts = [
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1652, in <listcomp>
sa.select([
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f83a19e91c0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a19e99d0; station>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4d60; location>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4af0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4ac0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4be0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a19e91c0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a19e99d0; station>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4d60; location>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4af0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4ac0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4be0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 238, in test_get_availability_extent
actual_avail_extents = client.get_availability_extent(
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 376, in get_availability_extent
summary_rows = self._get_summary_rows(network, station,
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 615, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1669, 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 0x7f83a19e91c0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a19e99d0; station>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4d60; location>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4af0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4ac0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4be0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a19e91c0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a19e99d0; station>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4d60; location>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4af0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4ac0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a19e4be0; endtime>)?
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1651, in _fetch_summary_rows
stmts = [
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1652, in <listcomp>
sa.select([
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f83a1909fa0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1909f70; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1909880; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1909760; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1909970; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a19095b0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a1909fa0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1909f70; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1909880; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1909760; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1909970; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a19095b0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 177, in test_get_nslc
actual_nslc = client.get_nslc("I*,CU",
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 335, in get_nslc
summary_rows = self._get_summary_rows(network, station, location,
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 615, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1669, 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 0x7f83a1909fa0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1909f70; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1909880; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1909760; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1909970; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a19095b0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a1909fa0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1909f70; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1909880; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1909760; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1909970; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a19095b0; endtime>)?
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1471, in _fetch_index_rows
stmts = [
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1472, in <listcomp>
sa.select([
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f83a1891ee0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1891e50; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1891c70; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1891dc0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1891f10; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1891f40; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a1891ee0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1891e50; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1891c70; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1891dc0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1891f10; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1891f40; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 64, in test_get_waveforms
returned_stream = client.get_waveforms(
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 280, in get_waveforms
return self._get_waveforms(query_rows, merge)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 641, in _get_waveforms
index_rows = self.request_handler._fetch_index_rows(query_rows)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1593, 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 0x7f83a1891ee0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1891e50; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1891c70; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1891dc0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1891f10; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1891f40; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a1891ee0; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1891e50; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1891c70; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1891dc0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1891f10; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1891f40; endtime>)?
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1471, in _fetch_index_rows
stmts = [
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1472, in <listcomp>
sa.select([
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f83a1909490; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1909970; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1909940; location>, <sqlalchemy.sql.elements.Label at 0x7f83a189c670; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a189c3d0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a189c1f0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a1909490; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1909970; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1909940; location>, <sqlalchemy.sql.elements.Label at 0x7f83a189c670; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a189c3d0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a189c1f0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 144, in test_get_waveforms_bulk
returned_stream = client.get_waveforms_bulk(bulk_request)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 306, in get_waveforms_bulk
return self._get_waveforms(query_rows, merge)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 641, in _get_waveforms
index_rows = self.request_handler._fetch_index_rows(query_rows)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1593, 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 0x7f83a1909490; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1909970; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1909940; location>, <sqlalchemy.sql.elements.Label at 0x7f83a189c670; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a189c3d0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a189c1f0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a1909490; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1909970; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1909940; location>, <sqlalchemy.sql.elements.Label at 0x7f83a189c670; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a189c3d0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a189c1f0; endtime>)?
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1471, in _fetch_index_rows
stmts = [
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1472, in <listcomp>
sa.select([
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f83a18ec160; network>, <sqlalchemy.sql.elements.Label at 0x7f83a18ec670; station>, <sqlalchemy.sql.elements.Label at 0x7f83a18ec190; location>, <sqlalchemy.sql.elements.Label at 0x7f83a188fa60; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a188f970; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a18f80a0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a18ec160; network>, <sqlalchemy.sql.elements.Label at 0x7f83a18ec670; station>, <sqlalchemy.sql.elements.Label at 0x7f83a18ec190; location>, <sqlalchemy.sql.elements.Label at 0x7f83a188fa60; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a188f970; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a18f80a0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 583, in test_has_data
self.assertTrue(client.has_data())
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 576, in has_data
avail_percentage = self.get_availability_percentage(network,
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 512, in get_availability_percentage
avail = self.get_availability(network, station,
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 433, in get_availability
tsindex_rows = self._get_tsindex_rows(network, station,
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 697, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1593, 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 0x7f83a18ec160; network>, <sqlalchemy.sql.elements.Label at 0x7f83a18ec670; station>, <sqlalchemy.sql.elements.Label at 0x7f83a18ec190; location>, <sqlalchemy.sql.elements.Label at 0x7f83a188fa60; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a188f970; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a18f80a0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a18ec160; network>, <sqlalchemy.sql.elements.Label at 0x7f83a18ec670; station>, <sqlalchemy.sql.elements.Label at 0x7f83a18ec190; location>, <sqlalchemy.sql.elements.Label at 0x7f83a188fa60; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a188f970; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a18f80a0; endtime>)?
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1471, in _fetch_index_rows
stmts = [
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1472, in <listcomp>
sa.select([
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f83a18a8610; network>, <sqlalchemy.sql.elements.Label at 0x7f83a18a85b0; station>, <sqlalchemy.sql.elements.Label at 0x7f83a18a85e0; location>, <sqlalchemy.sql.elements.Label at 0x7f83a18a8520; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a18a87f0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a18a8700; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a18a8610; network>, <sqlalchemy.sql.elements.Label at 0x7f83a18a85b0; station>, <sqlalchemy.sql.elements.Label at 0x7f83a18a85e0; location>, <sqlalchemy.sql.elements.Label at 0x7f83a18a8520; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a18a87f0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a18a8700; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 784, in test_build_file_list
self.assertRaisesRegex(OSError,
File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/case.py", line 1357, in assertRaisesRegex
return context.handle('assertRaisesRegex', args, kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/case.py", line 202, in handle
callable_obj(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1081, in build_file_list
tsindex = self.request_handler._fetch_index_rows()
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1593, 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 0x7f83a18a8610; network>, <sqlalchemy.sql.elements.Label at 0x7f83a18a85b0; station>, <sqlalchemy.sql.elements.Label at 0x7f83a18a85e0; location>, <sqlalchemy.sql.elements.Label at 0x7f83a18a8520; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a18a87f0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a18a8700; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a18a8610; network>, <sqlalchemy.sql.elements.Label at 0x7f83a18a85b0; station>, <sqlalchemy.sql.elements.Label at 0x7f83a18a85e0; location>, <sqlalchemy.sql.elements.Label at 0x7f83a18a8520; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a18a87f0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a18a8700; endtime>)?
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1651, in _fetch_summary_rows
stmts = [
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1652, in <listcomp>
sa.select([
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f83a184e790; network>, <sqlalchemy.sql.elements.Label at 0x7f83a184e760; station>, <sqlalchemy.sql.elements.Label at 0x7f83a184ea30; location>, <sqlalchemy.sql.elements.Label at 0x7f83a184eb20; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a184ebb0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a184ec70; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a184e790; network>, <sqlalchemy.sql.elements.Label at 0x7f83a184e760; station>, <sqlalchemy.sql.elements.Label at 0x7f83a184ea30; location>, <sqlalchemy.sql.elements.Label at 0x7f83a184eb20; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a184ebb0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a184ec70; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 938, in test__fetch_summary_rows
ts_summary_data = request_handler._fetch_summary_rows(
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1669, 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 0x7f83a184e790; network>, <sqlalchemy.sql.elements.Label at 0x7f83a184e760; station>, <sqlalchemy.sql.elements.Label at 0x7f83a184ea30; location>, <sqlalchemy.sql.elements.Label at 0x7f83a184eb20; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a184ebb0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a184ec70; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a184e790; network>, <sqlalchemy.sql.elements.Label at 0x7f83a184e760; station>, <sqlalchemy.sql.elements.Label at 0x7f83a184ea30; location>, <sqlalchemy.sql.elements.Label at 0x7f83a184eb20; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a184ebb0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a184ec70; endtime>)?
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.filesystem.tsindex
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1, in tsindex
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/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 "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1651, in _fetch_summary_rows
stmts = [
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1652, in <listcomp>
sa.select([
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f83a1b41580; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41670; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41d90; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41ca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1ab0040; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1ab0130; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a1b41580; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41670; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41d90; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41ca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1ab0040; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1ab0130; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 376, in get_availability_extent
summary_rows = self._get_summary_rows(network, station,
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 615, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1669, 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 0x7f83a1b41580; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41670; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41d90; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41ca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1ab0040; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1ab0130; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a1b41580; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41670; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41d90; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41ca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1ab0040; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1ab0130; endtime>)?
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1471, in _fetch_index_rows
stmts = [
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1472, in <listcomp>
sa.select([
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f83a1b41a60; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41580; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41a30; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41640; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1b415b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41dc0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a1b41a60; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41580; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41a30; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41640; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1b415b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41dc0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 512, in get_availability_percentage
avail = self.get_availability(network, station,
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 433, in get_availability
tsindex_rows = self._get_tsindex_rows(network, station,
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 697, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1593, 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 0x7f83a1b41a60; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41580; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41a30; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41640; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1b415b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41dc0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a1b41a60; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41580; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41a30; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41640; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1b415b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41dc0; endtime>)?
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 99, in obspy.clients.filesystem.tsindex
Failed example:
st = client.get_waveforms("IU", "*", "*", "BHZ", t, t + 1)
Exception raised:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1471, in _fetch_index_rows
stmts = [
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1472, in <listcomp>
sa.select([
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 0x7f83a1b41670; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41640; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41730; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41a00; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1b415b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41d90; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a1b41670; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41640; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41730; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41a00; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1b415b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41d90; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.filesystem.tsindex[12]>", line 1, in <module>
st = client.get_waveforms("IU", "*", "*", "BHZ", t, t + 1)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 280, in get_waveforms
return self._get_waveforms(query_rows, merge)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 641, in _get_waveforms
index_rows = self.request_handler._fetch_index_rows(query_rows)
File "/home/runner/work/obspy/obspy/obspy/clients/filesystem/tsindex.py", line 1593, 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 0x7f83a1b41670; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41640; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41730; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41a00; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1b415b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41d90; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f83a1b41670; network>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41640; station>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41730; location>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41a00; channel>, <sqlalchemy.sql.elements.Label at 0x7f83a1b415b0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f83a1b41d90; endtime>)?
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_utcdatetime.py", line 1057, in test_floating_point_second_initialization
for microns in np.arange(0, 5999, dtype=np.int):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_stream.py", line 2219, in test_method_chaining
temp = st.trim(st[0].stats.starttime + 1, st[0].stats.starttime + 10)\
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2327, in resample
tr.resample(sampling_rate, window=window,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 375, in test_location_plot_local
net.plot(method='basemap', projection='local', resolution='l',
File "/home/runner/work/obspy/obspy/obspy/core/inventory/network.py", line 624, in plot
fig = plot_map(method, lons, lats, size, color, labels,
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 796, in plot_map
return plot_basemap(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 255, in plot_basemap
scatter = _plot_basemap_into_axes(
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 471, in _plot_basemap_into_axes
nan_points = np.isnan(np.array(color, dtype=np.float))
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 3231, in size
return a.size
AttributeError: 'list' object has no attribute 'size'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 355, in test_location_plot_ortho
net.plot(method='basemap', projection='ortho', resolution='c',
File "/home/runner/work/obspy/obspy/obspy/core/inventory/network.py", line 624, in plot
fig = plot_map(method, lons, lats, size, color, labels,
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 796, in plot_map
return plot_basemap(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 255, in plot_basemap
scatter = _plot_basemap_into_axes(
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 434, in _plot_basemap_into_axes
if np.size(getattr(bmap, 'coastsegs', [])):
File "<__array_function__ internals>", line 200, in size
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 3233, in size
return asarray(a).size
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (120,) + inhomogeneous part.
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_waveform_plugins.py", line 226, in test_is_format
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/core/tests/test_waveform_plugins.py", line 46, in test_raise_on_empty_file
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/core/tests/test_waveform_plugins.py", line 424, in test_raise_on_unknown_format
self.assertRaises(TypeError, read, tmpfile)
File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/case.py", line 816, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/case.py", line 202, in handle
callable_obj(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/core/tests/test_waveform_plugins.py", line 94, in test_read_and_write
st = read(outfile)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 2587, in test_dtype_is_not_unnecessarily_changed
self.assertEqual(tr_int32.copy().resample(2.0).data.dtype, np.float64)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1902, in test_interpolate
int_tr = org_tr.copy().interpolate(sampling_rate=1.0 / 0.003,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 2480, in interpolate
self.data = np.atleast_1d(func(
File "/home/runner/work/obspy/obspy/obspy/signal/interpolation.py", line 152, in weighted_average_slopes
sign_change = np.diff(np.sign(m)).astype(np.bool)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
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 "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 2042, in test_interpolation_arguments
interp_tr = tr.copy().interpolate(sampling_rate=0.3,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 2480, in interpolate
self.data = np.atleast_1d(func(
File "/home/runner/work/obspy/obspy/obspy/signal/interpolation.py", line 152, in weighted_average_slopes
sign_change = np.diff(np.sign(m)).astype(np.bool)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1649, in test_method_chaining
temp_tr = tr.trim(tr.stats.starttime + 1)\
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1826, in test_processing_information
tr.resample(tr.stats.sampling_rate / 2.0)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1622, in test_resample
tr_2 = tr.copy().resample(sampling_rate=50.0)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 2102, in test_resample_new
tr.resample(0.5, window='hanning', no_filter=True)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.interpolate
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2512, in interpolate
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2543, in obspy.core.stream.Stream.interpolate
Failed example:
st.interpolate(sampling_rate=111.1) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.interpolate[3]>", line 1, in <module>
st.interpolate(sampling_rate=111.1) # doctest: +ELLIPSIS
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2552, in interpolate
tr.interpolate(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 2480, in interpolate
self.data = np.atleast_1d(func(
File "/home/runner/work/obspy/obspy/obspy/signal/interpolation.py", line 152, in weighted_average_slopes
sign_change = np.diff(np.sign(m)).astype(np.bool)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
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 "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2545, in obspy.core.stream.Stream.interpolate
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03... - ... | 111.1 Hz, 3332 samples
BW.RJOB..EHN | 2009-08-24T00:20:03... - ... | 111.1 Hz, 3332 samples
BW.RJOB..EHE | 2009-08-24T00:20:03... - ... | 111.1 Hz, 3332 samples
Got:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.resample
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2272, in resample
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2318, in obspy.core.stream.Stream.resample
Failed example:
st.resample(10.0) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.resample[2]>", line 1, in <module>
st.resample(10.0) # doctest: +ELLIPSIS
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2327, in resample
tr.resample(sampling_rate, window=window,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 2320, in obspy.core.stream.Stream.resample
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z ... | 10.0 Hz, 300 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z ... | 10.0 Hz, 300 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z ... | 10.0 Hz, 300 samples
Got:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.interpolate
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 232, in interpolate
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 323, in obspy.core.trace.Trace.interpolate
Failed example:
tr.interpolate(sampling_rate=111.1) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.interpolate[3]>", line 1, in <module>
tr.interpolate(sampling_rate=111.1) # doctest: +ELLIPSIS
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 2480, in interpolate
self.data = np.atleast_1d(func(
File "/home/runner/work/obspy/obspy/obspy/signal/interpolation.py", line 152, in weighted_average_slopes
sign_change = np.diff(np.sign(m)).astype(np.bool)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
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 "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 325, in obspy.core.trace.Trace.interpolate
Failed example:
print(tr) # doctest: +ELLIPSIS
Expected:
BW.RJOB..EHZ | 2009-08-24T00:20:03... - ... | 111.1 Hz, 3332 samples
Got:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 335, in obspy.core.trace.Trace.interpolate
Failed example:
tr.interpolate(sampling_rate=111.1,
starttime=tr.stats.starttime + 10) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.interpolate[7]>", line 1, in <module>
tr.interpolate(sampling_rate=111.1,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 226, in raise_if_masked
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 2480, in interpolate
self.data = np.atleast_1d(func(
File "/home/runner/work/obspy/obspy/obspy/signal/interpolation.py", line 152, in weighted_average_slopes
sign_change = np.diff(np.sign(m)).astype(np.bool)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
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 "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 338, in obspy.core.trace.Trace.interpolate
Failed example:
print(tr) # doctest: +ELLIPSIS
Expected:
BW.RJOB..EHZ | 2009-08-24T00:20:13... - ... | 111.1 Hz, 2221 samples
Got:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.resample
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 232, in resample
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 278, in obspy.core.trace.Trace.resample
Failed example:
tr.resample(4.0) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.resample[3]>", line 1, in <module>
tr.resample(4.0) # doctest: +ELLIPSIS
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in _add_processing_info
result = func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 1740, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 280, in obspy.core.trace.Trace.resample
Failed example:
len(tr)
Expected:
32
Got:
8
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 282, in obspy.core.trace.Trace.resample
Failed example:
tr.stats.sampling_rate
Expected:
4.0
Got:
1.0
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 284, in obspy.core.trace.Trace.resample
Failed example:
tr.data # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Expected:
array([ 0.5 , 0.40432914, 0.3232233 , 0.26903012, 0.25 ...
Got:
array([ 0.5, 0. , 0.5, 1. , 0.5, 0. , 0.5, 1. ])
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.geodetics.base.locations2degrees
File "/home/runner/work/obspy/obspy/obspy/geodetics/base.py", line 329, in locations2degrees
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/geodetics/base.py", line 353, in obspy.geodetics.base.locations2degrees
Failed example:
locations2degrees(5, 5, 10, 10)
Expected:
7.0397014191753815
Got:
7.0397014191753851
>>> Cannot import test suite for module obspy.imaging due to:
-------------------------------------------------------------
File "/usr/share/miniconda3/envs/test/bin/coverage", line 11, in <module>
sys.exit(main())
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 973, in main
status = CoverageScript().command_line(argv)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 684, in command_line
return self.do_run(options, args)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 861, in do_run
runner.run()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/execfile.py", line 211, in run
exec(code, main_mod.__dict__)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 755, in <module>
errors = run(interactive=False)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 709, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 538, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 162, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/loader.py", line 205, in loadTestsFromName
test = obj()
File "/home/runner/work/obspy/obspy/obspy/imaging/tests/__init__.py", line 20, in suite
add_unittests(suite, MODULE_NAME)
File "/home/runner/work/obspy/obspy/obspy/core/util/testing.py", line 63, in add_unittests
_module = __import__(_module_name,
File "/home/runner/work/obspy/obspy/obspy/imaging/tests/test_ppsd.py", line 12, in <module>
from obspy.signal.tests.test_spectral_estimation import _get_ppsd
File "/home/runner/work/obspy/obspy/obspy/signal/tests/test_spectral_estimation.py", line 90, in <module>
_ppsd = _internal_get_ppsd()
File "/home/runner/work/obspy/obspy/obspy/signal/tests/test_spectral_estimation.py", line 86, in _internal_get_ppsd
ppsd.calculate_histogram()
File "/home/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 1182, in calculate_histogram
selected = self._stack_selection(
File "/home/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 1045, in _stack_selection
selected = np.ones(len(times_all), dtype=np.bool)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
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 "/home/runner/work/obspy/obspy/obspy/io/ah/tests/test_core.py", line 63, in test_read
st = read(testfile)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/usr/share/miniconda3/envs/test/bin/coverage", line 11, in <module>
sys.exit(main())
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 973, in main
status = CoverageScript().command_line(argv)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 684, in command_line
return self.do_run(options, args)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 861, in do_run
runner.run()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/execfile.py", line 211, in run
exec(code, main_mod.__dict__)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 755, in <module>
errors = run(interactive=False)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 709, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 538, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 162, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/loader.py", line 205, in loadTestsFromName
test = obj()
File "/home/runner/work/obspy/obspy/obspy/io/css/tests/__init__.py", line 12, in suite
add_doctests(suite, MODULE_NAME)
File "/home/runner/work/obspy/obspy/obspy/core/util/testing.py", line 112, in add_doctests
_module = __import__(_module_name,
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/io/dmx/tests/test_core.py", line 82, in test_check_data_content_sum
st = read(filename)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/io/dmx/tests/test_core.py", line 30, in test_read_via_obspy
st = read(filename)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/io/dmx/tests/test_core.py", line 68, in test_read_with_station
st = read(filename, station='EMPL')
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.dmx.__init__
File "/home/runner/work/obspy/obspy/obspy/io/dmx/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/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 "/home/runner/work/obspy/obspy/obspy/io/gcf/tests/test_core.py", line 125, in test_merge_gcf_stream
st1 = read(filename, headonly=True, channel_prefix="HN")
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/io/gcf/tests/test_core.py", line 108, in test_read_channel_prefix_via_obspy
st = read(filename, headonly=True, channel_prefix="HN")
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/io/gcf/tests/test_core.py", line 55, in test_read_head_via_obspy
st = read(filename, headonly=True)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/io/gcf/tests/test_core.py", line 36, in test_read_via_obspy
st = read(filename)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/io/gcf/tests/test_core.py", line 150, in test_sps_d
st = read(filename, headonly=True, channel_prefix="HN")
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gcf.__init__
File "/home/runner/work/obspy/obspy/obspy/io/gcf/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/io/kinemetrics/tests/test_core.py", line 78, in test_read_via_obspy
st = read(filename)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin
is_format = is_format(filename)
File "/home/runner/work/obspy/obspy/obspy/io/gse2/core.py", line 120, in _is_gse1
with open(filename, 'rb') as f:
TypeError: expected str, bytes or os.PathLike object, not _io.BytesIO
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/io/kinemetrics/tests/test_core.py", line 127, in test_reading_via_obspy_and_bytesio
st = read(buf)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 665, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.kinemetrics.__init__
File "/home/runner/work/obspy/obspy/obspy/io/kinemetrics/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/obspy/io/nied/tests/test_knet_reading.py", line 22, in test_read_knet_ascii
tr = read(testfile)[0]
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin
is_format = is_format(filename)
File "/home/runner/work/obspy/obspy/obspy/io/gse2/core.py", line 120, in _is_gse1
with open(filename, 'rb') as f:
TypeError: expected str, bytes or os.PathLike object, not _io.BytesIO
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/io/nied/tests/test_knet_reading.py", line 56, in test_read_knet_ascii_from_bytes_io
tr = read(buf)[0]
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 665, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 142, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 432, in _read_from_plugin
is_format = is_format(filename)
File "/home/runner/work/obspy/obspy/obspy/io/gse2/core.py", line 120, in _is_gse1
with open(filename, 'rb') as f:
TypeError: expected str, bytes or os.PathLike object, not _io.BufferedReader
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/io/nied/tests/test_knet_reading.py", line 37, in test_read_knet_ascii_from_open_files
tr = read(fh)[0]
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 665, in _generic_reader
generic = callback_func(fh.name, **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/io/nied/tests/test_knet_reading.py", line 72, in test_station_name_hack
tr = read(testfile, convert_stnm=True)[0]
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.nied.__init__
File "/home/runner/work/obspy/obspy/obspy/io/nied/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.pdas.core._read_pdas
File "/home/runner/work/obspy/obspy/obspy/io/pdas/core.py", line 41, in _read_pdas
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/io/pdas/core.py", line 57, in obspy.io.pdas.core._read_pdas
Failed example:
st = read("/path/to/p1246001.108")
Exception raised:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/io/pdas/core.py", line 58, in obspy.io.pdas.core._read_pdas
Failed example:
st # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/obspy/io/pdas/core.py", line 60, in obspy.io.pdas.core._read_pdas
Failed example:
print(st) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/obspy/io/reftek/tests/test_core.py", line 216, in test_integration_with_obspy_core
st_reftek = obspy.read(
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.reftek.__init__
File "/home/runner/work/obspy/obspy/obspy/io/reftek/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/io/rg16/util.py", line 23, in _open_file
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/io/rg16/core.py", line 77, in _read_rg16
traces = _quick_merge(traces)
File "/home/runner/work/obspy/obspy/obspy/io/rg16/util.py", line 141, in _quick_merge
ar, trace_ar = _trace_list_to_rec_array(traces)
File "/home/runner/work/obspy/obspy/obspy/io/rg16/util.py", line 165, in _trace_list_to_rec_array
dtype1 = [('id', np.object), ('starttime', float),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/io/rg16/tests/test_read_rg16.py", line 115, in test_merge
st_merged = rc._read_rg16(fcnt_file, merge=True)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/io/rg16/util.py", line 23, in _open_file
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/io/rg16/core.py", line 77, in _read_rg16
traces = _quick_merge(traces)
File "/home/runner/work/obspy/obspy/obspy/io/rg16/util.py", line 141, in _quick_merge
ar, trace_ar = _trace_list_to_rec_array(traces)
File "/home/runner/work/obspy/obspy/obspy/io/rg16/util.py", line 165, in _trace_list_to_rec_array
dtype1 = [('id', np.object), ('starttime', float),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/obspy/io/rg16/tests/test_read_rg16.py", line 35, in test_reading_rg16_files
st_1 = read(fcnt_file)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.rg16.__init__
File "/home/runner/work/obspy/obspy/obspy/io/rg16/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.rg16.__init__[3]>", line 1, in <module>
st = obspy.read(filename)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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 "/home/runner/work/obspy/obspy/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 1336, 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 "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 291, in _map_example_filename
return func(*args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 207, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 692, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/work/obspy/obspy/obspy/core/util/decorator.py", line 202, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 248, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 420, in _read_from_plugin
is_format = buffered_load_entry_point(
File "/home/runner/work/obspy/obspy/obspy/core/util/misc.py", line 632, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2931, in load_entry_point
return ep.load()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2518, in load
return self.resolve()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2524, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/runner/work/obspy/obspy/obspy/io/css/core.py", line 21, in <module>
b'c0': (b'S12', np.int),
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, 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.signal due to:
------------------------------------------------------------
File "/usr/share/miniconda3/envs/test/bin/coverage", line 11, in <module>
sys.exit(main())
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 973, in main
status = CoverageScript().command_line(argv)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 684, in command_line
return self.do_run(options, args)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 861, in do_run
runner.run()
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/execfile.py", line 211, in run
exec(code, main_mod.__dict__)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 755, in <module>
errors = run(interactive=False)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 709, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 538, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 162, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/share/miniconda3/envs/test/lib/python3.8/unittest/loader.py", line 205, in loadTestsFromName
test = obj()
File "/home/runner/work/obspy/obspy/obspy/signal/tests/__init__.py", line 13, in suite
add_unittests(suite, MODULE_NAME)
File "/home/runner/work/obspy/obspy/obspy/core/util/testing.py", line 63, in add_unittests
_module = __import__(_module_name,
File "/home/runner/work/obspy/obspy/obspy/signal/tests/test_spectral_estimation.py", line 90, in <module>
_ppsd = _internal_get_ppsd()
File "/home/runner/work/obspy/obspy/obspy/signal/tests/test_spectral_estimation.py", line 86, in _internal_get_ppsd
ppsd.calculate_histogram()
File "/home/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 1182, in calculate_histogram
selected = self._stack_selection(
File "/home/runner/work/obspy/obspy/obspy/signal/spectral_estimation.py", line 1045, in _stack_selection
selected = np.ones(len(times_all), dtype=np.bool)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
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

Skipped tests (30)

Submodule Test Skip message
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) unsupported proj4 library
core test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
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
taup test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_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_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) test needs geographiclib >= 1.34

Slowest tests (20)

Runtime Test
9.652s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
6.682s __init__ (obspy.taup)
4.789s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.090s read (obspy.core.stream)
3.019s plot_travel_times (obspy.taup.tau)
2.893s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
2.705s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.604s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.358s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
2.139s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
1.610s test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase)
1.559s test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase)
1.387s test_plot_travel_times_convenience (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
1.270s test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
1.247s test_surface_wave_ttimes (obspy.taup.tests.test_tau.TauPyModelTestCase)
1.101s test_spherical_many_phases_one_way (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
1.096s __init__ (obspy.taup.tau.TauPyModel)
1.044s test_spherical_many_phases_buried_station (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
1.041s test_cartesian_many_phases_one_way (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
0.977s test_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)