#130544 Report by node gh-actions covering 1768 tests from 59 modules resulted into 60 errors

Report

ObsPy version
1.0.1.post0+5566.g94a31d2078.…
GitHub Pull Request
-
Report file
JSON document
Total runtime
334.4 sec
Report date/time
Nov. 16, 2022, 4:56 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
gh-actions
Processor
i386
Python Compiler
Clang 14.0.4
Python Implementation
CPython
Python Version
3.11.0
Release
20.6.0
System
Darwin
Version
Darwin Kernel Version 20.6.0: Thu Sep 29 20:15:11 PDT 2022; root:xnu-7195.141.42~1/RELEASE_X86_64

Dependencies

cartopy
0.21.0
decorator
5.1.1
flake8
---
geographiclib
2.0
lxml
4.9.1
matplotlib
3.6.2
numpy
1.23.4
obspy
1.0.1.post0+5566.g94a31d2078.fmassin.master
pyproj
3.4.0
pytest
7.2.0
pytest-json-report
1.5.0
requests
2.28.1
scipy
1.9.3
setuptools
65.5.1
shapefile
---
sqlalchemy
1.4.44

Modules (59)

Module Errors / Failures Tracebacks
obspy.clients.earthworm Not tested -
obspy.clients.fdsn - -
obspy.clients.filesystem - -
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.nrl 1 1
obspy.clients.seedlink Not tested -
obspy.clients.syngine Not tested -
obspy.core 54 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
obspy.core.event - -
obspy.core.inventory 1 19
obspy.core.util 2 57 58
obspy.geodetics - -
obspy.imaging 1 59
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 - -
obspy.io.gse2 - -
obspy.io.hypodd - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.rg16 - -
obspy.io.sac 1 60
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 Not tested -
obspy.taup - -
Summary 60 60

Tracebacks (60)

Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/nrl/tests/test_nrl.py", line 53, in test_get_response
resp = self.nrl_local.get_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/nrl/client.py", line 264, in get_response
dl_resp.recalculate_overall_sensitivity()
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1040, in recalculate_overall_sensitivity
freq, gain = self._get_overall_sensitivity_and_gain(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1081, in _get_overall_sensitivity_and_gain
response_at_frequency = self._call_eval_resp_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1131, in _call_eval_resp_for_frequencies
import obspy.signal.evrespwrapper as ew
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
3538
3539 Rotate three explicitly specified channels to ZNE.
3540
3541 >>> from obspy import read, read_inventory
3542 >>> st = read("/path/to/ffbx_unrotated_gaps.mseed")
3543 >>> inv = read_inventory("/path/to/ffbx.stationxml")
3544 >>> st._rotate_specific_channels_to_zne(
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream._rotate_specific_channels_to_zne[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 3562, in _rotate_specific_channels_to_zne
from obspy.signal.rotate import rotate2zne
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:3544: UnexpectedException
3480
3481 Rotate all matching traces to ZNE, specifying sets of component codes.
3482
3483 >>> from obspy import read, read_inventory
3484 >>> st = read("/path/to/ffbx_unrotated_gaps.mseed")
3485 >>> inv = read_inventory("/path/to/ffbx.stationxml")
3486 >>> st._rotate_to_zne(inv) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream._rotate_to_zne[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 3532, in _rotate_to_zne
self._rotate_specific_channels_to_zne(
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 3562, in _rotate_specific_channels_to_zne
from obspy.signal.rotate import rotate2zne
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:3486: UnexpectedException
2425 the effect of the downsampling routine becomes clearer.
2426
2427 >>> from obspy import Trace, Stream
2428 >>> tr = Trace(data=np.arange(10))
2429 >>> st = Stream(traces=[tr])
2430 >>> tr.stats.sampling_rate
2431 1.0
2432 >>> tr.data
2433 array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
2434 >>> st.decimate(4, strict_length=False, no_filter=True)
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.decimate[5]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2443, in decimate
tr.decimate(factor, no_filter=no_filter,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1854, in decimate
from obspy.signal.filter import integer_decimation
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2434: UnexpectedException
2222
2223 ``'remez_fir'`` (experimental)
2224 Minimax optimal bandpass using Remez algorithm (uses
2225 :func:`obspy.signal.filter.remez_fir`).
2226
2227 .. rubric:: Example
2228
2229 >>> from obspy import read
2230 >>> st = read()
2231 >>> st.filter("highpass", freq=1.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.filter[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2243, in filter
tr.filter(type, **options)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1551, in filter
func = _get_function_from_entry_point('filter', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2231: UnexpectedException
2582 a copy of your stream object.
2583
2584 >>> from obspy import read
2585 >>> st = read()
2586 >>> print(st) # doctest: +ELLIPSIS
2587 3 Trace(s) in Stream:
2588 BW.RJOB..EHZ | 2009-08-24T00:20:03... - ... | 100.0 Hz, 3000 samples
2589 BW.RJOB..EHN | 2009-08-24T00:20:03... - ... | 100.0 Hz, 3000 samples
2590 BW.RJOB..EHE | 2009-08-24T00:20:03... - ... | 100.0 Hz, 3000 samples
2591 >>> st.interpolate(sampling_rate=111.1) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.interpolate[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2600, in interpolate
tr.interpolate(*args, **kwargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2482, in interpolate
func = _get_function_from_entry_point('interpolate', method)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2591: UnexpectedException
3205 Deconvolve instrument response for all Traces in Stream.
3206
3207 For details see the corresponding
3208 :meth:`~obspy.core.trace.Trace.remove_response` method of
3209 :class:`~obspy.core.trace.Trace`.
3210
3211 >>> from obspy import read, read_inventory
3212 >>> st = read()
3213 >>> inv = read_inventory()
3214 >>> st.remove_response(inventory=inv) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.remove_response[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 3234, in remove_response
tr.remove_response(*args, **kwargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2827, in remove_response
from obspy.signal.invsim import (cosine_taper, cosine_sac_taper,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:3214: UnexpectedException
2740 :param inventory: Inventory or SEED Parser with metadata of channels.
2741
2742 Example to rotate unaligned borehole instrument data based on station
2743 inventory (a dataless SEED :class:`~obspy.io.xseed.parser.Parser` can
2744 also be provided, see details for option ``inventory``):
2745
2746 >>> from obspy import read, read_inventory
2747 >>> st = read("/path/to/ffbx_unrotated_gaps.mseed")
2748 >>> inv = read_inventory("/path/to/ffbx.stationxml")
2749 >>> st.rotate(method="->ZNE", inventory=inv) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.rotate[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2773, in rotate
st.rotate(method, back_azimuth=back_azimuth,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2786, in rotate
return self._rotate_to_zne(inventory, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 3532, in _rotate_to_zne
self._rotate_specific_channels_to_zne(
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 3562, in _rotate_specific_channels_to_zne
from obspy.signal.rotate import rotate2zne
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2749: UnexpectedException
2135 raw data is not accessible anymore afterwards. To keep your
2136 original data, use :meth:`~obspy.core.stream.Stream.copy` to create
2137 a copy of your stream object.
2138 This also makes an entry with information on the applied processing
2139 in ``stats.processing`` of every trace.
2140
2141 .. rubric:: Example
2142
2143 >>> from obspy import read
2144 >>> from obspy.signal.invsim import corn_freq_2_paz
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.simulate[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2144: UnexpectedException
3293 :param npts_tol: Tolerate traces with different number of points
3294 with a difference up to this value. Surplus samples are discarded.
3295 :type time_tol: float
3296 :param time_tol: Tolerate difference, in seconds, in startime when
3297 setting the new starttime of the stack. If starttimes differs more
3298 than this value it will be set to timestamp 0.
3299
3300 >>> from obspy import read
3301 >>> st = read()
3302 >>> stack = st.stack()
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.stack[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 3314, in stack
from obspy.signal.util import stack as stack_func
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:3302: UnexpectedException
2289 :func:`obspy.signal.trigger.carl_sta_trig`).
2290
2291 ``'zdetect'``
2292 Z-detector (uses :func:`obspy.signal.trigger.z_detect`).
2293
2294 .. rubric:: Example
2295
2296 >>> from obspy import read
2297 >>> st = read()
2298 >>> st.filter("highpass", freq=1.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.trigger[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2243, in filter
tr.filter(type, **options)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1551, in filter
func = _get_function_from_entry_point('filter', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py:2298: UnexpectedException
1820
1821 For the example we switch off the automatic pre-filtering so that
1822 the effect of the downsampling routine becomes clearer:
1823
1824 >>> tr = Trace(data=np.arange(10))
1825 >>> tr.stats.sampling_rate
1826 1.0
1827 >>> tr.data
1828 array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
1829 >>> tr.decimate(4, strict_length=False,
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.decimate[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1854, in decimate
from obspy.signal.filter import integer_decimation
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:1829: UnexpectedException
2013 samples between spline nodes.
2014 (uses :func:`obspy.signal.detrend.spline`).
2015
2016 .. rubric:: Example
2017
2018 Apply a third order spline detrend with 500 samples between nodes.
2019
2020 >>> from obspy import read
2021 >>> tr = read()[0]
2022 >>> tr.detrend("spline", order=3, dspline=500)
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.detrend[2]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2028, in detrend
func = _get_function_from_entry_point('detrend', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:2022: UnexpectedException
1528 ``'remez_fir'`` (experimental)
1529 Minimax optimal bandpass using Remez algorithm (uses
1530 :func:`obspy.signal.filter.remez_fir`).
1531
1532 .. rubric:: Example
1533
1534 >>> from obspy import read
1535 >>> st = read()
1536 >>> tr = st[0]
1537 >>> tr.filter("highpass", freq=1.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.filter[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1551, in filter
func = _get_function_from_entry_point('filter', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:1537: UnexpectedException
2432 * New interpolation method ``lanczos``.
2433
2434
2435 .. rubric:: _`Usage Examples`
2436
2437 >>> from obspy import read
2438 >>> tr = read()[0]
2439 >>> print(tr) # doctest: +ELLIPSIS
2440 BW.RJOB..EHZ | 2009-08-24T00:20:03... - ... | 100.0 Hz, 3000 samples
2441 >>> tr.interpolate(sampling_rate=111.1) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.interpolate[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2482, in interpolate
func = _get_function_from_entry_point('interpolate', method)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:2441: UnexpectedException
2727 ``pitsasim=False`` which influence very minor details in detrending
2728 and tapering).
2729
2730 .. rubric:: Example
2731
2732 >>> from obspy import read, read_inventory
2733 >>> st = read()
2734 >>> tr = st[0].copy()
2735 >>> inv = read_inventory()
2736 >>> tr.remove_response(inventory=inv) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.remove_response[4]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2827, in remove_response
from obspy.signal.invsim import (cosine_taper, cosine_sac_taper,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:2736: UnexpectedException
1404 raw data is not accessible anymore afterwards. To keep your
1405 original data, use :meth:`~obspy.core.trace.Trace.copy` to create
1406 a copy of your trace object.
1407 This also makes an entry with information on the applied processing
1408 in ``stats.processing`` of this trace.
1409
1410 .. rubric:: Example
1411
1412 >>> from obspy import read
1413 >>> from obspy.signal.invsim import corn_freq_2_paz
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.simulate[1]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:1413: UnexpectedException
1604
1605 ``'zdetect'``
1606 Z-detector (uses :func:`obspy.signal.trigger.z_detect`).
1607
1608 .. rubric:: Example
1609
1610 >>> from obspy import read
1611 >>> st = read()
1612 >>> tr = st[0]
1613 >>> tr.filter("highpass", freq=1.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.trigger[3]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1551, in filter
func = _get_function_from_entry_point('filter', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py:1613: UnexpectedException
176
177 For more examples see the :ref:`Obspy Gallery <gallery>`.
178
179 Dealing with the Response information
180 -------------------------------------
181 The :meth:`~obspy.core.inventory.response.Response.get_evalresp_response`
182 method will call some functions within evalresp to generate the response.
183
184 >>> response = cha.response
185 >>> response, freqs = response.get_evalresp_response(0.1, 16384, output="VEL")
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.inventory[25]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1703, in get_evalresp_response
response = self.get_evalresp_response_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1648, in get_evalresp_response_for_frequencies
output, chan = self._call_eval_resp_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1131, in _call_eval_resp_for_frequencies
import obspy.signal.evrespwrapper as ew
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/__init__.py:185: UnexpectedException
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_channel.py", line 32, in test_response_plot
cha.plot(0.005, outfile=image_path)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/channel.py", line 455, in plot
return self.response.plot(
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1847, in plot
cpx_response, freq = self.get_evalresp_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1703, in get_evalresp_response
response = self.get_evalresp_response_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1648, in get_evalresp_response_for_frequencies
output, chan = self._call_eval_resp_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1131, in _call_eval_resp_for_frequencies
import obspy.signal.evrespwrapper as ew
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_inventory.py", line 186, in test_response_plot
inv.plot_response(0.01, output="ACC", channel="*N",
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 1139, in plot_response
cha.plot(min_freq=min_freq, output=output,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/channel.py", line 455, in plot
return self.response.plot(
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1847, in plot
cpx_response, freq = self.get_evalresp_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1703, in get_evalresp_response
response = self.get_evalresp_response_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1648, in get_evalresp_response_for_frequencies
output, chan = self._call_eval_resp_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1131, in _call_eval_resp_for_frequencies
import obspy.signal.evrespwrapper as ew
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_inventory.py", line 197, in test_response_plot_epoch_times_in_label
fig = inv.plot_response(0.01, label_epoch_dates=True, show=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 1139, in plot_response
cha.plot(min_freq=min_freq, output=output,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/channel.py", line 455, in plot
return self.response.plot(
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1847, in plot
cpx_response, freq = self.get_evalresp_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1703, in get_evalresp_response
response = self.get_evalresp_response_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1648, in get_evalresp_response_for_frequencies
output, chan = self._call_eval_resp_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1131, in _call_eval_resp_for_frequencies
import obspy.signal.evrespwrapper as ew
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_network.py", line 122, in test_response_plot
net.plot_response(0.002, output="DISP", channel="B*E",
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/network.py", line 732, in plot_response
cha.plot(min_freq=min_freq, output=output, axes=(ax1, ax2),
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/channel.py", line 455, in plot
return self.response.plot(
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1847, in plot
cpx_response, freq = self.get_evalresp_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1703, in get_evalresp_response
response = self.get_evalresp_response_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1648, in get_evalresp_response_for_frequencies
output, chan = self._call_eval_resp_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1131, in _call_eval_resp_for_frequencies
import obspy.signal.evrespwrapper as ew
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_network.py", line 133, in test_response_plot_epoch_times_in_label
fig = net.plot_response(0.01, label_epoch_dates=True, show=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/network.py", line 732, in plot_response
cha.plot(min_freq=min_freq, output=output, axes=(ax1, ax2),
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/channel.py", line 455, in plot
return self.response.plot(
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1847, in plot
cpx_response, freq = self.get_evalresp_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1703, in get_evalresp_response
response = self.get_evalresp_response_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1648, in get_evalresp_response_for_frequencies
output, chan = self._call_eval_resp_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1131, in _call_eval_resp_for_frequencies
import obspy.signal.evrespwrapper as ew
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_station.py", line 32, in test_station_response_plot
sta.plot(0.05, channel="*[NE]", outfile=image_path)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/station.py", line 550, in plot
cha.plot(min_freq=min_freq, output=output, axes=(ax1, ax2),
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/channel.py", line 455, in plot
return self.response.plot(
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1847, in plot
cpx_response, freq = self.get_evalresp_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1703, in get_evalresp_response
response = self.get_evalresp_response_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1648, in get_evalresp_response_for_frequencies
output, chan = self._call_eval_resp_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1131, in _call_eval_resp_for_frequencies
import obspy.signal.evrespwrapper as ew
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_station.py", line 40, in test_response_plot_degrees
sta.plot(0.05, channel="*[NE]", plot_degrees=True,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/station.py", line 550, in plot
cha.plot(min_freq=min_freq, output=output, axes=(ax1, ax2),
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/channel.py", line 455, in plot
return self.response.plot(
^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1847, in plot
cpx_response, freq = self.get_evalresp_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1703, in get_evalresp_response
response = self.get_evalresp_response_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1648, in get_evalresp_response_for_frequencies
output, chan = self._call_eval_resp_for_frequencies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/response.py", line 1131, in _call_eval_resp_for_frequencies
import obspy.signal.evrespwrapper as ew
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 1879, in test_integrate_and_differentiate
st1.filter('lowpass', freq=1.0)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2243, in filter
tr.filter(type, **options)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1551, in filter
func = _get_function_from_entry_point('filter', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 1929, in test_read
read('/path/to/UNKNOWN')
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 292, in _map_example_filename
args[ind] = get_example_file(args[ind][9:])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 208, in get_example_file
mod = __import__("obspy.%s" % module,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2017, in test_rotate
st.rotate(method='NE->RT', back_azimuth=30)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2800, in rotate
func = _get_function_from_entry_point("rotate", func)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2141, in test_detrend
st.detrend(type='simple')
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2539, in detrend
tr.detrend(type=type, **options)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2028, in detrend
func = _get_function_from_entry_point('detrend', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2177, in test_taper
st.taper(max_percentage=0.05, type='cosine')
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2557, in taper
tr.taper(*args, **kwargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2148, in taper
func = _get_function_from_entry_point('taper', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2253, in test_method_chaining
.decimate(factor=2, no_filter=True)\
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2443, in decimate
tr.decimate(factor, no_filter=no_filter,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1854, in decimate
from obspy.signal.filter import integer_decimation
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2307, in test_simulate_seedresp_parser
st.simulate(**kwargs)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2176, in simulate
tr.simulate(paz_remove=paz_remove, paz_simulate=paz_simulate,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1477, in simulate
from obspy.signal.invsim import simulate_seismometer
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2364, in test_remove_response
tr.remove_response(pre_filt=(0.1, 0.5, 30, 50))
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2827, in remove_response
from obspy.signal.invsim import (cosine_taper, cosine_sac_taper,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2418, in test_integrate
tr.integrate()
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1966, in integrate
func = _get_function_from_entry_point('integrate', method)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2431, in test_integrate_args
tr.integrate(method='cumtrapz')
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1966, in integrate
func = _get_function_from_entry_point('integrate', method)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2695, in test_rotate_to_zne
st.rotate("->ZNE", inventory=metadata)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2773, in rotate
st.rotate(method, back_azimuth=back_azimuth,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 2786, in rotate
return self._rotate_to_zne(inventory, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 3532, in _rotate_to_zne
self._rotate_specific_channels_to_zne(
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 3562, in _rotate_specific_channels_to_zne
from obspy.signal.rotate import rotate2zne
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 2739, in test_stack
st2 = st.copy().stack()
^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 3314, in stack
from obspy.signal.util import stack as stack_func
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1223, in test_detrend
tr.detrend(type='simple')
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2028, in detrend
func = _get_function_from_entry_point('detrend', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1261, in test_integrate
tr.integrate()
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1966, in integrate
func = _get_function_from_entry_point('integrate', method)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1344, in test_taper
tr.taper(max_percentage=0.05, type='cosine')
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2148, in taper
func = _get_function_from_entry_point('taper', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1588, in test_simulate_evalresp
assert patch.call_count == 1
UnboundLocalError: cannot access local variable 'patch' where it is not associated with a value
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1669, in test_method_chaining
.filter("lowpass", freq=2.0)\
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1551, in filter
func = _get_function_from_entry_point('filter', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1738, in test_remove_response
tr1.simulate(seedresp={"filename": parser, "units": "VEL"},
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1477, in simulate
from obspy.signal.invsim import simulate_seismometer
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1763, in test_remove_polynomial_response
tr.remove_response()
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2827, in remove_response
from obspy.signal.invsim import (cosine_taper, cosine_sac_taper,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1813, in test_processing_info_remove_response_and_sensitivity
tr.remove_response()
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2827, in remove_response
from obspy.signal.invsim import (cosine_taper, cosine_sac_taper,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1836, in test_processing_information
tr.filter("lowpass", freq=2.0)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1551, in filter
func = _get_function_from_entry_point('filter', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1888, in test_no_processing_info_for_failed_operations
tr.detrend()
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2028, in detrend
func = _get_function_from_entry_point('detrend', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1922, in test_interpolate
int_tr = org_tr.copy().interpolate(sampling_rate=1.0 / 0.003,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2482, in interpolate
func = _get_function_from_entry_point('interpolate', method)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 1992, in test_interpolation_time_shift
tr.interpolate(method="lanczos", sampling_rate=10.0, a=20)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2482, in interpolate
func = _get_function_from_entry_point('interpolate', method)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 2062, in test_interpolation_arguments
interp_tr = tr.copy().interpolate(sampling_rate=0.3,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2479, in interpolate
func = _get_function_from_entry_point('interpolate',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 2169, in test_resample_new
tr.resample(0.5, window='hann', no_filter=False)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1723, in resample
self.filter('lowpass_cheby_2', freq=freq, maxorder=12)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1551, in filter
func = _get_function_from_entry_point('filter', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 2302, in test_remove_response_plot
tr.remove_response(pre_filt=pre_filt, output="DISP",
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2827, in remove_response
from obspy.signal.invsim import (cosine_taper, cosine_sac_taper,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 2312, in test_remove_response_default_units
tr.remove_response(output='DEF')
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2827, in remove_response
from obspy.signal.invsim import (cosine_taper, cosine_sac_taper,
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_trace.py", line 2442, in test_dtype_is_not_unnecessarily_changed
lowpass = tr_int32.copy().filter("lowpass", freq=2.0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1551, in filter
func = _get_function_from_entry_point('filter', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_util_testing.py", line 61, in test_processing
tr1.detrend()
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 2028, in detrend
func = _get_function_from_entry_point('detrend', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
293
294 A "automagic" function searching a given dict of entry points for a valid
295 entry point and returns the function call. Otherwise it will raise a
296 default error message.
297
298 .. rubric:: Example
299
300 >>> _get_function_from_entry_point(
UNEXPECTED EXCEPTION: IndentationError("expected an indented block after 'try' statement on line 1452", ('/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py', 1453, 13, ' with np.load(filename, allow_pickle=allow_pickle) as data:\n', 1453, 17))
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.util.base._get_function_from_entry_point[0]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py:300: UnexpectedException
192
193 :param filename: A test file name to which the path should be returned.
194 :return: Full path to file.
195
196 .. rubric:: Example
197
198 >>> get_example_file('slist.ascii') # doctest: +SKIP
199 /custom/path/to/obspy/io/ascii/tests/data/slist.ascii
200
201 >>> get_example_file('does.not.exists') # doctest: +ELLIPSIS
Differences (unified diff with -expected +actual):
@@ -1,3 +1,15 @@
Traceback (most recent call last):
-...
-OSError: Could not find file does.not.exists ...
+ File "/Users/runner/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run
+ exec(compile(example.source, filename, "single",
+ File "<doctest obspy.core.util.base.get_example_file[1]>", line 1, in <module>
+ get_example_file('does.not.exists') # doctest: +ELLIPSIS
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 208, in get_example_file
+ mod = __import__("obspy.%s" % module,
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
+ from .spectral_estimation import PPSD
+ File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
+ with np.load(filename, allow_pickle=allow_pickle) as data:
+ ^^^^
+IndentationError: expected an indented block after 'try' statement on line 1452
/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py:201: DocTestFailure
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/imaging/tests/test_scan.py", line 138, in test_scan_plot_by_id_with_wildcard
scanner.parse(get_example_file(filename))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 208, in get_example_file
mod = __import__("obspy.%s" % module,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/io/sac/tests/test_core.py", line 824, in test_decimate_resample
tr.decimate(2)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1850, in decimate
self.filter('lowpass_cheby_2', freq=freq, maxorder=12)
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 232, in raise_if_masked
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/trace.py", line 1551, in filter
func = _get_function_from_entry_point('filter', type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 331, in _get_function_from_entry_point
func = buffered_load_entry_point(entry_point.dist.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/misc.py", line 599, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 486, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2867, in load_entry_point
return ep.load()
^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/__init__.py", line 197, in <module>
from .spectral_estimation import PPSD
File "/Users/runner/miniconda3/envs/test/lib/python3.11/site-packages/obspy/signal/spectral_estimation.py", line 1453
with np.load(filename, allow_pickle=allow_pickle) as data:
^^^^
IndentationError: expected an indented block after 'try' statement on line 1452

Skipped tests (18)

Submodule Test Skip message
core core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
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_bug150 Skipped: Geographiclib installed, not using calc_vincenty_inverse
imaging imaging/tests/test_mopad_script.py::TestMopad::test_script_plot Skipped: Currently broken until further review.
io.ascii io/ascii/core.py::obspy.io.ascii.core._is_slist Skipped: all tests skipped by +SKIP option
io.ascii io/ascii/core.py::obspy.io.ascii.core._is_tspair Skipped: all tests skipped by +SKIP option
io.gcf io/gcf/core.py::obspy.io.gcf.core._write_gcf Skipped: all tests skipped by +SKIP option
io.nordic io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor Skipped: all tests skipped by +SKIP option
io.nordic io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag Skipped: all tests skipped by +SKIP option
io.pde io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr Skipped: all tests skipped by +SKIP option
io.quakeml io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml Skipped: all tests skipped by +SKIP option
io.seisan io/seisan/core.py::obspy.io.seisan.core._is_seisan Skipped: all tests skipped by +SKIP option
io.sh io/sh/core.py::obspy.io.sh.core._is_asc Skipped: all tests skipped by +SKIP option
io.sh io/sh/core.py::obspy.io.sh.core._is_q Skipped: all tests skipped by +SKIP option
io.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

Slowest tests (20)

Runtime Test
17.029s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
11.628s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
10.864s taup/__init__.py::obspy.taup
9.681s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
5.089s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local
5.079s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
4.510s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global
4.470s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
3.691s io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
3.516s taup/tests/test_ray_paths.py::TestRayPathCalculations::test_compute_ray_paths
3.023s taup/tests/test_tau.py::TestTauPyModel::test_high_slowness_crust
2.986s core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global
2.844s taup/tests/test_taup_plotting.py::TestTauPyPlotting::test_spherical_many_phases
2.724s taup/tests/test_taup_geo.py::TestTaupGeo::test_path_geo
2.688s taup/tests/test_tau.py::TestTauPyModel::test_kennet_ak135_ttime_tables_p_shallow
2.685s core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_ortho
2.680s core/tests/test_network.py::TestNetworkCartopy::test_location_plot_ortho
2.658s taup/tests/test_tau.py::TestTauPyModel::test_fruit
2.646s taup/tests/test_tau.py::TestTauPyModel::test_kennet_ak135_ttime_tables_p_deep
2.588s taup/tests/test_tau.py::TestTauPyModel::test_kennet_ak135_ttime_tables_s_shallow