#133968 Report by node DNK-H covering 2060 tests from 60 modules resulted into 23 errors

Report

ObsPy version
1.4.0
GitHub Pull Request
-
Report file
JSON document
Total runtime
151.0 sec
Report date/time
March 28, 2023, 3:01 a.m.

System / Python

Architecture
64bit
Machine
AMD64
Node
DNK-H
Processor
Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
Python Compiler
MSC v.1929 64 bit (AMD64)
Python Implementation
CPython
Python Version
3.9.7
Release
10
System
Windows
Version
10.0.22621

Dependencies

cartopy
---
decorator
5.1.1
flake8
---
geographiclib
---
lxml
4.9.2
matplotlib
3.6.3
numpy
1.23.5
obspy
1.4.0
pyproj
3.4.1
pytest
7.2.2
pytest-json-report
1.5.0
requests
2.28.2
scipy
1.10.1
setuptools
60.2.0
shapefile
---
sqlalchemy
2.0.7

Modules (60)

Module Errors / Failures Tracebacks
obspy.clients Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn - -
obspy.clients.filesystem 9 1 2 3 4 5 6 7 8 9
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.nrl - -
obspy.clients.seedlink Not tested -
obspy.clients.syngine Not tested -
obspy.core - -
obspy.core.event - -
obspy.core.inventory - -
obspy.core.util - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.alsep - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.dmx - -
obspy.io.focmec - -
obspy.io.gcf 10 10 11 12 13 14 15 16 17 18 19
obspy.io.gse2 - -
obspy.io.hypodd - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed 3 20 21 22
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde 1 23
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.rg16 - -
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 - -
obspy.taup - -
Summary 23 23

Tracebacks (23)

