Last active
February 20, 2016 05:56
-
-
Save QuLogic/eea6d576866297a72f4a to your computer and use it in GitHub Desktop.
ObsPy test warnings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ====================================================================== | |
| ERROR: test_remove_polynomial_response (obspy.core.tests.test_trace.TraceTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/core/tests/test_trace.py", line 1662, in test_remove_polynomial_response | |
| tr.remove_response() | |
| File "<decorator-gen-39>", line 2, in remove_response | |
| File "/home/elliott/code/obspy/obspy/core/trace.py", line 231, in _add_processing_info | |
| result = func(*args, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/core/trace.py", line 2586, in remove_response | |
| warnings.warn(msg % self.id) | |
| UserWarning: Stage gain not defined for BK.CMB..LKS - setting it to 1.0 | |
| ====================================================================== | |
| ERROR: test_taper_length (obspy.core.tests.test_trace.TraceTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/core/tests/test_trace.py", line 1352, in test_taper_length | |
| tr.taper(max_percentage=0.7, max_length=int(npts / 2) + 1) | |
| File "<decorator-gen-33>", line 2, in taper | |
| File "/home/elliott/code/obspy/obspy/core/util/decorator.py", line 234, in skip_if_no_data | |
| return func(*args, **kwargs) | |
| File "<decorator-gen-32>", line 2, in taper | |
| File "/home/elliott/code/obspy/obspy/core/trace.py", line 231, in _add_processing_info | |
| result = func(*args, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/core/trace.py", line 2022, in taper | |
| warnings.warn(msg) | |
| UserWarning: The requested taper is longer than the trace. The taper will be shortened to trace length. | |
| ====================================================================== | |
| ERROR: test_taper_onesided (obspy.core.tests.test_trace.TraceTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/core/tests/test_trace.py", line 1335, in test_taper_onesided | |
| tr.taper(max_percentage=None, side="left") | |
| File "<decorator-gen-33>", line 2, in taper | |
| File "/home/elliott/code/obspy/obspy/core/util/decorator.py", line 234, in skip_if_no_data | |
| return func(*args, **kwargs) | |
| File "<decorator-gen-32>", line 2, in taper | |
| File "/home/elliott/code/obspy/obspy/core/trace.py", line 231, in _add_processing_info | |
| result = func(*args, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/core/trace.py", line 2022, in taper | |
| warnings.warn(msg) | |
| UserWarning: The requested taper is longer than the trace. The taper will be shortened to trace length. | |
| ====================================================================== | |
| ERROR: test_issue_193 (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 231, in write_header | |
| sta2_line = compile_sta2(headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 494, in compile_sta2 | |
| stats['gse2']['lat'], | |
| File "/home/elliott/code/obspy/obspy/core/util/attribdict.py", line 69, in __getitem__ | |
| return self.__dict__[name] | |
| KeyError: 'lat' | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/core/tests/test_waveform_plugins.py", line 312, in test_issue_193 | |
| tr.write(tempfile, format) | |
| File "/home/elliott/code/obspy/obspy/core/trace.py", line 897, in write | |
| Stream([self]).write(filename, format, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/core/stream.py", line 1444, in write | |
| write_format(self, filename, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/core.py", line 115, in _write_gse2 | |
| libgse2.write(trace.stats, trace.data, f, inplace) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 410, in write | |
| write_header(f, headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 234, in write_header | |
| warnings.warn(msg) | |
| UserWarning: GSE2: Error while compiling the STA2 header line, omitting it. | |
| ====================================================================== | |
| ERROR: test_read_and_write (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 231, in write_header | |
| sta2_line = compile_sta2(headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 494, in compile_sta2 | |
| stats['gse2']['lat'], | |
| File "/home/elliott/code/obspy/obspy/core/util/attribdict.py", line 69, in __getitem__ | |
| return self.__dict__[name] | |
| KeyError: 'lat' | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/core/tests/test_waveform_plugins.py", line 89, in test_read_and_write | |
| tr.write(outfile, format=format) | |
| File "/home/elliott/code/obspy/obspy/core/trace.py", line 897, in write | |
| Stream([self]).write(filename, format, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/core/stream.py", line 1444, in write | |
| write_format(self, filename, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/core.py", line 115, in _write_gse2 | |
| libgse2.write(trace.stats, trace.data, f, inplace) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 410, in write | |
| write_header(f, headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 234, in write_header | |
| warnings.warn(msg) | |
| UserWarning: GSE2: Error while compiling the STA2 header line, omitting it. | |
| ====================================================================== | |
| ERROR: test_read_thread_safe (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 231, in write_header | |
| sta2_line = compile_sta2(headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 494, in compile_sta2 | |
| stats['gse2']['lat'], | |
| File "/home/elliott/code/obspy/obspy/core/util/attribdict.py", line 69, in __getitem__ | |
| return self.__dict__[name] | |
| KeyError: 'lat' | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/core/tests/test_waveform_plugins.py", line 243, in test_read_thread_safe | |
| tr.write(outfile, format=format) | |
| File "/home/elliott/code/obspy/obspy/core/trace.py", line 897, in write | |
| Stream([self]).write(filename, format, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/core/stream.py", line 1444, in write | |
| write_format(self, filename, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/core.py", line 115, in _write_gse2 | |
| libgse2.write(trace.stats, trace.data, f, inplace) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 410, in write | |
| write_header(f, headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 234, in write_header | |
| warnings.warn(msg) | |
| UserWarning: GSE2: Error while compiling the STA2 header line, omitting it. | |
| ====================================================================== | |
| ERROR: test_bytes_io (obspy.io.gse2.tests.test_libgse2.LibGSE2TestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 231, in write_header | |
| sta2_line = compile_sta2(headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 514, in compile_sta2 | |
| warnings.warn(msg) | |
| UserWarning: Bad value in GSE2 'elev' header field detected. The last two header fields of the STA2 line in the output file will deviate from the official fixed column format description (because they can not be represented as '%f5.3' properly). | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/tests/test_libgse2.py", line 98, in test_bytes_io | |
| libgse2.write(header, data, fout) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 410, in write | |
| write_header(f, headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 234, in write_header | |
| warnings.warn(msg) | |
| UserWarning: GSE2: Error while compiling the STA2 header line, omitting it. | |
| ====================================================================== | |
| ERROR: test_parse_sta2 (obspy.io.gse2.tests.test_libgse2.LibGSE2TestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/tests/test_libgse2.py", line 252, in test_parse_sta2 | |
| got = compile_sta2(header) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 514, in compile_sta2 | |
| warnings.warn(msg) | |
| UserWarning: Bad value in GSE2 'elev' header field detected. The last two header fields of the STA2 line in the output file will deviate from the official fixed column format description (because they can not be represented as '%f5.3' properly). | |
| ====================================================================== | |
| ERROR: test_read_and_write (obspy.io.gse2.tests.test_libgse2.LibGSE2TestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 231, in write_header | |
| sta2_line = compile_sta2(headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 514, in compile_sta2 | |
| warnings.warn(msg) | |
| UserWarning: Bad value in GSE2 'elev' header field detected. The last two header fields of the STA2 line in the output file will deviate from the official fixed column format description (because they can not be represented as '%f5.3' properly). | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/tests/test_libgse2.py", line 79, in test_read_and_write | |
| libgse2.write(header, data, f) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 410, in write | |
| write_header(f, headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 234, in write_header | |
| warnings.warn(msg) | |
| UserWarning: GSE2: Error while compiling the STA2 header line, omitting it. | |
| ====================================================================== | |
| ERROR: test_read_and_write_streams_via_obspy (obspy.io.gse2.tests.test_core.CoreTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 231, in write_header | |
| sta2_line = compile_sta2(headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 514, in compile_sta2 | |
| warnings.warn(msg) | |
| UserWarning: Bad value in GSE2 'elev' header field detected. The last two header fields of the STA2 line in the output file will deviate from the official fixed column format description (because they can not be represented as '%f5.3' properly). | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/tests/test_core.py", line 134, in test_read_and_write_streams_via_obspy | |
| st1.write(tmpfile, format='GSE2') | |
| File "/home/elliott/code/obspy/obspy/core/stream.py", line 1444, in write | |
| write_format(self, filename, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/core.py", line 115, in _write_gse2 | |
| libgse2.write(trace.stats, trace.data, f, inplace) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 410, in write | |
| write_header(f, headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 234, in write_header | |
| warnings.warn(msg) | |
| UserWarning: GSE2: Error while compiling the STA2 header line, omitting it. | |
| ====================================================================== | |
| ERROR: test_read_and_write_via_obspy (obspy.io.gse2.tests.test_core.CoreTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 231, in write_header | |
| sta2_line = compile_sta2(headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 514, in compile_sta2 | |
| warnings.warn(msg) | |
| UserWarning: Bad value in GSE2 'elev' header field detected. The last two header fields of the STA2 line in the output file will deviate from the official fixed column format description (because they can not be represented as '%f5.3' properly). | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/tests/test_core.py", line 88, in test_read_and_write_via_obspy | |
| st2.write(tempfile, format='GSE2') | |
| File "/home/elliott/code/obspy/obspy/core/stream.py", line 1444, in write | |
| write_format(self, filename, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/core.py", line 115, in _write_gse2 | |
| libgse2.write(trace.stats, trace.data, f, inplace) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 410, in write | |
| write_header(f, headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 234, in write_header | |
| warnings.warn(msg) | |
| UserWarning: GSE2: Error while compiling the STA2 header line, omitting it. | |
| ====================================================================== | |
| ERROR: test_write_integers_via_obspy (obspy.io.gse2.tests.test_core.CoreTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 231, in write_header | |
| sta2_line = compile_sta2(headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 494, in compile_sta2 | |
| stats['gse2']['lat'], | |
| File "/home/elliott/code/obspy/obspy/core/util/attribdict.py", line 69, in __getitem__ | |
| return self.__dict__[name] | |
| KeyError: 'lat' | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/gse2/tests/test_core.py", line 164, in test_write_integers_via_obspy | |
| st.write(tempfile, format="GSE2") | |
| File "/home/elliott/code/obspy/obspy/core/stream.py", line 1444, in write | |
| write_format(self, filename, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/core.py", line 115, in _write_gse2 | |
| libgse2.write(trace.stats, trace.data, f, inplace) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 410, in write | |
| write_header(f, headdict) | |
| File "/home/elliott/code/obspy/obspy/io/gse2/libgse2.py", line 234, in write_header | |
| warnings.warn(msg) | |
| UserWarning: GSE2: Error while compiling the STA2 header line, omitting it. | |
| ====================================================================== | |
| ERROR: test_creating_minimal_quakeml_with_mt (obspy.io.quakeml.tests.test_quakeml.QuakeMLTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/quakeml/tests/test_quakeml.py", line 737, in test_creating_minimal_quakeml_with_mt | |
| new_cat = _read_quakeml(memfile) | |
| File "/home/elliott/code/obspy/obspy/io/quakeml/core.py", line 1782, in _read_quakeml | |
| return Unpickler().load(filename) | |
| File "/home/elliott/code/obspy/obspy/io/quakeml/core.py", line 152, in load | |
| return self._deserialize() | |
| File "/home/elliott/code/obspy/obspy/io/quakeml/core.py", line 969, in _deserialize | |
| fm = self._focal_mechanism(fm_el) | |
| File "/home/elliott/code/obspy/obspy/io/quakeml/core.py", line 874, in _focal_mechanism | |
| obj.moment_tensor = self._moment_tensor(element) | |
| File "/home/elliott/code/obspy/obspy/io/quakeml/core.py", line 837, in _moment_tensor | |
| obj.resource_id = mt_el.get('publicID') | |
| File "/home/elliott/code/obspy/obspy/core/event/base.py", line 325, in __setattr__ | |
| self.resource_id.set_referred_object(self) | |
| File "/home/elliott/code/obspy/obspy/core/event/base.py", line 590, in set_referred_object | |
| inspect.currentframe().f_back.f_lineno) | |
| UserWarning: The resource identifier 'smi:local/290126f2-bb01-4a70-b6ff-15b6c5a3391c' already exists and points to another object: 'MomentTensor(resource_id=ResourceIdentifier(id="smi:local/290126f2-bb01-4a70-b6ff-15b6c5a3391c"), derived_origin_id=ResourceIdentifier(id="smi:local/b3fbc8c9-5496-465f-9927-3263799f829a"), scalar_moment=5.291502622129181e+18, tensor=Tensor(m_rr=1e+18, m_tt=2e+18, m_pp=3e+18, m_rt=3e+18, m_rp=2e+18, m_tp=1e+18))'.It will now point to the object referred to by the new resource identifier. | |
| ====================================================================== | |
| ERROR: test_write_with_extra_tags_and_read (obspy.io.quakeml.tests.test_quakeml.QuakeMLTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/quakeml/tests/test_quakeml.py", line 927, in test_write_with_extra_tags_and_read | |
| cat = _read_quakeml(tmpfile) | |
| File "/home/elliott/code/obspy/obspy/io/quakeml/core.py", line 1782, in _read_quakeml | |
| return Unpickler().load(filename) | |
| File "/home/elliott/code/obspy/obspy/io/quakeml/core.py", line 152, in load | |
| return self._deserialize() | |
| File "/home/elliott/code/obspy/obspy/io/quakeml/core.py", line 959, in _deserialize | |
| pick = self._pick(pick_el) | |
| File "/home/elliott/code/obspy/obspy/io/quakeml/core.py", line 473, in _pick | |
| obj.resource_id = element.get('publicID') | |
| File "/home/elliott/code/obspy/obspy/core/event/base.py", line 325, in __setattr__ | |
| self.resource_id.set_referred_object(self) | |
| File "/home/elliott/code/obspy/obspy/core/event/base.py", line 590, in set_referred_object | |
| inspect.currentframe().f_back.f_lineno) | |
| UserWarning: The resource identifier 'smi:local/f6b8b063-b183-49b1-9cf5-aef6873924f6' already exists and points to another object: 'Pick(resource_id=ResourceIdentifier(id="smi:local/f6b8b063-b183-49b1-9cf5-aef6873924f6"))'.It will now point to the object referred to by the new resource identifier. | |
| ====================================================================== | |
| ERROR: test_parse_file_with_no_default_namespace (obspy.io.stationxml.tests.test_stationxml.StationXMLTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/io/stationxml/tests/test_stationxml.py", line 632, in test_parse_file_with_no_default_namespace | |
| inv = obspy.read_inventory(filename) | |
| File "<decorator-gen-81>", line 2, in read_inventory | |
| File "/home/elliott/code/obspy/obspy/core/util/decorator.py", line 289, in _map_example_filename | |
| return func(*args, **kwargs) | |
| File "/home/elliott/code/obspy/obspy/core/inventory/inventory.py", line 72, in read_inventory | |
| format=format)[0] | |
| File "/home/elliott/code/obspy/obspy/core/util/base.py", line 433, in _read_from_plugin | |
| is_format = is_format(filename) | |
| File "/home/elliott/code/obspy/obspy/io/stationxml/core.py", line 84, in _is_stationxml | |
| root.attrib["schemaVersion"], SCHEMA_VERSION)) | |
| UserWarning: The StationXML file has version 2.0, ObsPy can deal with version 1.0. Proceed with caution. | |
| ====================================================================== | |
| ERROR: test_coincidence_trigger (obspy.signal.tests.test_trigger.TriggerTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/signal/tests/test_trigger.py", line 249, in test_coincidence_trigger | |
| sta=0.3, lta=5) | |
| File "/home/elliott/code/obspy/obspy/signal/trigger.py", line 669, in coincidence_trigger | |
| warnings.warn(msg, UserWarning) | |
| UserWarning: At least one trace's ID was not found in the trace ID list and was disregarded (BW.UH2..SHZ) | |
| ====================================================================== | |
| ERROR: test_issue1216 (obspy.signal.tests.test_spectral_estimation.PsdTestCase) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/obspy/obspy/signal/tests/test_spectral_estimation.py", line 586, in test_issue1216 | |
| ppsd.add(st) | |
| File "/home/elliott/code/obspy/obspy/signal/spectral_estimation.py", line 813, in add | |
| warnings.warn(msg) | |
| UserWarning: Already covered time spans detected (e.g. 2011-03-31T00:00:00.180000Z), skipping these slices. | |
| ====================================================================== | |
| FAIL: getTravelTimes (obspy.taup.taup) | |
| Doctest: obspy.taup.taup.getTravelTimes | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/conda/envs/obspy35/lib/python3.5/doctest.py", line 2189, in runTest | |
| raise self.failureException(self.format_failure(new.getvalue())) | |
| AssertionError: Failed doctest test for obspy.taup.taup.getTravelTimes | |
| File "/home/elliott/code/obspy/obspy/taup/taup.py", line 21, in getTravelTimes | |
| ---------------------------------------------------------------------- | |
| File "/home/elliott/code/obspy/obspy/taup/taup.py", line 43, in obspy.taup.taup.getTravelTimes | |
| Failed example: | |
| tt = getTravelTimes(delta=52.474, depth=611.0, model='ak135') | |
| Exception raised: | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/conda/envs/obspy35/lib/python3.5/doctest.py", line 1320, in __run | |
| compileflags, 1), test.globs) | |
| File "<doctest obspy.taup.taup.getTravelTimes[1]>", line 1, in <module> | |
| tt = getTravelTimes(delta=52.474, depth=611.0, model='ak135') | |
| File "/home/elliott/code/obspy/obspy/taup/taup.py", line 62, in getTravelTimes | |
| ObsPyDeprecationWarning, stacklevel=2) | |
| obspy.core.util.deprecation_helpers.ObsPyDeprecationWarning: The getTravelTimes() function is deprecated. Please use the obspy.taup.TauPyModel class directly. | |
| ---------------------------------------------------------------------- | |
| File "/home/elliott/code/obspy/obspy/taup/taup.py", line 44, in obspy.taup.taup.getTravelTimes | |
| Failed example: | |
| len(tt) | |
| Exception raised: | |
| Traceback (most recent call last): | |
| File "/home/elliott/code/conda/envs/obspy35/lib/python3.5/doctest.py", line 1320, in __run | |
| compileflags, 1), test.globs) | |
| File "<doctest obspy.taup.taup.getTravelTimes[2]>", line 1, in <module> | |
| len(tt) | |
| NameError: name 'tt' is not defined | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment