#104429 Report by node raspberrypi covering 1743 tests from 45 modules resulted into 42 errors
Report
- ObsPy version
- 1.1.1
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 562.3 sec
- Report date/time
- July 18, 2019, 7:04 p.m.
System / Python
- Architecture
- 32bit
- Machine
- armv7l
- Node
- raspberrypi
- Processor
- None
- Python Compiler
- GCC 6.3.0 20170516
- Python Implementation
- CPython
- Python Version
- 3.6.6
- Release
- 4.19.57-v7l+
- System
- Linux
- Version
- #1244 SMP Thu Jul 4 18:48:07 BST 2019
Dependencies
- cartopy
- ---
- decorator
- 4.4.0
- flake8
- ---
- future
- 0.17.1
- geographiclib
- ---
- lxml.etree
- 4.3.4
- m2crypto
- ---
- matplotlib
- 3.1.1
- mock
- ---
- mpl_toolkits.basemap
- ---
- numpy
- 1.15.1
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- ---
- pyproj
- ---
- requests
- 2.22.0
- scipy
- 1.0.0
- setuptools
- 40.2.0
- shapefile
- ---
- sqlalchemy
- 1.3.5
Modules (45)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | Not tested | - | - | - | - | - |
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | Not tested | - | - | - | - | - |
obspy.clients.filesystem | - | 6 | 6 | - | 4.51s | - |
obspy.clients.iris | Not tested | - | - | - | - | - |
obspy.clients.neic | Not tested | - | - | - | - | - |
obspy.clients.nrl | Not tested | - | - | - | - | - |
obspy.clients.seedlink | Not tested | - | - | - | - | - |
obspy.clients.seishub | Not tested | - | - | - | - | - |
obspy.clients.syngine | Not tested | - | - | - | - | - |
obspy.core | - | 594 | 567 | 27 | 91.58s | - |
obspy.db | - | 9 | 9 | - | 0.39s | - |
obspy.geodetics | - | 18 | 16 | 2 | 0.45s | - |
obspy.imaging | 1 | 76 | 75 | 1 | 211.12s | 1 |
obspy.io.ah | - | 5 | 5 | - | 0.37s | - |
obspy.io.arclink | - | 4 | 4 | - | 6.89s | - |
obspy.io.ascii | - | 28 | 28 | - | 0.59s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.20s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.07s | - |
obspy.io.css | - | 7 | 7 | - | 3.36s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.10s | - |
obspy.io.gse2 | - | 55 | 55 | - | 1.77s | - |
obspy.io.iaspei | - | 7 | 7 | - | 3.08s | - |
obspy.io.json | - | 4 | 4 | - | 0.12s | - |
obspy.io.kinemetrics | - | 7 | 7 | - | 2.36s | - |
obspy.io.kml | - | 3 | 3 | - | 0.57s | - |
obspy.io.mseed | - | 121 | 121 | - | 10.89s | - |
obspy.io.ndk | - | 20 | 20 | - | 1.44s | - |
obspy.io.nied | - | 11 | 11 | - | 0.21s | - |
obspy.io.nlloc | - | 11 | 10 | 1 | 0.47s | - |
obspy.io.nordic | - | 32 | 32 | - | 2.85s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.02s | - |
obspy.io.pde | - | 13 | 13 | - | 1.21s | - |
obspy.io.quakeml | - | 34 | 34 | - | 1.90s | - |
obspy.io.reftek | - | 19 | 19 | - | 0.67s | - |
obspy.io.sac | - | 94 | 94 | - | 1.73s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.29s | - |
obspy.io.seg2 | - | 1 | 1 | - | 0.10s | - |
obspy.io.segy | - | 54 | 54 | - | 2.20s | - |
obspy.io.seisan | - | 8 | 8 | - | 0.36s | - |
obspy.io.seiscomp | - | 43 | 43 | - | 3.19s | - |
obspy.io.sh | - | 19 | 19 | - | 0.65s | - |
obspy.io.shapefile | - | 5 | 1 | 4 | 0.27s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.23s | - |
obspy.io.stationxml | - | 21 | 21 | - | 1.83s | - |
obspy.io.wav | - | 8 | 8 | - | 0.15s | - |
obspy.io.win | - | 2 | 2 | - | 0.58s | - |
obspy.io.xseed | - | 81 | 81 | - | 35.62s | - |
obspy.io.y | - | 5 | 5 | - | 0.04s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.76s | - |
obspy.realtime | - | 22 | 22 | - | 1.67s | - |
obspy.scripts | - | 2 | 2 | - | 0.05s | - |
obspy.signal | - | 177 | 175 | 2 | 141.79s | - |
obspy.taup | 41 | 64 | 58 | 6 | 23.61s | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
Summary | 42 | 1743 | 1700 | 43 | 562.33s | 42 |
Tracebacks (42)
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/imaging/tests/test_source.py", line 35, in test_farfield_with_quiver mt, kind=['beachball', 's_quiver', 'p_quiver'], show=False) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/imaging/source.py", line 134, in plot_radiation_pattern fig, axes, kind = _setup_figure_and_axes(kind, fig=fig) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/imaging/source.py", line 69, in _setup_figure_and_axes nrows, ncols_, i * ncols_ + j + 1, **kwargs)) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/matplotlib/figure.py", line 1414, in add_subplot a = subplot_class_factory(projection_class)(self, *args, **kwargs) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/matplotlib/axes/_subplots.py", line 69, in __init__ self._axes_class.__init__(self, fig, self.figbox, **kwargs) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 101, in __init__ super().__init__(fig, rect, frameon=True, *args, **kwargs) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 509, in __init__ self.update(kwargs) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/matplotlib/artist.py", line 974, in update ret = [_update_property(self, k, v) for k, v in props.items()] File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/matplotlib/artist.py", line 974, in <listcomp> ret = [_update_property(self, k, v) for k, v in props.items()] File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/matplotlib/artist.py", line 971, in _update_property return func(v) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 1281, in set_aspect 'It is not currently possible to manually set the aspect ' NotImplementedError: It is not currently possible to manually set the aspect on 3D axes
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_seismic_phase.py", line 82, in test_many_identically_named_phases output_folder=folder, verbose=False) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_create.py", line 181, in build_taup_model mod_create.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_create.py", line 121, in run self.tau_model = self.create_tau_model(self.v_mod) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_create.py", line 86, in create_tau_model _DEFAULT_VALUES["slowness_tolerance"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 75, in __init__ self.create_sample() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 156, in create_sample self.distance_check() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1147, in distance_check self.radius_of_planet) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_seismic_phase.py", line 35, in test_shoot_existing_ray_param self.do_shoot_existing_ray_param_for_phase('P') File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_seismic_phase.py", line 51, in do_shoot_existing_ray_param_for_phase max_rp_arrival = phase.shoot_ray(-1, ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_seismic_phase.py", line 62, in test_shoot_middle_ray_param max_rp_arrival = phase.shoot_ray(-1, rp) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_plotting.py", line 104, in test_cartesian_many_phases self.model.get_ray_paths(500, 140).plot_rays(plot_type="cartesian", File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_plotting.py", line 117, in test_cartesian_many_phases_buried_station receiver_depth_in_km=1000) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_plotting.py", line 127, in test_cartesian_many_phases_one_way arrivals = self.model.get_ray_paths(500, 140) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_plotting.py", line 248, in test_invalid_plot_option arrivals = self.model.get_ray_paths(500, 20, phase_list=['P']) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_plotting.py", line 162, in test_plot_travel_times phase_list=("ttbasic",)).plot_times( File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 24, in calculate self.calculate_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 34, in calculate_path self.arrivals += phase.calc_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1162, in calc_path arrivals = self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_plotting.py", line 182, in test_plot_travel_times_convenience legend=True, npoints=4) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 968, in plot_travel_times raise ValueError("No arrival times to plot.") ValueError: No arrival times to plot.
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_plotting.py", line 208, in test_ray_plot_mismatching_axes_type_warnings arrivals = self.model.get_ray_paths(500, 20, phase_list=['P']) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_plotting.py", line 39, in test_spherical_many_phases 140).plot_rays(plot_type="spherical", File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_plotting.py", line 52, in test_spherical_many_phases_buried_station receiver_depth_in_km=1000) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_plotting.py", line 65, in test_spherical_many_phases_one_way 140).plot_rays(plot_type="spherical", File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_plotting.py", line 76, in test_spherical_more_then_360_degrees self.model.get_ray_paths(0, 10, phase_list=["PPPPPP"]).plot_rays( File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 24, in calculate self.calculate_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 34, in calculate_path self.arrivals += phase.calc_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1162, in calc_path arrivals = self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 270, in test_ak135 phase_list=["ttall"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 97, in calculate self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 107, in calc_time self.arrivals += phase.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 966, in test_arrivals_class phase_list=['Pn', 'PmP']) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 24, in calculate self.calculate_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 34, in calculate_path self.arrivals += phase.calc_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1162, in calc_path arrivals = self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1314, in _refine_arrival recursion_limit - 1) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 838, in test_buried_receiver phase_list=["P", "PP", "S"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 97, in calculate self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 107, in calc_time self.arrivals += phase.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1314, in _refine_arrival recursion_limit - 1) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1314, in _refine_arrival recursion_limit - 1) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1314, in _refine_arrival recursion_limit - 1) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 10.0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 855, in test_different_models phase_list=["P"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 256, in test_iasp91 phase_list=["ttall"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 97, in calculate self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 107, in calc_time self.arrivals += phase.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 775, in test_java_pnps phase_list=ph) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 97, in calculate self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 107, in calc_time self.arrivals += phase.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 650.0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 732, in test_kennet_ak135_ttime_tables_p_deep "ak135_P_deep.txt", phases=["p", "Pdiff", "P"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 722, in _compare_against_ak135_tables_kennet phase_list=phases) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 100.0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 736, in test_kennet_ak135_ttime_tables_p_shallow "ak135_P_shallow.txt", phases=["p", "Pdiff", "P"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 722, in _compare_against_ak135_tables_kennet phase_list=phases) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 200.0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 740, in test_kennet_ak135_ttime_tables_pcp "ak135_PcP.txt", phases=["PcP"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 722, in _compare_against_ak135_tables_kennet phase_list=phases) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 744, in test_kennet_ak135_ttime_tables_pkikp "ak135_PKIKP.txt", phases=["PKIKP"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 722, in _compare_against_ak135_tables_kennet phase_list=phases) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 24, in calculate self.calculate_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 34, in calculate_path self.arrivals += phase.calc_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1162, in calc_path arrivals = self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1314, in _refine_arrival recursion_limit - 1) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1314, in _refine_arrival recursion_limit - 1) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500.0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 748, in test_kennet_ak135_ttime_tables_s_deep "ak135_S_deep.txt", phases=["s", "S", "Sdiff"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 722, in _compare_against_ak135_tables_kennet phase_list=phases) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 752, in test_kennet_ak135_ttime_tables_s_shallow "ak135_S_shallow.txt", phases=["s", "S", "Sdiff"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 722, in _compare_against_ak135_tables_kennet phase_list=phases) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 24, in calculate self.calculate_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 34, in calculate_path self.arrivals += phase.calc_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1162, in calc_path arrivals = self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1314, in _refine_arrival recursion_limit - 1) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500.0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 756, in test_kennet_ak135_ttime_tables_scp "ak135_ScP.txt", phases=["ScP"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 722, in _compare_against_ak135_tables_kennet phase_list=phases) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 229, in test_p_jb phase_list=["P"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 97, in calculate self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 107, in calc_time self.arrivals += phase.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 879, in test_paths_for_crustal_phases phase_list=['Pn', 'PmP']) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 24, in calculate self.calculate_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 34, in calculate_path self.arrivals += phase.calc_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1162, in calc_path arrivals = self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1314, in _refine_arrival recursion_limit - 1) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 477, in test_pierce_all_phases phase_list=["ttall"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 667, in get_pierce_points pp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 73, in calculate self.calculate_pierce(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 82, in calculate_pierce self.arrivals += phase.calc_pierce(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1045, in calc_pierce arrivals = self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 1031, in test_regional_models output_folder=folder, verbose=False) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_create.py", line 181, in build_taup_model mod_create.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_create.py", line 121, in run self.tau_model = self.create_tau_model(self.v_mod) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_create.py", line 86, in create_tau_model _DEFAULT_VALUES["slowness_tolerance"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 75, in __init__ self.create_sample() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 156, in create_sample self.distance_check() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1107, in distance_check curr_wave_type) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1274, in approx_distance time, dist = self.layer_time_dist(p, layer_num, is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 655, in test_single_path_ak135 distance_in_degree=35.0, phase_list=["P"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 24, in calculate self.calculate_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 34, in calculate_path self.arrivals += phase.calc_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1164, in calc_path self.calc_path_from_arrival(arrival) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1182, in calc_path_from_arrival self.tau_model.s_mod) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 391, in path s_mod.radius_of_planet) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 508, in test_single_path_iasp91 distance_in_degree=35.0, phase_list=["P"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 24, in calculate self.calculate_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 34, in calculate_path self.arrivals += phase.calc_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1164, in calc_path self.calc_path_from_arrival(arrival) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1182, in calc_path_from_arrival self.tau_model.s_mod) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 391, in path s_mod.radius_of_planet) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 19.0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 799, in test_surface_wave_ttimes phase_list=[phase]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 826, in test_underside_reflections "P^500P", "P^600P"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 97, in calculate self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 107, in calc_time self.arrivals += phase.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1314, in _refine_arrival recursion_limit - 1) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_tau.py", line 442, in test_vs_java_iasp91 phase_list=all_phases) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 97, in calculate self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 107, in calc_time self.arrivals += phase.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 2199, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.taup.tau.TauPyModel.__init__ File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 576, in __init__ ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 603, in obspy.taup.tau.TauPyModel.__init__ Failed example: print(i91.get_travel_times(10, 20)[0].name) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.tau.TauPyModel.__init__[2]>", line 1, in <module> print(i91.get_travel_times(10, 20)[0].name) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 97, in calculate self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 107, in calc_time self.arrivals += phase.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 605, in obspy.taup.tau.TauPyModel.__init__ Failed example: i91.get_travel_times(10, 20)[0].time # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.tau.TauPyModel.__init__[3]>", line 1, in <module> i91.get_travel_times(10, 20)[0].time # doctest: +ELLIPSIS File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 97, in calculate self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 107, in calc_time self.arrivals += phase.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 607, in obspy.taup.tau.TauPyModel.__init__ Failed example: len(i91.get_travel_times(100, 50, phase_list = ["P", "S"])) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.tau.TauPyModel.__init__[4]>", line 1, in <module> len(i91.get_travel_times(100, 50, phase_list = ["P", "S"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 97, in calculate self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 107, in calc_time self.arrivals += phase.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 2199, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.taup.tau.plot_ray_paths File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 986, in plot_ray_paths ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 1036, in obspy.taup.tau.plot_ray_paths Failed example: ax = plot_ray_paths(source_depth=10, plot_type="spherical", ax=ax, fig=fig, legend=True, phase_list=['P', 'S', 'PP'], verbose=True) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.tau.plot_ray_paths[3]>", line 3, in <module> phase_list=['P', 'S', 'PP'], verbose=True) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 1077, in plot_ray_paths raise ValueError("No ray paths to plot.") ValueError: No ray paths to plot.
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 2199, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.taup.tau.plot_travel_times File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 891, in plot_travel_times ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 932, in obspy.taup.tau.plot_travel_times Failed example: ax = plot_travel_times(source_depth=10, phase_list=['P', 'S', 'PP']) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.tau.plot_travel_times[1]>", line 1, in <module> ax = plot_travel_times(source_depth=10, phase_list=['P', 'S', 'PP']) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 953, in plot_travel_times phase_list=phase_list) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 24, in calculate self.calculate_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 34, in calculate_path self.arrivals += phase.calc_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1164, in calc_path self.calc_path_from_arrival(arrival) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1182, in calc_path_from_arrival self.tau_model.s_mod) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 391, in path s_mod.radius_of_planet) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 2199, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.taup.__init__ File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 57, in obspy.taup.__init__ Failed example: arrivals = model.get_travel_times(source_depth_in_km=55, distance_in_degree=67) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 55 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[2]>", line 2, in <module> distance_in_degree=67) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 59, in obspy.taup.__init__ Failed example: print(arrivals) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[3]>", line 1, in <module> print(arrivals) # doctest: +NORMALIZE_WHITESPACE NameError: name 'arrivals' is not defined ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 95, in obspy.taup.__init__ Failed example: arrivals = model.get_travel_times(source_depth_in_km=100, distance_in_degree=45, phase_list=["P", "PSPSPS"]) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[4]>", line 3, in <module> phase_list=["P", "PSPSPS"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 640, in get_travel_times tt.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 97, in calculate self.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 107, in calc_time self.arrivals += phase.calc_time(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1034, in calc_time self._settings["max_recursion"])) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1289, in refine_arrival tolerance, recursion_limit) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1303, in _refine_arrival shoot = self.shoot_ray(degrees, new_estimate.ray_param) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1382, in shoot_ray self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/helper_classes.py", line 142, in __init__ raise ValueError('Time cannot be NaN') ValueError: Time cannot be NaN ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 98, in obspy.taup.__init__ Failed example: print(arrivals) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[5]>", line 1, in <module> print(arrivals) # doctest: +NORMALIZE_WHITESPACE NameError: name 'arrivals' is not defined ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 107, in obspy.taup.__init__ Failed example: arr = arrivals[0] Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[6]>", line 1, in <module> arr = arrivals[0] NameError: name 'arrivals' is not defined ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 108, in obspy.taup.__init__ Failed example: arr.ray_param, arr.time, arr.incident_angle # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[7]>", line 1, in <module> arr.ray_param, arr.time, arr.incident_angle # doctest: +ELLIPSIS NameError: name 'arr' is not defined ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 117, in obspy.taup.__init__ Failed example: arrivals = model.get_ray_paths(500, 130) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[8]>", line 1, in <module> arrivals = model.get_ray_paths(500, 130) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 118, in obspy.taup.__init__ Failed example: arrival = arrivals[0] Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[9]>", line 1, in <module> arrival = arrivals[0] NameError: name 'arrivals' is not defined ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 123, in obspy.taup.__init__ Failed example: arrival.path.dtype Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[10]>", line 1, in <module> arrival.path.dtype NameError: name 'arrival' is not defined ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 134, in obspy.taup.__init__ Failed example: arrivals = model.get_pierce_points(500, 130) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[11]>", line 1, in <module> arrivals = model.get_pierce_points(500, 130) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 667, in get_pierce_points pp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 135, in obspy.taup.__init__ Failed example: arrivals[0].pierce.dtype Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[12]>", line 1, in <module> arrivals[0].pierce.dtype NameError: name 'arrivals' is not defined ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 145, in obspy.taup.__init__ Failed example: arrivals = model.get_ray_paths( source_depth_in_km=500, distance_in_degree=130, phase_list=["ttbasic"]) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[13]>", line 2, in <module> source_depth_in_km=500, distance_in_degree=130, phase_list=["ttbasic"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 147, in obspy.taup.__init__ Failed example: ax = arrivals.plot_rays() Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[14]>", line 1, in <module> ax = arrivals.plot_rays() NameError: name 'arrivals' is not defined ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 158, in obspy.taup.__init__ Failed example: arrivals = model.get_ray_paths(source_depth_in_km=500, distance_in_degree=130, phase_list=["Pdiff", "Sdiff", "pPdiff", "sSdiff"]) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[15]>", line 4, in <module> "pPdiff", "sSdiff"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 162, in obspy.taup.__init__ Failed example: ax = arrivals.plot_rays() Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[16]>", line 1, in <module> ax = arrivals.plot_rays() NameError: name 'arrivals' is not defined ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 175, in obspy.taup.__init__ Failed example: arrivals = model.get_ray_paths(source_depth_in_km=500, distance_in_degree=130, phase_list=["ttbasic"]) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[17]>", line 3, in <module> phase_list=["ttbasic"]) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 178, in obspy.taup.__init__ Failed example: ax = arrivals.plot_rays(plot_type="cartesian") Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[18]>", line 1, in <module> ax = arrivals.plot_rays(plot_type="cartesian") NameError: name 'arrivals' is not defined ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 192, in obspy.taup.__init__ Failed example: arrivals = model.get_ray_paths(source_depth_in_km=500, distance_in_degree=130) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 228, in load_from_depth_cache value = self._depth_cache.pop(depth) KeyError: 500 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[19]>", line 2, in <module> distance_in_degree=130) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 38, in run self.depth_correct(self.source_depth, self.receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_pierce.py", line 63, in depth_correct TauPTime.depth_correct(self, depth, receiver_depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 50, in depth_correct self.depth_corrected_model = self.model.depth_correct(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 221, in depth_correct return self.load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 230, in load_from_depth_cache value = self._load_from_depth_cache(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 241, in _load_from_depth_cache depth_corrected = self.split_branch(depth) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_model.py", line 339, in split_branch p_wave_ray_param, out_s_mod, index_p) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 146, in insert self.is_p_wave) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_model.py", line 1515, in layer_time_dist check=check) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 194, in obspy.taup.__init__ Failed example: ax = arrivals.plot_times() Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[20]>", line 1, in <module> ax = arrivals.plot_times() NameError: name 'arrivals' is not defined ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 213, in obspy.taup.__init__ Failed example: ax = plot_travel_times(source_depth=10, phase_list=["P", "S", "PP"], ax=ax, fig=fig, verbose=True) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[24]>", line 2, in <module> ax=ax, fig=fig, verbose=True) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 953, in plot_travel_times phase_list=phase_list) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 24, in calculate self.calculate_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 34, in calculate_path self.arrivals += phase.calc_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1164, in calc_path self.calc_path_from_arrival(arrival) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1182, in calc_path_from_arrival self.tau_model.s_mod) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 391, in path s_mod.radius_of_planet) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan ---------------------------------------------------------------------- File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/__init__.py", line 238, in obspy.taup.__init__ Failed example: ax = plot_ray_paths(source_depth=100, ax=ax, fig=fig, verbose=True) Exception raised: Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/doctest.py", line 1330, in __run compileflags, 1), test.globs) File "<doctest obspy.taup.__init__[28]>", line 1, in <module> ax = plot_ray_paths(source_depth=100, ax=ax, fig=fig, verbose=True) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 1064, in plot_ray_paths phase_list=phase_list) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau.py", line 694, in get_ray_paths rp.run() File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_time.py", line 39, in run self.calculate(self.degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 24, in calculate self.calculate_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/taup_path.py", line 34, in calculate_path self.arrivals += phase.calc_path(degrees) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1164, in calc_path self.calc_path_from_arrival(arrival) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/seismic_phase.py", line 1182, in calc_path_from_arrival self.tau_model.s_mod) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tau_branch.py", line 391, in path s_mod.radius_of_planet) File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/slowness_layer.py", line 71, in bullen_radial_slowness raise SlownessModelError("timedist.time or .dist < 0 or Nan") obspy.taup.helper_classes.SlownessModelError: timedist.time or .dist < 0 or Nan
Traceback (most recent call last): File "/home/pi/berryconda3/envs/obspy/lib/python3.6/site-packages/obspy/taup/tests/test_split_model.py", line 108, in test_split delta=0.000000001) AssertionError: 0.01958174341962075 != nan within 1e-09 delta
Skipped tests (43)
Submodule | Test | Skip message |
---|---|---|
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
core | test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) | basemap not installed |
core | test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
core | test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
core | test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
core | test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | No code formatting tests for release builds |
core | test_use_obspy_deprecation_warning (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | No code formatting tests for release builds |
core | test_future_imports_in_every_file (obspy.core.tests.test_code_formatting.FutureUsageTestCase) | No code formatting tests for release builds |
core | test_no_pyplot_import_in_any_file (obspy.core.tests.test_code_formatting.MatplotlibBackendUsageTestCase) | No code formatting tests for release builds |
geodetics | test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
geodetics | test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
imaging | test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) | Currently broken until further review. |
io.nlloc | test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) | pyproj not installed |
io.shapefile | test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
io.shapefile | test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | pyshp not installed |
signal | test_schema_validation (obspy.signal.tests.test_quality_control.QualityControlTestCase) | Test requires the jsonschema module |
signal | test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) | matplotlib >= 3 shifts labels |
taup | test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) | Module geographiclib is not installed or too old. |
taup | test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) | Module geographiclib is not installed or too old. |
taup | test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) | Module geographiclib is not installed |
taup | test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) | test needs geographiclib >= 1.34 |
taup | test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) | test needs geographiclib >= 1.34 |
taup | test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) | test needs geographiclib >= 1.34 |
Slowest tests (20)
Runtime | Test |
---|---|
26.384s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
21.162s | test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase) |
17.216s | test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase) |
16.336s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
14.924s | test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
14.805s | test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
14.803s | test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
14.785s | test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
14.749s | test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
14.579s | test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
14.558s | test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
14.555s | test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
14.392s | test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
12.628s | test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase) |
10.207s | test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase) |
9.062s | test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase) |
6.743s | test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase) |
6.410s | test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase) |
6.384s | test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |
5.907s | test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase) |