055 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
056
057 * :meth:`~Client.get_availability_extent()`:
058 Returns a list of (network, station, location, channel, earliest, latest)
059 tuples that represent the full extent of available data. This example
060 retrieves from the very small obspy test tsindex database a list of all
061 available ("BHZ") channel extents from the Global Seismograph Network
062 ("IU") for all times.
063
064 >>> extents = client.get_availability_extent(network="IU", channel="BHZ")
UNEXPECTED EXCEPTION: ValueError('Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x24866c53df0; network>, <sqlalchemy.sql.elements.Label at 0x24866c53280; station>, <sqlalchemy.sql.elements.Label at 0x24866c531f0; location>, <sqlalchemy.sql.elements.Label at 0x24866c493a0; channel>, <sqlalchemy.sql.elements.Label at 0x24866c49df0; starttime>, <sqlalchemy.sql.elements.Label at 0x24866c49130; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866c53df0; network>, <sqlalchemy.sql.elements.Label at 0x24866c53280; station>, <sqlalchemy.sql.elements.Label at 0x24866c531f0; location>, <sqlalchemy.sql.elements.Label at 0x24866c493a0; channel>, <sqlalchemy.sql.elements.Label at 0x24866c49df0; starttime>, <sqlalchemy.sql.elements.Label at 0x24866c49130; endtime>)?')
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1726, in _fetch_summary_rows
stmts = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1727, in <listcomp>
sa.select([
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 493, in select
return Select(*entities)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5161, in __init__
self._raw_columns = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5162, in <listcomp>
coercions.expect(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 652, in _literal_coercion
self._raise_for_expected(element, argname)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 1143, in _raise_for_expected
return super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 711, in _raise_for_expected
super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 536, 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 0x24866c53df0; network>, <sqlalchemy.sql.elements.Label at 0x24866c53280; station>, <sqlalchemy.sql.elements.Label at 0x24866c531f0; location>, <sqlalchemy.sql.elements.Label at 0x24866c493a0; channel>, <sqlalchemy.sql.elements.Label at 0x24866c49df0; starttime>, <sqlalchemy.sql.elements.Label at 0x24866c49130; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866c53df0; network>, <sqlalchemy.sql.elements.Label at 0x24866c53280; station>, <sqlalchemy.sql.elements.Label at 0x24866c531f0; location>, <sqlalchemy.sql.elements.Label at 0x24866c493a0; channel>, <sqlalchemy.sql.elements.Label at 0x24866c49df0; starttime>, <sqlalchemy.sql.elements.Label at 0x24866c49130; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Python39\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.filesystem.tsindex[6]>", line 1, in <module>
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 358, in get_availability_extent
summary_rows = self._get_summary_rows(network, station,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 597, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1744, in _fetch_summary_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x24866c53df0; network>, <sqlalchemy.sql.elements.Label at 0x24866c53280; station>, <sqlalchemy.sql.elements.Label at 0x24866c531f0; location>, <sqlalchemy.sql.elements.Label at 0x24866c493a0; channel>, <sqlalchemy.sql.elements.Label at 0x24866c49df0; starttime>, <sqlalchemy.sql.elements.Label at 0x24866c49130; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866c53df0; network>, <sqlalchemy.sql.elements.Label at 0x24866c53280; station>, <sqlalchemy.sql.elements.Label at 0x24866c531f0; location>, <sqlalchemy.sql.elements.Label at 0x24866c493a0; channel>, <sqlalchemy.sql.elements.Label at 0x24866c49df0; starttime>, <sqlalchemy.sql.elements.Label at 0x24866c49130; endtime>)?
D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py:64: UnexpectedException
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1546, in _fetch_index_rows
stmts = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1547, in <listcomp>
sa.select([
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 493, in select
return Select(*entities)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5161, in __init__
self._raw_columns = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5162, in <listcomp>
coercions.expect(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 652, in _literal_coercion
self._raise_for_expected(element, argname)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 1143, in _raise_for_expected
return super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 711, in _raise_for_expected
super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 536, 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 0x24866e583a0; network>, <sqlalchemy.sql.elements.Label at 0x24866e58ee0; station>, <sqlalchemy.sql.elements.Label at 0x24866e587c0; location>, <sqlalchemy.sql.elements.Label at 0x24866e58100; channel>, <sqlalchemy.sql.elements.Label at 0x24866e58490; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e56340; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e583a0; network>, <sqlalchemy.sql.elements.Label at 0x24866e58ee0; station>, <sqlalchemy.sql.elements.Label at 0x24866e587c0; location>, <sqlalchemy.sql.elements.Label at 0x24866e58100; channel>, <sqlalchemy.sql.elements.Label at 0x24866e58490; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e56340; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 380, in test_get_availability
actual_avail = client.get_availability(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 415, in get_availability
tsindex_rows = self._get_tsindex_rows(network, station,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 679, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1668, 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 0x24866e583a0; network>, <sqlalchemy.sql.elements.Label at 0x24866e58ee0; station>, <sqlalchemy.sql.elements.Label at 0x24866e587c0; location>, <sqlalchemy.sql.elements.Label at 0x24866e58100; channel>, <sqlalchemy.sql.elements.Label at 0x24866e58490; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e56340; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e583a0; network>, <sqlalchemy.sql.elements.Label at 0x24866e58ee0; station>, <sqlalchemy.sql.elements.Label at 0x24866e587c0; location>, <sqlalchemy.sql.elements.Label at 0x24866e58100; channel>, <sqlalchemy.sql.elements.Label at 0x24866e58490; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e56340; endtime>)?
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1726, in _fetch_summary_rows
stmts = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1727, in <listcomp>
sa.select([
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 493, in select
return Select(*entities)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5161, in __init__
self._raw_columns = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5162, in <listcomp>
coercions.expect(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 652, in _literal_coercion
self._raise_for_expected(element, argname)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 1143, in _raise_for_expected
return super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 711, in _raise_for_expected
super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 536, 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 0x24866e37610; network>, <sqlalchemy.sql.elements.Label at 0x24866e53640; station>, <sqlalchemy.sql.elements.Label at 0x24866e53a00; location>, <sqlalchemy.sql.elements.Label at 0x24866e53880; channel>, <sqlalchemy.sql.elements.Label at 0x24866e53e80; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e53a60; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e37610; network>, <sqlalchemy.sql.elements.Label at 0x24866e53640; station>, <sqlalchemy.sql.elements.Label at 0x24866e53a00; location>, <sqlalchemy.sql.elements.Label at 0x24866e53880; channel>, <sqlalchemy.sql.elements.Label at 0x24866e53e80; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e53a60; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 235, in test_get_availability_extent
actual_avail_extents = client.get_availability_extent(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 358, in get_availability_extent
summary_rows = self._get_summary_rows(network, station,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 597, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1744, in _fetch_summary_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x24866e37610; network>, <sqlalchemy.sql.elements.Label at 0x24866e53640; station>, <sqlalchemy.sql.elements.Label at 0x24866e53a00; location>, <sqlalchemy.sql.elements.Label at 0x24866e53880; channel>, <sqlalchemy.sql.elements.Label at 0x24866e53e80; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e53a60; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e37610; network>, <sqlalchemy.sql.elements.Label at 0x24866e53640; station>, <sqlalchemy.sql.elements.Label at 0x24866e53a00; location>, <sqlalchemy.sql.elements.Label at 0x24866e53880; channel>, <sqlalchemy.sql.elements.Label at 0x24866e53e80; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e53a60; endtime>)?
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1726, in _fetch_summary_rows
stmts = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1727, in <listcomp>
sa.select([
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 493, in select
return Select(*entities)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5161, in __init__
self._raw_columns = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5162, in <listcomp>
coercions.expect(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 652, in _literal_coercion
self._raise_for_expected(element, argname)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 1143, in _raise_for_expected
return super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 711, in _raise_for_expected
super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 536, 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 0x24866e3fc10; network>, <sqlalchemy.sql.elements.Label at 0x24866e39fd0; station>, <sqlalchemy.sql.elements.Label at 0x24866e39d30; location>, <sqlalchemy.sql.elements.Label at 0x24866e398b0; channel>, <sqlalchemy.sql.elements.Label at 0x24866e39e20; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e39130; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e3fc10; network>, <sqlalchemy.sql.elements.Label at 0x24866e39fd0; station>, <sqlalchemy.sql.elements.Label at 0x24866e39d30; location>, <sqlalchemy.sql.elements.Label at 0x24866e398b0; channel>, <sqlalchemy.sql.elements.Label at 0x24866e39e20; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e39130; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 174, in test_get_nslc
actual_nslc = client.get_nslc("I*,CU",
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 317, in get_nslc
summary_rows = self._get_summary_rows(network, station, location,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 597, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1744, in _fetch_summary_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x24866e3fc10; network>, <sqlalchemy.sql.elements.Label at 0x24866e39fd0; station>, <sqlalchemy.sql.elements.Label at 0x24866e39d30; location>, <sqlalchemy.sql.elements.Label at 0x24866e398b0; channel>, <sqlalchemy.sql.elements.Label at 0x24866e39e20; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e39130; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e3fc10; network>, <sqlalchemy.sql.elements.Label at 0x24866e39fd0; station>, <sqlalchemy.sql.elements.Label at 0x24866e39d30; location>, <sqlalchemy.sql.elements.Label at 0x24866e398b0; channel>, <sqlalchemy.sql.elements.Label at 0x24866e39e20; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e39130; endtime>)?
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1546, in _fetch_index_rows
stmts = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1547, in <listcomp>
sa.select([
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 493, in select
return Select(*entities)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5161, in __init__
self._raw_columns = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5162, in <listcomp>
coercions.expect(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 652, in _literal_coercion
self._raise_for_expected(element, argname)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 1143, in _raise_for_expected
return super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 711, in _raise_for_expected
super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 536, 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 0x24866e3fdc0; network>, <sqlalchemy.sql.elements.Label at 0x24866e3f070; station>, <sqlalchemy.sql.elements.Label at 0x24866e3f220; location>, <sqlalchemy.sql.elements.Label at 0x24866e3f490; channel>, <sqlalchemy.sql.elements.Label at 0x24866e3f910; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e3fc70; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e3fdc0; network>, <sqlalchemy.sql.elements.Label at 0x24866e3f070; station>, <sqlalchemy.sql.elements.Label at 0x24866e3f220; location>, <sqlalchemy.sql.elements.Label at 0x24866e3f490; channel>, <sqlalchemy.sql.elements.Label at 0x24866e3f910; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e3fc70; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 61, in test_get_waveforms
returned_stream = client.get_waveforms(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 262, in get_waveforms
return self._get_waveforms(query_rows, merge)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 623, in _get_waveforms
index_rows = self.request_handler._fetch_index_rows(query_rows)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1668, 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 0x24866e3fdc0; network>, <sqlalchemy.sql.elements.Label at 0x24866e3f070; station>, <sqlalchemy.sql.elements.Label at 0x24866e3f220; location>, <sqlalchemy.sql.elements.Label at 0x24866e3f490; channel>, <sqlalchemy.sql.elements.Label at 0x24866e3f910; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e3fc70; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e3fdc0; network>, <sqlalchemy.sql.elements.Label at 0x24866e3f070; station>, <sqlalchemy.sql.elements.Label at 0x24866e3f220; location>, <sqlalchemy.sql.elements.Label at 0x24866e3f490; channel>, <sqlalchemy.sql.elements.Label at 0x24866e3f910; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e3fc70; endtime>)?
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1546, in _fetch_index_rows
stmts = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1547, in <listcomp>
sa.select([
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 493, in select
return Select(*entities)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5161, in __init__
self._raw_columns = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5162, in <listcomp>
coercions.expect(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 652, in _literal_coercion
self._raise_for_expected(element, argname)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 1143, in _raise_for_expected
return super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 711, in _raise_for_expected
super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 536, 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 0x24866e4a1c0; network>, <sqlalchemy.sql.elements.Label at 0x24866e4abb0; station>, <sqlalchemy.sql.elements.Label at 0x24866e4ab20; location>, <sqlalchemy.sql.elements.Label at 0x24866e4a6d0; channel>, <sqlalchemy.sql.elements.Label at 0x24866e4a580; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e4aa90; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e4a1c0; network>, <sqlalchemy.sql.elements.Label at 0x24866e4abb0; station>, <sqlalchemy.sql.elements.Label at 0x24866e4ab20; location>, <sqlalchemy.sql.elements.Label at 0x24866e4a6d0; channel>, <sqlalchemy.sql.elements.Label at 0x24866e4a580; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e4aa90; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 141, in test_get_waveforms_bulk
returned_stream = client.get_waveforms_bulk(bulk_request)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 288, in get_waveforms_bulk
return self._get_waveforms(query_rows, merge)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 623, in _get_waveforms
index_rows = self.request_handler._fetch_index_rows(query_rows)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1668, 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 0x24866e4a1c0; network>, <sqlalchemy.sql.elements.Label at 0x24866e4abb0; station>, <sqlalchemy.sql.elements.Label at 0x24866e4ab20; location>, <sqlalchemy.sql.elements.Label at 0x24866e4a6d0; channel>, <sqlalchemy.sql.elements.Label at 0x24866e4a580; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e4aa90; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e4a1c0; network>, <sqlalchemy.sql.elements.Label at 0x24866e4abb0; station>, <sqlalchemy.sql.elements.Label at 0x24866e4ab20; location>, <sqlalchemy.sql.elements.Label at 0x24866e4a6d0; channel>, <sqlalchemy.sql.elements.Label at 0x24866e4a580; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e4aa90; endtime>)?
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1546, in _fetch_index_rows
stmts = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1547, in <listcomp>
sa.select([
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 493, in select
return Select(*entities)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5161, in __init__
self._raw_columns = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5162, in <listcomp>
coercions.expect(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 652, in _literal_coercion
self._raise_for_expected(element, argname)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 1143, in _raise_for_expected
return super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 711, in _raise_for_expected
super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 536, 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 0x24866e5f4f0; network>, <sqlalchemy.sql.elements.Label at 0x24866e5fb50; station>, <sqlalchemy.sql.elements.Label at 0x24866e5f580; location>, <sqlalchemy.sql.elements.Label at 0x24866e5fee0; channel>, <sqlalchemy.sql.elements.Label at 0x24866e5fe20; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e5f550; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e5f4f0; network>, <sqlalchemy.sql.elements.Label at 0x24866e5fb50; station>, <sqlalchemy.sql.elements.Label at 0x24866e5f580; location>, <sqlalchemy.sql.elements.Label at 0x24866e5fee0; channel>, <sqlalchemy.sql.elements.Label at 0x24866e5fe20; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e5f550; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 580, in test_has_data
self.assertTrue(client.has_data())
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 558, in has_data
avail_percentage = self.get_availability_percentage(network,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 494, in get_availability_percentage
avail = self.get_availability(network, station,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 415, in get_availability
tsindex_rows = self._get_tsindex_rows(network, station,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 679, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1668, 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 0x24866e5f4f0; network>, <sqlalchemy.sql.elements.Label at 0x24866e5fb50; station>, <sqlalchemy.sql.elements.Label at 0x24866e5f580; location>, <sqlalchemy.sql.elements.Label at 0x24866e5fee0; channel>, <sqlalchemy.sql.elements.Label at 0x24866e5fe20; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e5f550; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e5f4f0; network>, <sqlalchemy.sql.elements.Label at 0x24866e5fb50; station>, <sqlalchemy.sql.elements.Label at 0x24866e5f580; location>, <sqlalchemy.sql.elements.Label at 0x24866e5fee0; channel>, <sqlalchemy.sql.elements.Label at 0x24866e5fe20; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e5f550; endtime>)?
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1546, in _fetch_index_rows
stmts = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1547, in <listcomp>
sa.select([
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 493, in select
return Select(*entities)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5161, in __init__
self._raw_columns = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5162, in <listcomp>
coercions.expect(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 652, in _literal_coercion
self._raise_for_expected(element, argname)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 1143, in _raise_for_expected
return super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 711, in _raise_for_expected
super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 536, 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 0x24866e56be0; network>, <sqlalchemy.sql.elements.Label at 0x24866e3fbe0; station>, <sqlalchemy.sql.elements.Label at 0x24866e4a520; location>, <sqlalchemy.sql.elements.Label at 0x24866e4a850; channel>, <sqlalchemy.sql.elements.Label at 0x24866e4af10; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e4ad00; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e56be0; network>, <sqlalchemy.sql.elements.Label at 0x24866e3fbe0; station>, <sqlalchemy.sql.elements.Label at 0x24866e4a520; location>, <sqlalchemy.sql.elements.Label at 0x24866e4a850; channel>, <sqlalchemy.sql.elements.Label at 0x24866e4af10; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e4ad00; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 773, in test_build_file_list
self.assertRaisesRegex(OSError,
File "C:\Program Files\Python39\lib\unittest\case.py", line 1274, in assertRaisesRegex
return context.handle('assertRaisesRegex', args, kwargs)
File "C:\Program Files\Python39\lib\unittest\case.py", line 201, in handle
callable_obj(*args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1064, in build_file_list
tsindex = self.request_handler._fetch_index_rows()
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1668, 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 0x24866e56be0; network>, <sqlalchemy.sql.elements.Label at 0x24866e3fbe0; station>, <sqlalchemy.sql.elements.Label at 0x24866e4a520; location>, <sqlalchemy.sql.elements.Label at 0x24866e4a850; channel>, <sqlalchemy.sql.elements.Label at 0x24866e4af10; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e4ad00; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e56be0; network>, <sqlalchemy.sql.elements.Label at 0x24866e3fbe0; station>, <sqlalchemy.sql.elements.Label at 0x24866e4a520; location>, <sqlalchemy.sql.elements.Label at 0x24866e4a850; channel>, <sqlalchemy.sql.elements.Label at 0x24866e4af10; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e4ad00; endtime>)?
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1726, in _fetch_summary_rows
stmts = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1727, in <listcomp>
sa.select([
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 493, in select
return Select(*entities)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5161, in __init__
self._raw_columns = [
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\selectable.py", line 5162, in <listcomp>
coercions.expect(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect
resolved = impl._literal_coercion(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 652, in _literal_coercion
self._raise_for_expected(element, argname)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 1143, in _raise_for_expected
return super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 711, in _raise_for_expected
super()._raise_for_expected(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\sqlalchemy\sql\coercions.py", line 536, 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 0x24866e3f5e0; network>, <sqlalchemy.sql.elements.Label at 0x24866e39400; station>, <sqlalchemy.sql.elements.Label at 0x24866e39e50; location>, <sqlalchemy.sql.elements.Label at 0x24866e39670; channel>, <sqlalchemy.sql.elements.Label at 0x24866e41130; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e419d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e3f5e0; network>, <sqlalchemy.sql.elements.Label at 0x24866e39400; station>, <sqlalchemy.sql.elements.Label at 0x24866e39e50; location>, <sqlalchemy.sql.elements.Label at 0x24866e39670; channel>, <sqlalchemy.sql.elements.Label at 0x24866e41130; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e419d0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tests\test_tsindex.py", line 919, in test__fetch_summary_rows
ts_summary_data = request_handler._fetch_summary_rows(
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\tsindex.py", line 1744, in _fetch_summary_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x24866e3f5e0; network>, <sqlalchemy.sql.elements.Label at 0x24866e39400; station>, <sqlalchemy.sql.elements.Label at 0x24866e39e50; location>, <sqlalchemy.sql.elements.Label at 0x24866e39670; channel>, <sqlalchemy.sql.elements.Label at 0x24866e41130; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e419d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x24866e3f5e0; network>, <sqlalchemy.sql.elements.Label at 0x24866e39400; station>, <sqlalchemy.sql.elements.Label at 0x24866e39e50; location>, <sqlalchemy.sql.elements.Label at 0x24866e39670; channel>, <sqlalchemy.sql.elements.Label at 0x24866e41130; starttime>, <sqlalchemy.sql.elements.Label at 0x24866e419d0; endtime>)?
015 (https://www.gnu.org/copyleft/lesser.html)
016
017 Reading
018 -------
019
020 Similar to reading any other waveform data format using :mod:`obspy.core`
021 The format will be determined automatically.
022
023 >>> from obspy import read
024 >>> st = read("/path/to/20160603_1955n.gcf")
UNEXPECTED EXCEPTION: TypeError('Unknown format for file D:\\Личное\\Python Projects\\SP\\venv\\lib\\site-packages\\obspy\\io\\gcf\\tests\\data\\20160603_1955n.gcf')
Traceback (most recent call last):
File "C:\Program Files\Python39\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.gcf[1]>", line 1, in <module>
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 658, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 208, in uncompress_file
result = func(filename, *args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 249, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 403, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\data\20160603_1955n.gcf
D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\__init__.py:24: UnexpectedException
300 10 failure to decode data values (last data != RIC, may be
301 due to bad RIC!!!)
302 11 first first difference != 0 (may not be critical!!!)
303 21 status codes 10 + 11
304 ==== ==========================================================
305
306 .. rubric:: Example
307
308 >>> from obspy import read
309 >>> st = read("/path/to/20160603_1955n.gcf", format="GCF")
UNEXPECTED EXCEPTION: OSError('cannot open file D:\\Личное\\Python Projects\\SP\\venv\\lib\\site-packages\\obspy\\io\\gcf\\tests\\data\\20160603_1955n.gcf in read mode (missing read permissions for user?)')
Traceback (most recent call last):
File "C:\Program Files\Python39\lib\doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.gcf.core._read_gcf[1]>", line 1, in <module>
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 658, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 208, in uncompress_file
result = func(filename, *args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 249, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 423, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\core.py", line 376, in _read_gcf
raise IOError("cannot open file %s in read mode (missing "
OSError: cannot open file D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\data\20160603_1955n.gcf in read mode (missing read permissions for user?)
D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\core.py:309: UnexpectedException
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 128, in test_merge_gcf_stream
st1 = read(filename, headonly=True, channel_prefix="HN")
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 658, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 208, in uncompress_file
result = func(filename, *args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 249, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 403, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\data\20160603_1955n.gcf
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 111, in test_read_channel_prefix_via_obspy
st = read(filename, headonly=True, channel_prefix="HN")
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 658, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 208, in uncompress_file
result = func(filename, *args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 249, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 403, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\data\20160603_1955n.gcf
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 94, in test_read_head_via_module
st = _read_gcf(filename, headonly=True)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\core.py", line 376, in _read_gcf
raise IOError("cannot open file %s in read mode (missing "
OSError: cannot open file D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\data\20160603_1955n.gcf in read mode (missing read permissions for user?)
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 58, in test_read_head_via_obspy
st = read(filename, headonly=True)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 658, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 208, in uncompress_file
result = func(filename, *args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 249, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 403, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\data\20160603_1955n.gcf
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 170, in test_read_no_merge
st = read(filename, blockmerge=False, channel_prefix="HN")
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 658, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 208, in uncompress_file
result = func(filename, *args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 249, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 403, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\data\20160603_1910n.gcf
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 75, in test_read_via_module
st = _read_gcf(filename)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\core.py", line 376, in _read_gcf
raise IOError("cannot open file %s in read mode (missing "
OSError: cannot open file D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\data\20160603_1955n.gcf in read mode (missing read permissions for user?)
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 39, in test_read_via_obspy
st = read(filename)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 658, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 208, in uncompress_file
result = func(filename, *args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 249, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 403, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\data\20160603_1955n.gcf
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\test_core.py", line 153, in test_sps_d
st = read(filename, headonly=True, channel_prefix="HN")
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 658, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\decorator.py", line 208, in uncompress_file
result = func(filename, *args, **kwargs)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\stream.py", line 249, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\base.py", line 403, in _read_from_plugin
raise TypeError('Unknown format for file %s' % filename)
TypeError: Unknown format for file D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\gcf\tests\data\20160603_1910n.gcf
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\mseed\tests\test_mseed_reading_and_writing.py", line 902, in test_files_from_libmseed
ms.read(-1, 0, 1, 0)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\mseed\msstruct.py", line 137, in read
self.file.encode('ascii', 'strict'),
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-8: ordinal not in range(128)
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\mseed\tests\test_mseed_reading_and_writing.py", line 326, in test_read_single_record_to_msr
ms.read(-1, 0, 1, 0)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\mseed\msstruct.py", line 137, in read
self.file.encode('ascii', 'strict'),
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-8: ordinal not in range(128)
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\mseed\tests\test_mseed_special_issues.py", line 453, in test_issue312
ms = _MSStruct(filename)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\mseed\msstruct.py", line 68, in __init__
self.read(-1, 0, 1, 0)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\mseed\msstruct.py", line 137, in read
self.file.encode('ascii', 'strict'),
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-8: ordinal not in range(128)
Traceback (most recent call last):
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\pde\tests\test_mchedr.py", line 308, in test_write_quakeml
_write_quakeml(self.catalog, tf, validate=IS_RECENT_LXML)
File "D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\quakeml\core.py", line 1865, in _write_quakeml
raise AssertionError(
AssertionError: The final QuakeML file did not pass validation.

Skipped tests (37)

Submodule Test Skip message
core core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
core core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_ortho Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_combined_station_event_plot Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_ortho Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_local Skipped: cartopy not installed
core.util core/util/misc.py::obspy.core.util.misc.CatchOutput Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.SuppressOutput Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory Skipped: all tests skipped by +SKIP option
geodetics geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_with_geographiclib Skipped: Module geographiclib is not installed
geodetics geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_issue_375 Skipped: Module geographiclib is not installed
imaging imaging/tests/test_mopad_script.py::TestMopad::test_script_plot Skipped: Currently broken until further review.
imaging imaging/tests/test_scan.py::TestScan::test_scan_dir_no_permission Skipped: unable to remove read permission from a test file for testing purposes
io.ascii io/ascii/core.py::obspy.io.ascii.core._is_slist Skipped: all tests skipped by +SKIP option
io.ascii io/ascii/core.py::obspy.io.ascii.core._is_tspair Skipped: all tests skipped by +SKIP option
io.gcf io/gcf/core.py::obspy.io.gcf.core._write_gcf Skipped: all tests skipped by +SKIP option
io.nordic io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor Skipped: all tests skipped by +SKIP option
io.nordic io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag Skipped: all tests skipped by +SKIP option
io.pde io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr Skipped: all tests skipped by +SKIP option
io.quakeml io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml Skipped: all tests skipped by +SKIP option
io.seisan io/seisan/core.py::obspy.io.seisan.core._is_seisan Skipped: all tests skipped by +SKIP option
io.sh io/sh/core.py::obspy.io.sh.core._is_asc Skipped: all tests skipped by +SKIP option
io.sh io/sh/core.py::obspy.io.sh.core._is_q Skipped: all tests skipped by +SKIP option
io.wav io/wav/core.py::obspy.io.wav.core._is_wav Skipped: all tests skipped by +SKIP option
io.y io/y/core.py::obspy.io.y.core._is_y Skipped: all tests skipped by +SKIP option
signal signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata Skipped: all tests skipped by +SKIP option
signal signal/tests/test_invsim.py::InvSimTestCase::test_evalresp_file_like_object Skipped: unreproducible test fail encountered on Appveyor sometimes.
signal signal/tests/test_quality_control.py::QualityControlTestCase::test_schema_validation Skipped: Test requires the jsonschema module
taup taup/tests/test_ray_paths.py::TestRayPathCalculations::test_compute_ray_paths Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_tau.py::TestTauPyModel::test_p_iasp91_geo_manual Skipped: Module geographiclib is not installed
taup taup/tests/test_tau.py::TestTauPyModel::test_pierce_p_iasp91_geo Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_tau.py::TestTauPyModel::test_single_path_geo_iasp91 Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_taup_geo.py::TestTaupGeo::test_path_geo Skipped: Module geographiclib is not installed or too old.
taup taup/tests/test_taup_geo.py::TestTaupGeo::test_path_resampling Skipped: Module geographiclib is not installed or too old.

Slowest tests (20)

Runtime Test
4.771s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
4.255s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
4.160s taup/__init__.py::obspy.taup
3.760s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
2.787s signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
2.163s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
2.111s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
1.985s io/mseed/tests/test_mseed_special_issues.py::MSEEDSpecialIssueTestCase::test_infinite_loop
1.865s core/stream.py::obspy.core.stream.read
1.807s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
1.713s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
1.550s signal/tests/test_rotate.py::RotateTestCase::test_rotate2zne_against_lqt_different_combinations
1.503s taup/tests/test_taup_plotting.py::TestTauPyPlotting::test_spherical_many_phases
1.350s core/tests/test_trace.py::TestTrace::test_remove_response_plot
1.341s taup/tests/test_tau.py::TestTauPyModel::test_high_slowness_crust
1.335s signal/tests/test_polarization.py::PolarizationTestCase::test_polarization_vidale
1.296s signal/tests/test_tf_misfit.py::TestTfPlot::test_plot_tf_gofs
1.224s io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
1.178s taup/tests/test_taup_plotting.py::TestTauPyPlotting::test_spherical_many_phases_buried_station
1.160s signal/tests/test_interpolation.py::TestInterpolation::test_plot_lanczos_window

Warnings (3)

Stage Filename Category Message
collect D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\clients\filesystem\db.py:18 MovedIn20Warning The ``declarative_base()`` function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
runtest D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\io\quakeml\core.py:1112 UserWarning 'quakeml:us.anss.org/D/Личное/Python Projects/SP/venv/lib/site-packages/obspy/io/pde/tests/data/mchedr.dat' is not a valid QuakeML URI. It will be in the final file but note that the file will not be a valid QuakeML file.
runtest D:\Личное\Python Projects\SP\venv\lib\site-packages\obspy\core\util\misc.py:398 UserWarning PermissionError(13, 'Отказано в доступе')