#97649 Report by node appveyor-ci covering 1811 tests from 46 modules resulted into 14 errors

Report

ObsPy Version
1.1.1rc1.post0+309.g42b02e7196
Continuous Integration
https://ci.appveyor.com/project/obspy/obspy/build/1.0.6158-Quakeml-dictionary-reading
GitHub Pull Request
-
Report File
XML Document
Total Runtime
345.8 sec
Report Date/Time
2018-07-15 19:03:42

System / Python

Architecture
64bit
Machine
AMD64
Node
appveyor-ci
Processor
Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
Python Compiler
MSC v.1500 64 bit (AMD64)
Python Implementation
CPython
Python Version
2.7.15
Release
2012ServerR2
System
Windows
Version
6.3.9600

Dependencies

cartopy
---
decorator
4.3.0
flake8
---
future
0.16.0
geographiclib
1.49
lxml.etree
4.2.3
m2crypto
---
matplotlib
2.2.2
mock
2.0.0
mpl_toolkits.basemap
1.1.0
numpy
1.14.5
pep8-naming
---
pyflakes
---
pyimgur
0.6.0
pyproj
1.9.5.1
requests
2.19.1
scipy
1.1.0
setuptools
40.0.0
shapefile
1.2.12
sqlalchemy
1.2.10

Modules (46)

Module Errors /
Failures
Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem - -
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 6 1 2 3 4 5 6
obspy.db - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde 1 7
obspy.io.quakeml 6 8 9 10 11 12 13
obspy.io.reftek - -
obspy.io.rg16 - -
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp 1 14
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal - -
obspy.taup - -
Summary 14 14

Tracebacks (14)

Traceback (most recent call last):
File "obspy\core\tests\test_resource_identifier.py", line 365, in test_all_referred_objects_in_events
self.assertIn(id(referred_object), ev_ids)
AssertionError: 239542736L not found in {260576256L: Amplitude(resource_id=ResourceIdentifier(id="smi:local/835745a8-7530-4498-84e9-0577850732aa"), generic_amplitude=0.0012, type='A', unit='m', period=1.0, time_window=TimeWindow(begin=1.2, end=2.2, reference=UTCDateTime(2016, 5, 4, 12, 0)), pick_id=ResourceIdentifier(id="smi:local/7ccf3a67-ab3c-46e9-9457-f2b1e4ca5112")), 260617216L: Origin(resource_id=ResourceIdentifier(id="smi:local/First"), time=UTCDateTime(2016, 5, 4, 12, 0) [uncertainty=0.01], longitude=-111.12525 [uncertainty=0.02], latitude=47.48589325 [uncertainty=0.021], depth=2.123 [uncertainty=1.22], depth_type='from location', time_fixed=False, epicenter_fixed=False, reference_system_id=ResourceIdentifier(id="smi:local/16ba0b26-f2ae-4e76-aa46-e158e3ba48fc"), method_id=ResourceIdentifier(id="smi:local/381dd26a-646f-4a99-8d48-2c3af113540f"), earth_model_id=ResourceIdentifier(id="smi:local/642c773f-b0ec-47f0-9430-7b590f934c7f"), quality=OriginQuality(used_phase_count=1, associated_station_count=1, used_station_count=1, depth_phase_count=1, standard_error=0.02, azimuthal_gap=0.12, ground_truth_level='GT0'), origin_type='hypocenter', origin_uncertainty=OriginUncertainty(horizontal_uncertainty=1.2, min_horizontal_uncertainty=0.12, max_horizontal_uncertainty=2.2, confidence_ellipsoid=ConfidenceEllipsoid(semi_major_axis_length=12.0, semi_minor_axis_length=12.0, major_axis_plunge=12.0, major_axis_rotation=12.0), preferred_description='uncertainty ellipse'), region='US', evaluation_mode='manual', evaluation_status='final'), 249795016L: [], 243408736L: 0.22, 260616712L: ResourceIdentifier(id="smi:local/381dd26a-646f-4a99-8d48-2c3af113540f"), 260577376L: DataUsed(wave_type='body waves', station_count=12, component_count=12, shortest_period=1.0, longest_period=20.0), 226295120L: 'smi:local/74b52630-e238-426b-b243-ca3d42401f34', 241077944L: 'Indago', 260576984L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 260465168L: 260576256L, 236574552L: -111.12525, 260468144L: 260575304L, 183228376L: 1462363201000000000L, 235316232L: 1, 283323416L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E32C18>, 235317064L: 2016, 260468400L: 260575864L, 260466320L: 260576760L, 226293760L: 'smi:local/082fb3c9-6f9c-405f-bff8-7fea671741bd', 261037088L: 1.2, 37868720L: u'final', 236579352L: 12.0, 243405352L: 0.02, 243405496L: 0.01, 260566824L: ResourceIdentifier(id="None"), 236574768L: 12.2, 235317256L: 1, 226283016L: 6, 260566432L: Magnitude(resource_id=ResourceIdentifier(id="smi:local/f3c55b59-dcce-4460-a987-44606f778413"), mag=5.5 [uncertainty=0.01], magnitude_type='Mw', origin_id=ResourceIdentifier(id="smi:local/First"), station_count=1), 260617272L: QuantityError({u'uncertainty': 1.22, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 236579472L: 2.0, 236579664L: 12.0, 226293440L: 'smi:local/da93f7d1-763b-43af-940a-c1fb413aced1', 236562696L: 12.0, 243414328L: 12.0, 260566992L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 243414112L: 12.0, 235318152L: 2, 235317768L: 0, 260616264L: QuantityError({u'uncertainty': 10.2, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 260577992L: ResourceIdentifier(id="smi:local/da93f7d1-763b-43af-940a-c1fb413aced1"), 235318024L: 12, 226282888L: [EventDescription(text='some text about the EQ', type='earthquake name')], 236574288L: 10.2, 236574648L: 12.2, 260468112L: 260618280L, 260577208L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 243408856L: 12.0, 260576816L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 241074776L: 'smi:local/c4cd655b-8272-4b81-a93b-66b4e0096f07', 260466288L: 260566768L, 260576032L: ResourceIdentifier(id="smi:local/eac2d983-b1d5-4e6e-9ada-c7cf336091d2"), 226294880L: 'smi:local/7ccf3a67-ab3c-46e9-9457-f2b1e4ca5112', 37816336L: u'm', 260575640L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 226293680L: 'smi:local/e78fe43d-a612-410c-994b-312c72102dc4', 243428872L: 2.24, 241075304L: 'HHZ', 260576200L: UTCDateTime(2018, 7, 15, 23, 58, 45, 870000), 285544072L: [CompositeTime(year=2016 [uncertainty=0], month=5 [uncertainty=0], day=4 [uncertainty=0], hour=0 [uncertainty=0], minute=0 [uncertainty=0], second=0.0 [uncertainty=0.01])], 226294480L: 'smi:local/da93f7d1-763b-43af-940a-c1fb413aced1', 243408928L: 12.0, 235319048L: 0, 260576368L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 243414376L: 122.1, 285544328L: [], 226293920L: 'smi:local/f3c55b59-dcce-4460-a987-44606f778413', 243405328L: 0.0012, 1426189432L: None, 226295600L: 'smi:local/e0b936eb-02d1-49ff-ad78-13ab5999f681', 260566656L: StationMagnitudeContribution(station_magnitude_id=ResourceIdentifier(id="smi:local/082fb3c9-6f9c-405f-bff8-7fea671741bd")), 241076976L: 'A', 260617496L: ResourceIdentifier(id="smi:local/f3c55b59-dcce-4460-a987-44606f778413"), 226294400L: 'smi:local/642c773f-b0ec-47f0-9430-7b590f934c7f', 260565872L: QuantityError({u'uncertainty': 0, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 260617104L: EventDescription(text='some text about the EQ', type='earthquake name'), 260575808L: CreationInfo(author='Indago', creation_time=UTCDateTime(2018, 7, 15, 23, 58, 45, 870000), version='10.10'), 235315656L: 0, 236579304L: 12.0, 283170128L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E0D550>, 285543560L: [Amplitude(resource_id=ResourceIdentifier(id="smi:local/835745a8-7530-4498-84e9-0577850732aa"), generic_amplitude=0.0012, type='A', unit='m', period=1.0, time_window=TimeWindow(begin=1.2, end=2.2, reference=UTCDateTime(2016, 5, 4, 12, 0)), pick_id=ResourceIdentifier(id="smi:local/7ccf3a67-ab3c-46e9-9457-f2b1e4ca5112"))], 272259752L: 12.0, 235315912L: 4, 241076448L: 'FOO', 236574864L: 15.0, 260566040L: QuantityError({u'uncertainty': 0, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 283320952L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E32278>, 260577824L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 260577432L: ResourceIdentifier(id="smi:local/5b2b3cdd-c0d0-4c1b-bd74-50d9ee42353a"), 236579424L: 12.0, 235316424L: 12, 283170576L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E0D710>, 243405472L: 12.0, 37868912L: u'manual', 236574024L: 2.123, 174156456L: 2.2, 260575864L: Comment(resource_id=ResourceIdentifier(id="smi:local/74b52630-e238-426b-b243-ca3d42401f34")), 260566544L: ResourceIdentifier(id="smi:local/First"), 283171640L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E0DB38>, 260575472L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 67244512L: u'general', 37870256L: u'mining explosion', 285543880L: [], 260576088L: Comment(resource_id=ResourceIdentifier(id="smi:local/e0b936eb-02d1-49ff-ad78-13ab5999f681")), 283172536L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E0DEB8>, 183962320L: 'None', 260577544L: NodalPlane(strike=12.0, dip=2.0, rake=12.0), 243405304L: 12.0, 260577880L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 260566208L: QuantityError({u'uncertainty': 0.01, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 260616992L: Arrival(resource_id=ResourceIdentifier(id="smi:local/Ar1"), pick_id=ResourceIdentifier(id="smi:local/7ccf3a67-ab3c-46e9-9457-f2b1e4ca5112"), phase='P', time_correction=0.2, azimuth=12.0, distance=10.0, takeoff_angle=15.0 [uncertainty=10.2], time_residual=0.02, horizontal_slowness_residual=12.2, backazimuth_residual=12.2, time_weight=0.23, horizontal_slowness_weight=12.0, backazimuth_weight=12.0, earth_model_id=ResourceIdentifier(id="smi:local/c4cd655b-8272-4b81-a93b-66b4e0096f07")), 243408904L: 5.5, 260566488L: QuantityError({u'uncertainty': 0.01, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 225248584L: [], 236574720L: 0.23, 260616656L: ResourceIdentifier(id="smi:local/da93f7d1-763b-43af-940a-c1fb413aced1"), 285544136L: [Origin(resource_id=ResourceIdentifier(id="smi:local/First"), time=UTCDateTime(2016, 5, 4, 12, 0) [uncertainty=0.01], longitude=-111.12525 [uncertainty=0.02], latitude=47.48589325 [uncertainty=0.021], depth=2.123 [uncertainty=1.22], depth_type='from location', time_fixed=False, epicenter_fixed=False, reference_system_id=ResourceIdentifier(id="smi:local/16ba0b26-f2ae-4e76-aa46-e158e3ba48fc"), method_id=ResourceIdentifier(id="smi:local/381dd26a-646f-4a99-8d48-2c3af113540f"), earth_model_id=ResourceIdentifier(id="smi:local/642c773f-b0ec-47f0-9430-7b590f934c7f"), quality=OriginQuality(used_phase_count=1, associated_station_count=1, used_station_count=1, depth_phase_count=1, standard_error=0.02, azimuthal_gap=0.12, ground_truth_level='GT0'), origin_type='hypocenter', origin_uncertainty=OriginUncertainty(horizontal_uncertainty=1.2, min_horizontal_uncertainty=0.12, max_horizontal_uncertainty=2.2, confidence_ellipsoid=ConfidenceEllipsoid(semi_major_axis_length=12.0, semi_minor_axis_length=12.0, major_axis_plunge=12.0, major_axis_rotation=12.0), preferred_description='uncertainty ellipse'), region='US', evaluation_mode='manual', evaluation_status='final')], 260617328L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000F88B470>, 235317960L: 0, 260628768L: 'smi:local/52b4ede0-ad5b-4fbf-97bb-cdb32c4099fc', 283079376L: 'smi:local/First', 260616824L: QuantityError({u'uncertainty': 0.021, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 236579784L: 0.55, 243405280L: 0.01, 285543496L: [], 226293360L: 'smi:local/f3c55b59-dcce-4460-a987-44606f778413', 283321512L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E324A8>, 243414040L: 12.0, 67245808L: u'uncertainty ellipse', 285543624L: [], 260576480L: TimeWindow(begin=1.2, end=2.2, reference=UTCDateTime(2016, 5, 4, 12, 0)), 235317512L: 0, 235318344L: 12, 260577264L: SourceTimeFunction(type='triangle', duration=0.12, rise_time=0.33, decay_time=0.23), 1426235112L: True, 260576872L: Tensor(m_rr=12.0 [uncertainty=0.01], m_tt=12.0, m_pp=12.0, m_rt=12.0, m_rp=12.0, m_tp=12.0), 174163752L: 12.0, 260616432L: ResourceIdentifier(id="smi:local/7ccf3a67-ab3c-46e9-9457-f2b1e4ca5112"), 260618280L: Event(resource_id=ResourceIdentifier(id="smi:local/e78fe43d-a612-410c-994b-312c72102dc4"), event_type='mining explosion', preferred_origin_id=ResourceIdentifier(id="smi:local/First"), preferred_magnitude_id=ResourceIdentifier(id="smi:local/f3c55b59-dcce-4460-a987-44606f778413"), preferred_focal_mechanism_id=ResourceIdentifier(id="smi:local/da93f7d1-763b-43af-940a-c1fb413aced1")), 260575696L: ResourceIdentifier(id="smi:local/4813c7fd-f559-45ac-91fb-7be07569b034"), 260618840L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000F88BA58>, 260566264L: OriginUncertainty(horizontal_uncertainty=1.2, min_horizontal_uncertainty=0.12, max_horizontal_uncertainty=2.2, confidence_ellipsoid=ConfidenceEllipsoid(semi_major_axis_length=12.0, semi_minor_axis_length=12.0, major_axis_plunge=12.0, major_axis_rotation=12.0), preferred_description='uncertainty ellipse'), 183228256L: 1462363200000000000L, 226279688L: 6, 243408640L: 0.12, 260616320L: QuantityError({u'uncertainty': 0.02, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 241078208L: 'UU', 67246048L: u'emergent', 243414088L: 0.23, 235315976L: 6, 235315848L: 0, 260566712L: ResourceIdentifier(id="smi:local/082fb3c9-6f9c-405f-bff8-7fea671741bd"), 283322128L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E32710>, 260955608L: 1.2, 260565928L: QuantityError({u'uncertainty': 0, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 260576536L: ResourceIdentifier(id="smi:local/835745a8-7530-4498-84e9-0577850732aa"), 243409144L: 0.12, 260577040L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 283172592L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E0DEF0>, 260618056L: ResourceIdentifier(id="smi:local/e78fe43d-a612-410c-994b-312c72102dc4"), 236579616L: 98.0, 173747488L: 'smi:local/First', 241076272L: 'US', 260610000L: 260566432L, 260620072L: QuantityError({u'uncertainty': 0.01, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 235315528L: 1, 67246288L: u'positive', 260577656L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 285543816L: [StationMagnitudeContribution(station_magnitude_id=ResourceIdentifier(id="smi:local/082fb3c9-6f9c-405f-bff8-7fea671741bd"))], 260566320L: ConfidenceEllipsoid(semi_major_axis_length=12.0, semi_minor_axis_length=12.0, major_axis_plunge=12.0, major_axis_rotation=12.0), 285543304L: [], 260465136L: 260576088L, 260576312L: ResourceIdentifier(id="smi:local/7ccf3a67-ab3c-46e9-9457-f2b1e4ca5112"), 236573496L: 0.2, 260575920L: ResourceIdentifier(id="smi:local/74b52630-e238-426b-b243-ca3d42401f34"), 260575528L: ResourceIdentifier(id="smi:local/slow"), 283080000L: 'smi:local/Ar1', 226294240L: 'smi:local/381dd26a-646f-4a99-8d48-2c3af113540f', 283079088L: 'smi:local/First', 236579856L: 20.0, 236574264L: 0.02, 235317576L: 1, 37867616L: u'earthquake name', 272260304L: 12.0, 285543176L: [DataUsed(wave_type='body waves', station_count=12, component_count=12, shortest_period=1.0, longest_period=20.0)], 260576592L: UTCDateTime(2016, 5, 4, 12, 0), 260565816L: QuantityError({u'uncertainty': 0, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 260566936L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000F87EF98>, 260618168L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000F88B7B8>, 67246528L: u'triangle', 285543432L: [FocalMechanism(resource_id=ResourceIdentifier(id="smi:local/da93f7d1-763b-43af-940a-c1fb413aced1"), nodal_planes=NodalPlanes(nodal_plane_1=NodalPlane(strike=12.0, dip=2.0, rake=12.0), nodal_plane_2=NodalPlane(strike=12.0, dip=2.0, rake=12.0), preferred_plane=2), azimuthal_gap=12.0, station_polarity_count=12, misfit=0.12, station_distribution_ratio=0.12, moment_tensor=MomentTensor(resource_id=ResourceIdentifier(id="smi:local/5b2b3cdd-c0d0-4c1b-bd74-50d9ee42353a"), scalar_moment=12213.0, tensor=Tensor(m_rr=12.0 [uncertainty=0.01], m_tt=12.0, m_pp=12.0, m_rt=12.0, m_rp=12.0, m_tp=12.0), variance=12.23, variance_reduction=98.0, double_couple=0.22, clvd=0.55, iso=0.33, source_time_function=SourceTimeFunction(type='triangle', duration=0.12, rise_time=0.33, decay_time=0.23), method_id=ResourceIdentifier(id="smi:local/52b4ede0-ad5b-4fbf-97bb-cdb32c4099fc"), inversion_type='general'))], 260617048L: ResourceIdentifier(id="smi:local/c4cd655b-8272-4b81-a93b-66b4e0096f07"), 243409216L: 0.12, 260566152L: QuantityError({u'uncertainty': 0, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 260617384L: ResourceIdentifier(id="smi:local/First"), 243404872L: 12.0, 285543688L: [Pick(resource_id=ResourceIdentifier(id="smi:local/7ccf3a67-ab3c-46e9-9457-f2b1e4ca5112"), time=UTCDateTime(2016, 5, 4, 12, 0, 1), waveform_id=WaveformStreamID(network_code='UU', station_code='FOO', channel_code='HHZ', location_code='--'), filter_id=ResourceIdentifier(id="smi:local/95790320-4e6c-4336-aa1a-7912da0786c4"), method_id=ResourceIdentifier(id="smi:local/4813c7fd-f559-45ac-91fb-7be07569b034"), horizontal_slowness=12.0 [uncertainty=12.0], backazimuth=122.1, slowness_method_id=ResourceIdentifier(id="smi:local/slow"), onset='emergent', phase_hint='P', polarity='positive', evaluation_mode='manual', evaluation_status='final', creation_info=CreationInfo(author='Indago', creation_time=UTCDateTime(2018, 7, 15, 23, 58, 45, 870000), version='10.10'))], 283172704L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E0DF60>, 236574096L: 0.021, 260575304L: Pick(resource_id=ResourceIdentifier(id="smi:local/7ccf3a67-ab3c-46e9-9457-f2b1e4ca5112"), time=UTCDateTime(2016, 5, 4, 12, 0, 1), waveform_id=WaveformStreamID(network_code='UU', station_code='FOO', channel_code='HHZ', location_code='--'), filter_id=ResourceIdentifier(id="smi:local/95790320-4e6c-4336-aa1a-7912da0786c4"), method_id=ResourceIdentifier(id="smi:local/4813c7fd-f559-45ac-91fb-7be07569b034"), horizontal_slowness=12.0 [uncertainty=12.0], backazimuth=122.1, slowness_method_id=ResourceIdentifier(id="smi:local/slow"), onset='emergent', phase_hint='P', polarity='positive', evaluation_mode='manual', evaluation_status='final', creation_info=CreationInfo(author='Indago', creation_time=UTCDateTime(2018, 7, 15, 23, 58, 45, 870000), version='10.10')), 285543944L: [], 260566376L: ResourceIdentifier(id="smi:local/First"), 260576928L: QuantityError({u'uncertainty': 0.01, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 285544200L: [Magnitude(resource_id=ResourceIdentifier(id="smi:local/f3c55b59-dcce-4460-a987-44606f778413"), mag=5.5 [uncertainty=0.01], magnitude_type='Mw', origin_id=ResourceIdentifier(id="smi:local/First"), station_count=1)], 243414304L: 2.2, 260609904L: 260616992L, 260616936L: UTCDateTime(2016, 5, 4, 12, 0), 260577712L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 67245376L: u'hypocenter', 226294320L: 'smi:local/95790320-4e6c-4336-aa1a-7912da0786c4', 236574072L: 0.01, 241077328L: '--', 283170464L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E0D6A0>, 236579568L: 1.0, 260617552L: ResourceIdentifier(id="smi:local/16ba0b26-f2ae-4e76-aa46-e158e3ba48fc"), 238403968L: 12.0, 285661504L: OriginQuality(used_phase_count=1, associated_station_count=1, used_station_count=1, depth_phase_count=1, standard_error=0.02, azimuthal_gap=0.12, ground_truth_level='GT0'), 260576144L: ResourceIdentifier(id="smi:local/e0b936eb-02d1-49ff-ad78-13ab5999f681"), 260566600L: ResourceIdentifier(id="smi:local/f3c55b59-dcce-4460-a987-44606f778413"), 260465072L: 260576648L, 260575752L: QuantityError({u'uncertainty': 12.0, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 236574600L: 0.02, 260575360L: UTCDateTime(2016, 5, 4, 12, 0, 1), 243414256L: 12213.0, 226294160L: 'smi:local/835745a8-7530-4498-84e9-0577850732aa', 260616600L: ResourceIdentifier(id="smi:local/Ar1"), 243413896L: 12.23, 241077416L: 'Mw', 260577600L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 283172760L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E0DF98>, 65293688L: 'QUAKEML', 260566768L: StationMagnitude(resource_id=ResourceIdentifier(id="smi:local/082fb3c9-6f9c-405f-bff8-7fea671741bd"), origin_id=ResourceIdentifier(id="None"), mag=2.24), 283079424L: 'smi:local/slow', 226294560L: 'smi:local/4813c7fd-f559-45ac-91fb-7be07569b034', 226295200L: 'smi:local/eac2d983-b1d5-4e6e-9ada-c7cf336091d2', 226294000L: 'smi:local/16ba0b26-f2ae-4e76-aa46-e158e3ba48fc', 285543752L: [StationMagnitude(resource_id=ResourceIdentifier(id="smi:local/082fb3c9-6f9c-405f-bff8-7fea671741bd"), origin_id=ResourceIdentifier(id="None"), mag=2.24)], 260565984L: CompositeTime(year=2016 [uncertainty=0], month=5 [uncertainty=0], day=4 [uncertainty=0], hour=0 [uncertainty=0], minute=0 [uncertainty=0], second=0.0 [uncertainty=0.01]), 236574216L: 1.22, 236574120L: 47.48589325, 283170072L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E0D518>, 1426234696L: False, 260609968L: 260617216L, 285544008L: [Arrival(resource_id=ResourceIdentifier(id="smi:local/Ar1"), pick_id=ResourceIdentifier(id="smi:local/7ccf3a67-ab3c-46e9-9457-f2b1e4ca5112"), phase='P', time_correction=0.2, azimuth=12.0, distance=10.0, takeoff_angle=15.0 [uncertainty=10.2], time_residual=0.02, horizontal_slowness_residual=12.2, backazimuth_residual=12.2, time_weight=0.23, horizontal_slowness_weight=12.0, backazimuth_weight=12.0, earth_model_id=ResourceIdentifier(id="smi:local/c4cd655b-8272-4b81-a93b-66b4e0096f07"))], 241077064L: 'P', 241075392L: 'smi:local/082fb3c9-6f9c-405f-bff8-7fea671741bd', 243413944L: 1.0, 243405424L: 12.0, 260577936L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 285661448L: ResourceIdentifier(id="smi:local/642c773f-b0ec-47f0-9430-7b590f934c7f"), 260576704L: ResourceIdentifier(id="smi:local/7ccf3a67-ab3c-46e9-9457-f2b1e4ca5112"), 241074336L: 'GT0', 260577152L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 241074600L: '10.10', 226294800L: 'smi:local/7ccf3a67-ab3c-46e9-9457-f2b1e4ca5112', 236579520L: 0.12, 241075656L: 'P', 283169904L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E0D470>, 241077504L: 'some text about the EQ', 285543112L: [], 260575976L: Comment(resource_id=ResourceIdentifier(id="smi:local/eac2d983-b1d5-4e6e-9ada-c7cf336091d2")), 226294080L: 'smi:local/7ccf3a67-ab3c-46e9-9457-f2b1e4ca5112', 236574672L: 12.0, 260575584L: WaveformStreamID(network_code='UU', station_code='FOO', channel_code='HHZ', location_code='--'), 260577320L: ResourceIdentifier(id="smi:local/52b4ede0-ad5b-4fbf-97bb-cdb32c4099fc"), 285543368L: [Comment(resource_id=ResourceIdentifier(id="smi:local/74b52630-e238-426b-b243-ca3d42401f34")), Comment(resource_id=ResourceIdentifier(id="smi:local/eac2d983-b1d5-4e6e-9ada-c7cf336091d2")), Comment(resource_id=ResourceIdentifier(id="smi:local/e0b936eb-02d1-49ff-ad78-13ab5999f681"))], 260566880L: ResourceIdentifier(id="smi:local/082fb3c9-6f9c-405f-bff8-7fea671741bd"), 236579544L: 2.0, 236574168L: 12.0, 183229056L: 1531699125870000000L, 236562768L: 10.0, 260468432L: 260575976L, 183228896L: 1462363200000000000L, 67244896L: u'from location', 243408784L: 0.01, 260577488L: NodalPlanes(nodal_plane_1=NodalPlane(strike=12.0, dip=2.0, rake=12.0), nodal_plane_2=NodalPlane(strike=12.0, dip=2.0, rake=12.0), preferred_plane=2), 283324368L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E32FD0>, 243405040L: 0.12, 37815328L: u'body waves', 260577768L: NodalPlane(strike=12.0, dip=2.0, rake=12.0), 235316360L: 1, 236573976L: 0.0, 260617440L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000F88B4E0>, 226295040L: 'smi:local/5b2b3cdd-c0d0-4c1b-bd74-50d9ee42353a', 236579640L: 0.33, 235319112L: 0, 260576424L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 283322800L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E329B0>, 226283464L: 6, 260577096L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 260576648L: FocalMechanism(resource_id=ResourceIdentifier(id="smi:local/da93f7d1-763b-43af-940a-c1fb413aced1"), nodal_planes=NodalPlanes(nodal_plane_1=NodalPlane(strike=12.0, dip=2.0, rake=12.0), nodal_plane_2=NodalPlane(strike=12.0, dip=2.0, rake=12.0), preferred_plane=2), azimuthal_gap=12.0, station_polarity_count=12, misfit=0.12, station_distribution_ratio=0.12, moment_tensor=MomentTensor(resource_id=ResourceIdentifier(id="smi:local/5b2b3cdd-c0d0-4c1b-bd74-50d9ee42353a"), scalar_moment=12213.0, tensor=Tensor(m_rr=12.0 [uncertainty=0.01], m_tt=12.0, m_pp=12.0, m_rt=12.0, m_rp=12.0, m_tp=12.0), variance=12.23, variance_reduction=98.0, double_couple=0.22, clvd=0.55, iso=0.33, source_time_function=SourceTimeFunction(type='triangle', duration=0.12, rise_time=0.33, decay_time=0.23), method_id=ResourceIdentifier(id="smi:local/52b4ede0-ad5b-4fbf-97bb-cdb32c4099fc"), inversion_type='general')), 260576760L: MomentTensor(resource_id=ResourceIdentifier(id="smi:local/5b2b3cdd-c0d0-4c1b-bd74-50d9ee42353a"), scalar_moment=12213.0, tensor=Tensor(m_rr=12.0 [uncertainty=0.01], m_tt=12.0, m_pp=12.0, m_rt=12.0, m_rp=12.0, m_tp=12.0), variance=12.23, variance_reduction=98.0, double_couple=0.22, clvd=0.55, iso=0.33, source_time_function=SourceTimeFunction(type='triangle', duration=0.12, rise_time=0.33, decay_time=0.23), method_id=ResourceIdentifier(id="smi:local/52b4ede0-ad5b-4fbf-97bb-cdb32c4099fc"), inversion_type='general'), 260575416L: ResourceIdentifier(id="smi:local/95790320-4e6c-4336-aa1a-7912da0786c4"), 283322016L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010E326A0>, 243359080L: 0.33, 235315464L: 5}
Traceback (most recent call last):
File "obspy\core\tests\test_resource_identifier.py", line 351, in test_arrivals_refer_to_picks_in_same_event
self.assertIs(pick, arrival_pick)
AssertionError: Pick(resource_id=ResourceIdentifier(id="smi:local/91b83078-219d-4d9d-af05-d10b2a706e17"), time=UTCDateTime(2016, 5, 4, 12, 0, 1), waveform_id=WaveformStreamID(network_code='UU', station_code='FOO', channel_code='HHZ', location_code='--'), filter_id=ResourceIdentifier(id="smi:local/4dc22332-2f8f-4dd0-8b21-8ce3236d1545"), method_id=ResourceIdentifier(id="smi:local/7fa6de79-9d6d-40af-b318-0af8b4069609"), horizontal_slowness=12.0 [uncertainty=12.0], backazimuth=122.1, slowness_method_id=ResourceIdentifier(id="smi:local/slow"), onset='emergent', phase_hint='P', polarity='positive', evaluation_mode='manual', evaluation_status='final', creation_info=CreationInfo(author='Indago', creation_time=UTCDateTime(2018, 7, 15, 23, 58, 46, 89000), version='10.10')) is not Pick(resource_id=ResourceIdentifier(id="smi:local/91b83078-219d-4d9d-af05-d10b2a706e17"), time=UTCDateTime(2016, 5, 4, 12, 0, 1), waveform_id=WaveformStreamID(network_code='UU', station_code='FOO', channel_code='HHZ', location_code='--'), filter_id=ResourceIdentifier(id="smi:local/4dc22332-2f8f-4dd0-8b21-8ce3236d1545"), method_id=ResourceIdentifier(id="smi:local/7fa6de79-9d6d-40af-b318-0af8b4069609"), horizontal_slowness=12.0 [uncertainty=12], backazimuth=122.1, slowness_method_id=ResourceIdentifier(id="smi:local/slow"), onset='emergent', phase_hint='P', polarity='positive', evaluation_mode='manual', evaluation_status='final', creation_info=CreationInfo(author='Indago', creation_time=UTCDateTime(2018, 7, 15, 23, 58, 46, 89000), version='10.10'))
Traceback (most recent call last):
File "obspy\core\tests\test_resource_identifier.py", line 519, in test_event_scoped_resource_id_many_threads
self.test_all_referred_objects_in_events(catalogs)
File "obspy\core\tests\test_resource_identifier.py", line 365, in test_all_referred_objects_in_events
self.assertIn(id(referred_object), ev_ids)
AssertionError: 285612632L not found in {285611008L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000011061400>, 233495408L: 'smi:local/aa504f0b-b9c3-436f-b7e8-2e7e9199e694', 233496448L: 'smi:local/0dadefb6-f8c8-4fb4-9e31-c8855c2292ad', 324507968L: QuantityError({u'uncertainty': 0, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 268613600L: 'smi:local/slow', 186354736L: 240315920L, 243448840L: 12.0, 285612128L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000011061860>, 240312448L: UTCDateTime(2016, 5, 4, 12, 0), 324507352L: <obspy.core.event.resourceid._ResourceKey object at 0x00000000135796D8>, 324509200L: ResourceIdentifier(id="smi:local/aa504f0b-b9c3-436f-b7e8-2e7e9199e694"), 233091928L: UTCDateTime(2016, 5, 4, 12, 0), 261057088L: 'UU', 324507744L: QuantityError({u'uncertainty': 0, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 116552776L: [CompositeTime(year=2016 [uncertainty=0], month=5 [uncertainty=0], day=4 [uncertainty=0], hour=0 [uncertainty=0], minute=0 [uncertainty=0], second=0.0 [uncertainty=0.01])], 233492928L: 'smi:local/89ea6552-fb4c-4288-be7c-9dbda77d85de', 173900360L: [], 226178376L: 5, 243438664L: 12.0, 243448864L: 12.0, 243194032L: 0.02, 261057440L: 'P', 243433600L: 98.0, 233492528L: 'smi:local/0016e56b-71bc-4721-a7e0-bcc396d61799', 243193936L: 12.2, 233495648L: 'smi:local/0e500461-1cc7-4190-b5f1-0d8f83f62d24', 243437872L: 12.0, 240313904L: QuantityError({u'uncertainty': 1.22, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 116553480L: [], 173901704L: 6, 226179656L: [], 243448888L: 0.23, 243433576L: 0.22, 324508416L: ResourceIdentifier(id="smi:local/First"), 239659272L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000E48E908>, 243448648L: -111.12525, 233496128L: 'smi:local/5952d4b1-7c0b-499b-87fc-ccb3c37424d5', 233093216L: ResourceIdentifier(id="smi:local/b9759812-caa2-4733-943e-cd519120de4e"), 282978176L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010DDE780>, 240313848L: ResourceIdentifier(id="smi:local/0dadefb6-f8c8-4fb4-9e31-c8855c2292ad"), 233494848L: 'smi:local/a47397e1-3b78-4cd8-a589-aaf22bb9842c', 186662472L: Amplitude(resource_id=ResourceIdentifier(id="smi:local/b9759812-caa2-4733-943e-cd519120de4e"), generic_amplitude=0.0012, type='A', unit='m', period=1.0, time_window=TimeWindow(begin=1.2, end=2.2, reference=UTCDateTime(2016, 5, 4, 12, 0)), pick_id=ResourceIdentifier(id="smi:local/0e500461-1cc7-4190-b5f1-0d8f83f62d24")), 235118944L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000E03A160>, 233094224L: ResourceIdentifier(id="smi:local/0e500461-1cc7-4190-b5f1-0d8f83f62d24"), 243448504L: 1.22, 51960912L: ResourceIdentifier(id="smi:local/c7eeedc4-6fe5-42aa-ab3d-5d5956143959"), 243448672L: 0.021, 324507184L: StationMagnitude(resource_id=ResourceIdentifier(id="smi:local/c8175416-a466-4147-ba41-15eeded9a904"), origin_id=ResourceIdentifier(id="None"), mag=2.24), 243448408L: 0.01, 243438760L: 0.01, 243433168L: 2.0, 324506176L: ResourceIdentifier(id="smi:local/89ea6552-fb4c-4288-be7c-9dbda77d85de"), 173903432L: [DataUsed(wave_type='body waves', station_count=12, component_count=12, shortest_period=1.0, longest_period=20.0)], 240314464L: ResourceIdentifier(id="smi:local/0e500461-1cc7-4190-b5f1-0d8f83f62d24"), 37816336L: u'm', 172020120L: Comment(resource_id=ResourceIdentifier(id="smi:local/15d5eb4e-ad58-4fe4-ae94-64ad9cfb84ea")), 221737888L: 'smi:local/c7eeedc4-6fe5-42aa-ab3d-5d5956143959', 172023312L: Comment(resource_id=ResourceIdentifier(id="smi:local/c7eeedc4-6fe5-42aa-ab3d-5d5956143959")), 239657032L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000E48E048>, 240313960L: ResourceIdentifier(id="smi:local/First"), 243438232L: 0.12, 233094336L: SourceTimeFunction(type='triangle', duration=0.12, rise_time=0.33, decay_time=0.23), 324506736L: WaveformStreamID(network_code='UU', station_code='FOO', channel_code='HHZ', location_code='--'), 324509032L: ResourceIdentifier(id="smi:local/bf9dd4a2-18d0-4862-a562-f2e282076094"), 172021464L: CreationInfo(author='Indago', creation_time=UTCDateTime(2018, 7, 15, 23, 58, 46, 323000), version='10.10'), 233093552L: NodalPlanes(nodal_plane_1=NodalPlane(strike=12.0, dip=2.0, rake=12.0), nodal_plane_2=NodalPlane(strike=12.0, dip=2.0, rake=12.0), preferred_plane=2), 233092040L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 233495088L: 'smi:local/c8175416-a466-4147-ba41-15eeded9a904', 1426189432L: None, 240316032L: Arrival(resource_id=ResourceIdentifier(id="smi:local/Ar1"), pick_id=ResourceIdentifier(id="smi:local/0e500461-1cc7-4190-b5f1-0d8f83f62d24"), phase='P', time_correction=0.2, azimuth=12.0, distance=10.0, takeoff_angle=15.0 [uncertainty=10.2], time_residual=0.02, horizontal_slowness_residual=12.2, backazimuth_residual=12.2, time_weight=0.23, horizontal_slowness_weight=12.0, backazimuth_weight=12.0, earth_model_id=ResourceIdentifier(id="smi:local/ef5a0fdb-5c15-4f30-a55f-d2dd3d32a347")), 233092768L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 172067568L: 233094896L, 226177288L: 0, 221722256L: 'smi:local/First', 285610112L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000011061080>, 233557184L: 'smi:local/Ar1', 233091984L: ResourceIdentifier(id="smi:local/0016e56b-71bc-4721-a7e0-bcc396d61799"), 243433408L: 0.12, 226179336L: [StationMagnitudeContribution(station_magnitude_id=ResourceIdentifier(id="smi:local/c8175416-a466-4147-ba41-15eeded9a904"))], 233091592L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 179544712L: 1462363200000000000L, 324508304L: Magnitude(resource_id=ResourceIdentifier(id="smi:local/0dadefb6-f8c8-4fb4-9e31-c8855c2292ad"), mag=5.5 [uncertainty=0.01], magnitude_type='Mw', origin_id=ResourceIdentifier(id="smi:local/First"), station_count=1), 186352720L: 172023312L, 240314408L: EventDescription(text='some text about the EQ', type='earthquake name'), 233094896L: MomentTensor(resource_id=ResourceIdentifier(id="smi:local/99996300-38e9-4004-af09-20a4e6d8440e"), scalar_moment=12213.0, tensor=Tensor(m_rr=12.0 [uncertainty=0.01], m_tt=12.0, m_pp=12.0, m_rt=12.0, m_rp=12.0, m_tp=12.0), variance=12.23, variance_reduction=98.0, double_couple=0.22, clvd=0.55, iso=0.33, source_time_function=SourceTimeFunction(type='triangle', duration=0.12, rise_time=0.33, decay_time=0.23), method_id=ResourceIdentifier(id="smi:local/ad3397b3-4672-4aff-be83-0909098b24f4"), inversion_type='general'), 243447952L: 12.0, 233094168L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 33148552L: [], 324508584L: ResourceIdentifier(id="smi:local/c8175416-a466-4147-ba41-15eeded9a904"), 182860656L: 1462363201000000000L, 324506456L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 226178056L: [FocalMechanism(resource_id=ResourceIdentifier(id="smi:local/0016e56b-71bc-4721-a7e0-bcc396d61799"), nodal_planes=NodalPlanes(nodal_plane_1=NodalPlane(strike=12.0, dip=2.0, rake=12.0), nodal_plane_2=NodalPlane(strike=12.0, dip=2.0, rake=12.0), preferred_plane=2), azimuthal_gap=12.0, station_polarity_count=12, misfit=0.12, station_distribution_ratio=0.12, moment_tensor=MomentTensor(resource_id=ResourceIdentifier(id="smi:local/99996300-38e9-4004-af09-20a4e6d8440e"), scalar_moment=12213.0, tensor=Tensor(m_rr=12.0 [uncertainty=0.01], m_tt=12.0, m_pp=12.0, m_rt=12.0, m_rp=12.0, m_tp=12.0), variance=12.23, variance_reduction=98.0, double_couple=0.22, clvd=0.55, iso=0.33, source_time_function=SourceTimeFunction(type='triangle', duration=0.12, rise_time=0.33, decay_time=0.23), method_id=ResourceIdentifier(id="smi:local/ad3397b3-4672-4aff-be83-0909098b24f4"), inversion_type='general'))], 324508192L: ResourceIdentifier(id="smi:local/0dadefb6-f8c8-4fb4-9e31-c8855c2292ad"), 173900872L: [Comment(resource_id=ResourceIdentifier(id="smi:local/c7eeedc4-6fe5-42aa-ab3d-5d5956143959")), Comment(resource_id=ResourceIdentifier(id="smi:local/15d5eb4e-ad58-4fe4-ae94-64ad9cfb84ea")), Comment(resource_id=ResourceIdentifier(id="smi:local/d703ad30-e635-4080-880a-f4403d66edd7"))], 186505368L: ResourceIdentifier(id="smi:local/15d5eb4e-ad58-4fe4-ae94-64ad9cfb84ea"), 240312504L: ResourceIdentifier(id="smi:local/0016e56b-71bc-4721-a7e0-bcc396d61799"), 172068592L: 324505840L, 243438112L: 12.0, 324507296L: ResourceIdentifier(id="smi:local/0e500461-1cc7-4190-b5f1-0d8f83f62d24"), 261055856L: 'A', 324506624L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 243447976L: 12.0, 324506232L: UTCDateTime(2016, 5, 4, 12, 0, 1), 324505840L: Pick(resource_id=ResourceIdentifier(id="smi:local/0e500461-1cc7-4190-b5f1-0d8f83f62d24"), time=UTCDateTime(2016, 5, 4, 12, 0, 1), waveform_id=WaveformStreamID(network_code='UU', station_code='FOO', channel_code='HHZ', location_code='--'), filter_id=ResourceIdentifier(id="smi:local/5480e0cd-d1f3-44a1-8815-023ff7541516"), method_id=ResourceIdentifier(id="smi:local/89ea6552-fb4c-4288-be7c-9dbda77d85de"), horizontal_slowness=12.0 [uncertainty=12.0], backazimuth=122.1, slowness_method_id=ResourceIdentifier(id="smi:local/slow"), onset='emergent', phase_hint='P', polarity='positive', evaluation_mode='manual', evaluation_status='final', creation_info=CreationInfo(author='Indago', creation_time=UTCDateTime(2018, 7, 15, 23, 58, 46, 323000), version='10.10')), 226178824L: 1, 37868720L: u'final', 235346120L: [Origin(resource_id=ResourceIdentifier(id="smi:local/First"), time=UTCDateTime(2016, 5, 4, 12, 0) [uncertainty=0.01], longitude=-111.12525 [uncertainty=0.02], latitude=47.48589325 [uncertainty=0.021], depth=2.123 [uncertainty=1.22], depth_type='from location', time_fixed=False, epicenter_fixed=False, reference_system_id=ResourceIdentifier(id="smi:local/aa504f0b-b9c3-436f-b7e8-2e7e9199e694"), method_id=ResourceIdentifier(id="smi:local/bf9dd4a2-18d0-4862-a562-f2e282076094"), earth_model_id=ResourceIdentifier(id="smi:local/5952d4b1-7c0b-499b-87fc-ccb3c37424d5"), quality=OriginQuality(used_phase_count=1, associated_station_count=1, used_station_count=1, depth_phase_count=1, standard_error=0.02, azimuthal_gap=0.12, ground_truth_level='GT0'), origin_type='hypocenter', origin_uncertainty=OriginUncertainty(horizontal_uncertainty=1.2, min_horizontal_uncertainty=0.12, max_horizontal_uncertainty=2.2, confidence_ellipsoid=ConfidenceEllipsoid(semi_major_axis_length=12.0, semi_minor_axis_length=12.0, major_axis_plunge=12.0, major_axis_rotation=12.0), preferred_description='uncertainty ellipse'), region='US', evaluation_mode='manual', evaluation_status='final')], 261058320L: 'Indago', 186353392L: 172020120L, 261058408L: '10.10', 233093720L: NodalPlane(strike=12.0, dip=2.0, rake=12.0), 285610168L: <obspy.core.event.resourceid._ResourceKey object at 0x00000000110610B8>, 233093776L: DataUsed(wave_type='body waves', station_count=12, component_count=12, shortest_period=1.0, longest_period=20.0), 233494368L: 'smi:local/5480e0cd-d1f3-44a1-8815-023ff7541516', 324505672L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 243448072L: 12.0, 243433768L: 12.0, 240315584L: ResourceIdentifier(id="smi:local/First"), 324506400L: ResourceIdentifier(id="smi:local/slow"), 233092992L: ResourceIdentifier(id="smi:local/ad3397b3-4672-4aff-be83-0909098b24f4"), 261054888L: 'Mw', 233092600L: ResourceIdentifier(id="smi:local/99996300-38e9-4004-af09-20a4e6d8440e"), 226179592L: 6, 226177736L: [Amplitude(resource_id=ResourceIdentifier(id="smi:local/b9759812-caa2-4733-943e-cd519120de4e"), generic_amplitude=0.0012, type='A', unit='m', period=1.0, time_window=TimeWindow(begin=1.2, end=2.2, reference=UTCDateTime(2016, 5, 4, 12, 0)), pick_id=ResourceIdentifier(id="smi:local/0e500461-1cc7-4190-b5f1-0d8f83f62d24"))], 243438184L: 12213.0, 235346568L: [StationMagnitude(resource_id=ResourceIdentifier(id="smi:local/c8175416-a466-4147-ba41-15eeded9a904"), origin_id=ResourceIdentifier(id="None"), mag=2.24)], 243438256L: 0.12, 226177352L: 1, 67246288L: u'positive', 243438712L: 2.24, 243448192L: 1.2, 67244512L: u'general', 226180104L: 1, 186354000L: 186504416L, 243448024L: 12.0, 221737568L: 'smi:local/0016e56b-71bc-4721-a7e0-bcc396d61799', 285613640L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000011061E48>, 226180360L: 0, 186504416L: Comment(resource_id=ResourceIdentifier(id="smi:local/d703ad30-e635-4080-880a-f4403d66edd7")), 240316368L: ResourceIdentifier(id="smi:local/a47397e1-3b78-4cd8-a589-aaf22bb9842c"), 235347336L: [Arrival(resource_id=ResourceIdentifier(id="smi:local/Ar1"), pick_id=ResourceIdentifier(id="smi:local/0e500461-1cc7-4190-b5f1-0d8f83f62d24"), phase='P', time_correction=0.2, azimuth=12.0, distance=10.0, takeoff_angle=15.0 [uncertainty=10.2], time_residual=0.02, horizontal_slowness_residual=12.2, backazimuth_residual=12.2, time_weight=0.23, horizontal_slowness_weight=12.0, backazimuth_weight=12.0, earth_model_id=ResourceIdentifier(id="smi:local/ef5a0fdb-5c15-4f30-a55f-d2dd3d32a347"))], 228789184L: 'smi:local/99996300-38e9-4004-af09-20a4e6d8440e', 233093384L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 283145800L: 12, 1426235112L: True, 324507240L: ResourceIdentifier(id="None"), 249306368L: 'some text about the EQ', 67245808L: u'uncertainty ellipse', 240312616L: QuantityError({u'uncertainty': 10.2, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 243194104L: 10.2, 233094784L: Tensor(m_rr=12.0 [uncertainty=0.01], m_tt=12.0, m_pp=12.0, m_rt=12.0, m_rp=12.0, m_tp=12.0), 249305840L: 'smi:local/ef5a0fdb-5c15-4f30-a55f-d2dd3d32a347', 285612800L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000011061B00>, 285611904L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000011061780>, 226177480L: 6, 67246048L: u'emergent', 173900296L: 12, 324507912L: OriginQuality(used_phase_count=1, associated_station_count=1, used_station_count=1, depth_phase_count=1, standard_error=0.02, azimuthal_gap=0.12, ground_truth_level='GT0'), 228786304L: 'smi:local/d703ad30-e635-4080-880a-f4403d66edd7', 243448552L: 2.123, 233092152L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 243438352L: 2.2, 324509144L: QuantityError({u'uncertainty': 0.01, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 226177992L: 4, 243433288L: 1.0, 240313624L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000E52E518>, 243433072L: 12.0, 235347208L: [Magnitude(resource_id=ResourceIdentifier(id="smi:local/0dadefb6-f8c8-4fb4-9e31-c8855c2292ad"), mag=5.5 [uncertainty=0.01], magnitude_type='Mw', origin_id=ResourceIdentifier(id="smi:local/First"), station_count=1)], 243194200L: 10.0, 233094448L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 228789744L: 'smi:local/ad3397b3-4672-4aff-be83-0909098b24f4', 324508640L: ResourceIdentifier(id="smi:local/5952d4b1-7c0b-499b-87fc-ccb3c37424d5"), 243438376L: 1.2, 239657592L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000E48E278>, 261057176L: 'HHZ', 243448456L: 0.0, 233091704L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 233091816L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 243448144L: 2.2, 240315528L: ResourceIdentifier(id="smi:local/Ar1"), 243438016L: 12.0, 239660392L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000E48ED68>, 243433024L: 2.0, 234627200L: ResourceIdentifier(id="smi:local/d703ad30-e635-4080-880a-f4403d66edd7"), 226179272L: 0, 324505896L: QuantityError({u'uncertainty': 0.02, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 249306456L: 'P', 240315360L: ResourceIdentifier(id="smi:local/ef5a0fdb-5c15-4f30-a55f-d2dd3d32a347"), 233094616L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 226178120L: 0, 226179400L: 1, 226179784L: 0, 182859056L: 1462363200000000000L, 186353488L: 240316032L, 243433528L: 0.33, 67245376L: u'hypocenter', 67246528L: u'triangle', 240315920L: Event(resource_id=ResourceIdentifier(id="smi:local/a47397e1-3b78-4cd8-a589-aaf22bb9842c"), event_type='mining explosion', preferred_origin_id=ResourceIdentifier(id="smi:local/First"), preferred_magnitude_id=ResourceIdentifier(id="smi:local/0dadefb6-f8c8-4fb4-9e31-c8855c2292ad"), preferred_focal_mechanism_id=ResourceIdentifier(id="smi:local/0016e56b-71bc-4721-a7e0-bcc396d61799")), 233092656L: FocalMechanism(resource_id=ResourceIdentifier(id="smi:local/0016e56b-71bc-4721-a7e0-bcc396d61799"), nodal_planes=NodalPlanes(nodal_plane_1=NodalPlane(strike=12.0, dip=2.0, rake=12.0), nodal_plane_2=NodalPlane(strike=12.0, dip=2.0, rake=12.0), preferred_plane=2), azimuthal_gap=12.0, station_polarity_count=12, misfit=0.12, station_distribution_ratio=0.12, moment_tensor=MomentTensor(resource_id=ResourceIdentifier(id="smi:local/99996300-38e9-4004-af09-20a4e6d8440e"), scalar_moment=12213.0, tensor=Tensor(m_rr=12.0 [uncertainty=0.01], m_tt=12.0, m_pp=12.0, m_rt=12.0, m_rp=12.0, m_tp=12.0), variance=12.23, variance_reduction=98.0, double_couple=0.22, clvd=0.55, iso=0.33, source_time_function=SourceTimeFunction(type='triangle', duration=0.12, rise_time=0.33, decay_time=0.23), method_id=ResourceIdentifier(id="smi:local/ad3397b3-4672-4aff-be83-0909098b24f4"), inversion_type='general')), 238443352L: 0.2, 240315136L: QuantityError({u'uncertainty': 0.021, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 283146568L: 12, 67244896L: u'from location', 186353808L: 240313176L, 243448168L: 0.12, 243438280L: 12.0, 324508864L: CompositeTime(year=2016 [uncertainty=0], month=5 [uncertainty=0], day=4 [uncertainty=0], hour=0 [uncertainty=0], minute=0 [uncertainty=0], second=0.0 [uncertainty=0.01]), 173903624L: [], 324508472L: ResourceIdentifier(id="smi:local/c8175416-a466-4147-ba41-15eeded9a904"), 233094000L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 240313064L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000E52E2E8>, 243437968L: 12.0, 324508080L: QuantityError({u'uncertainty': 0.01, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 226181064L: 0, 243438808L: 5.5, 324508752L: QuantityError({u'uncertainty': 0, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 324507688L: QuantityError({u'uncertainty': 0, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 282976328L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010DDE048>, 226177160L: [], 37870256L: u'mining explosion', 261057264L: '--', 233493888L: 'smi:local/b9759812-caa2-4733-943e-cd519120de4e', 243194176L: 15.0, 233093160L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 243438040L: 0.01, 324506120L: QuantityError({u'uncertainty': 12.0, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 283146824L: 2, 243438472L: 1.0, 324505728L: ResourceIdentifier(id="smi:local/5480e0cd-d1f3-44a1-8815-023ff7541516"), 37868912L: u'manual', 172068176L: 233092656L, 233091312L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 233495328L: 'smi:local/0dadefb6-f8c8-4fb4-9e31-c8855c2292ad', 227443600L: 'smi:local/First', 241271120L: 'US', 233094056L: QuantityError({u'uncertainty': 0.01, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 235344904L: [], 324509592L: OriginUncertainty(horizontal_uncertainty=1.2, min_horizontal_uncertainty=0.12, max_horizontal_uncertainty=2.2, confidence_ellipsoid=ConfidenceEllipsoid(semi_major_axis_length=12.0, semi_minor_axis_length=12.0, major_axis_plunge=12.0, major_axis_rotation=12.0), preferred_description='uncertainty ellipse'), 65293688L: 'QUAKEML', 226178184L: 2016, 239660784L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000E48EEF0>, 243433264L: 20.0, 233556896L: 'smi:local/First', 221737968L: 'smi:local/0e500461-1cc7-4190-b5f1-0d8f83f62d24', 233092488L: QuantityError({u'uncertainty': None, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 241271208L: 'GT0', 243433552L: 0.55, 186659056L: UTCDateTime(2018, 7, 15, 23, 58, 46, 323000), 1426234696L: False, 233494448L: 'smi:local/bf9dd4a2-18d0-4862-a562-f2e282076094', 173903176L: 6, 243433120L: 12.0, 243433384L: 0.33, 243448336L: 0.02, 243438520L: 0.0012, 243437920L: 12.0, 226179720L: [EventDescription(text='some text about the EQ', type='earthquake name')], 261055328L: 'smi:local/c8175416-a466-4147-ba41-15eeded9a904', 235118888L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000E03A128>, 243448768L: 0.01, 324509088L: QuantityError({u'uncertainty': 0.01, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 226179464L: 0, 261057616L: 'FOO', 324507128L: StationMagnitudeContribution(station_magnitude_id=ResourceIdentifier(id="smi:local/c8175416-a466-4147-ba41-15eeded9a904")), 186353104L: 324508304L, 186352688L: 324507184L, 226180040L: 1, 37867616L: u'earthquake name', 243193984L: 12.2, 233093048L: NodalPlane(strike=12.0, dip=2.0, rake=12.0), 226178440L: [], 324509648L: ConfidenceEllipsoid(semi_major_axis_length=12.0, semi_minor_axis_length=12.0, major_axis_plunge=12.0, major_axis_rotation=12.0), 233094392L: TimeWindow(begin=1.2, end=2.2, reference=UTCDateTime(2016, 5, 4, 12, 0)), 226179976L: [Pick(resource_id=ResourceIdentifier(id="smi:local/0e500461-1cc7-4190-b5f1-0d8f83f62d24"), time=UTCDateTime(2016, 5, 4, 12, 0, 1), waveform_id=WaveformStreamID(network_code='UU', station_code='FOO', channel_code='HHZ', location_code='--'), filter_id=ResourceIdentifier(id="smi:local/5480e0cd-d1f3-44a1-8815-023ff7541516"), method_id=ResourceIdentifier(id="smi:local/89ea6552-fb4c-4288-be7c-9dbda77d85de"), horizontal_slowness=12.0 [uncertainty=12.0], backazimuth=122.1, slowness_method_id=ResourceIdentifier(id="smi:local/slow"), onset='emergent', phase_hint='P', polarity='positive', evaluation_mode='manual', evaluation_status='final', creation_info=CreationInfo(author='Indago', creation_time=UTCDateTime(2018, 7, 15, 23, 58, 46, 323000), version='10.10'))], 228788544L: 'smi:local/15d5eb4e-ad58-4fe4-ae94-64ad9cfb84ea', 243438568L: 122.1, 243432976L: 12.0, 282979800L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010DDEDD8>, 243433624L: 12.23, 243448576L: 0.02, 243194848L: 12.0, 221737808L: 'smi:local/0e500461-1cc7-4190-b5f1-0d8f83f62d24', 243438592L: 12.0, 179546512L: 1531699126323000000L, 37815328L: u'body waves', 239660616L: <obspy.core.event.resourceid._ResourceKey object at 0x000000000E48EE48>, 240313176L: Origin(resource_id=ResourceIdentifier(id="smi:local/First"), time=UTCDateTime(2016, 5, 4, 12, 0) [uncertainty=0.01], longitude=-111.12525 [uncertainty=0.02], latitude=47.48589325 [uncertainty=0.021], depth=2.123 [uncertainty=1.22], depth_type='from location', time_fixed=False, epicenter_fixed=False, reference_system_id=ResourceIdentifier(id="smi:local/aa504f0b-b9c3-436f-b7e8-2e7e9199e694"), method_id=ResourceIdentifier(id="smi:local/bf9dd4a2-18d0-4862-a562-f2e282076094"), earth_model_id=ResourceIdentifier(id="smi:local/5952d4b1-7c0b-499b-87fc-ccb3c37424d5"), quality=OriginQuality(used_phase_count=1, associated_station_count=1, used_station_count=1, depth_phase_count=1, standard_error=0.02, azimuthal_gap=0.12, ground_truth_level='GT0'), origin_type='hypocenter', origin_uncertainty=OriginUncertainty(horizontal_uncertainty=1.2, min_horizontal_uncertainty=0.12, max_horizontal_uncertainty=2.2, confidence_ellipsoid=ConfidenceEllipsoid(semi_major_axis_length=12.0, semi_minor_axis_length=12.0, major_axis_plunge=12.0, major_axis_rotation=12.0), preferred_description='uncertainty ellipse'), region='US', evaluation_mode='manual', evaluation_status='final'), 282979520L: <obspy.core.event.resourceid._ResourceKey object at 0x0000000010DDECC0>, 172067312L: 186662472L, 243448744L: 47.48589325, 173900936L: [], 173247024L: 'None', 243448312L: 0.12, 324509312L: QuantityError({u'uncertainty': 0, u'upper_uncertainty': None, u'lower_uncertainty': None, u'confidence_level': None}), 243433360L: 0.23, 243433216L: 12.0}
Traceback (most recent call last):
File "obspy\core\tests\test_resource_identifier.py", line 338, in test_preferred_focal_mechanism
self.assertIs(preferred_focal_mech, cat[0].focal_mechanisms[-1])
AssertionError: FocalMechanism(resource_id=ResourceIdentifier(id="smi:local/b061a5ab-cff7-44e9-9d6f-64fbb7d2ca32"), nodal_planes=NodalPlanes(nodal_plane_1=NodalPlane(strike=12.0, dip=2.0, rake=12.0), nodal_plane_2=NodalPlane(strike=12.0, dip=2.0, rake=12.0), preferred_plane=2), azimuthal_gap=12.0, station_polarity_count=12, misfit=0.12, station_distribution_ratio=0.12, moment_tensor=MomentTensor(resource_id=ResourceIdentifier(id="smi:local/cf436dfd-f44c-431b-88af-712a20e95beb"), scalar_moment=12213.0, tensor=Tensor(m_rr=12.0 [uncertainty=0.01], m_tt=12.0, m_pp=12.0, m_rt=12.0, m_rp=12.0, m_tp=12.0), variance=12.23, variance_reduction=98.0, double_couple=0.22, clvd=0.55, iso=0.33, source_time_function=SourceTimeFunction(type='triangle', duration=0.12, rise_time=0.33, decay_time=0.23), method_id=ResourceIdentifier(id="smi:local/1aa64bc2-5223-4078-b94c-f540a44767a9"), inversion_type='general')) is not FocalMechanism(resource_id=ResourceIdentifier(id="smi:local/b061a5ab-cff7-44e9-9d6f-64fbb7d2ca32"), nodal_planes=NodalPlanes(nodal_plane_1=NodalPlane(strike=12.0, dip=2.0, rake=12.0), nodal_plane_2=NodalPlane(strike=12.0, dip=2.0, rake=12.0), preferred_plane=2), azimuthal_gap=12.0, station_polarity_count=12, misfit=0.12, station_distribution_ratio=0.12, moment_tensor=MomentTensor(resource_id=ResourceIdentifier(id="smi:local/cf436dfd-f44c-431b-88af-712a20e95beb"), scalar_moment=12213.0, tensor=Tensor(m_rr=12.0 [uncertainty=0.01], m_tt=12.0, m_pp=12.0, m_rt=12.0, m_rp=12.0, m_tp=12.0), variance=12.23, variance_reduction=98.0, double_couple=0.22, clvd=0.55, iso=0.33, source_time_function=SourceTimeFunction(type='triangle', duration=0.12, rise_time=0.33, decay_time=0.23), method_id=ResourceIdentifier(id="smi:local/1aa64bc2-5223-4078-b94c-f540a44767a9"), inversion_type='general'))
Traceback (most recent call last):
File "obspy\core\tests\test_resource_identifier.py", line 329, in test_preferred_magnitude
self.assertIs(preferred_magnitude, cat[0].magnitudes[-1])
AssertionError: Magnitude(resource_id=ResourceIdentifier(id="smi:local/40e08e5a-71a8-4c60-a026-5599a2179b34"), mag=5.5 [uncertainty=0.01], magnitude_type='Mw', origin_id=ResourceIdentifier(id="smi:local/First"), station_count=1) is not Magnitude(resource_id=ResourceIdentifier(id="smi:local/40e08e5a-71a8-4c60-a026-5599a2179b34"), mag=5.5 [uncertainty=0.01], magnitude_type='Mw', origin_id=ResourceIdentifier(id="smi:local/First"), station_count=1)
Traceback (most recent call last):
File "obspy\core\tests\test_resource_identifier.py", line 320, in test_preferred_origin
self.assertIs(preferred_origin, cat[0].origins[-1])
AssertionError: Origin(resource_id=ResourceIdentifier(id="smi:local/First"), time=UTCDateTime(2016, 5, 4, 12, 0) [uncertainty=0.01], longitude=-111.12525 [uncertainty=0.02], latitude=47.48589325 [uncertainty=0.021], depth=2.123 [uncertainty=1.22], depth_type='from location', time_fixed=False, epicenter_fixed=False, reference_system_id=ResourceIdentifier(id="smi:local/b1c7971c-6610-44b7-8f77-4d420e831929"), method_id=ResourceIdentifier(id="smi:local/51add987-8c75-4b5c-a8e7-a043b2d828ef"), earth_model_id=ResourceIdentifier(id="smi:local/f89f8f0f-61b6-48de-8c8e-083b9b138ff0"), quality=OriginQuality(used_phase_count=1, associated_station_count=1, used_station_count=1, depth_phase_count=1, standard_error=0.02, azimuthal_gap=0.12, ground_truth_level='GT0'), origin_type='hypocenter', origin_uncertainty=OriginUncertainty(horizontal_uncertainty=1.2, min_horizontal_uncertainty=0.12, max_horizontal_uncertainty=2.2, confidence_ellipsoid=ConfidenceEllipsoid(semi_major_axis_length=12.0, semi_minor_axis_length=12.0, major_axis_plunge=12.0, major_axis_rotation=12.0), preferred_description='uncertainty ellipse'), region='US', evaluation_mode='manual', evaluation_status='final') is not Origin(resource_id=ResourceIdentifier(id="smi:local/First"), time=UTCDateTime(2016, 5, 4, 12, 0) [uncertainty=0.01], longitude=-111.12525 [uncertainty=0.02], latitude=47.48589325 [uncertainty=0.021], depth=2.123 [uncertainty=1.22], depth_type='from location', time_fixed=False, epicenter_fixed=False, reference_system_id=ResourceIdentifier(id="smi:local/b1c7971c-6610-44b7-8f77-4d420e831929"), method_id=ResourceIdentifier(id="smi:local/51add987-8c75-4b5c-a8e7-a043b2d828ef"), earth_model_id=ResourceIdentifier(id="smi:local/f89f8f0f-61b6-48de-8c8e-083b9b138ff0"), quality=OriginQuality(used_phase_count=1, associated_station_count=1, used_station_count=1, depth_phase_count=1, standard_error=0.02, azimuthal_gap=0.12, ground_truth_level='GT0'), origin_type='hypocenter', origin_uncertainty=OriginUncertainty(horizontal_uncertainty=1.2, min_horizontal_uncertainty=0.12, max_horizontal_uncertainty=2.2, confidence_ellipsoid=ConfidenceEllipsoid(semi_major_axis_length=12.0, semi_minor_axis_length=12.0, major_axis_plunge=12.0, major_axis_rotation=12.0), preferred_description='uncertainty ellipse'), region='US', evaluation_mode='manual', evaluation_status='final')
Traceback (most recent call last):
File "obspy\io\pde\tests\test_mchedr.py", line 318, in test_write_quakeml
catalog2 = _read_quakeml(tf)
File "obspy\io\quakeml\core.py", line 1888, in _read_quakeml
return Unpickler().load(filename)
File "obspy\io\quakeml\core.py", line 211, in load
self.xml_root = _xml_doc_from_anything(file)
File "obspy\io\quakeml\core.py", line 81, in _xml_doc_from_anything
source)
ValueError: Could not parse '<obspy.core.util.base.NamedTemporaryFile object at 0x000000000B203F60>' to an etree element.
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.quakeml.core.Unpickler._focal_mechanism
File "obspy\io\quakeml\core.py", line 1024, in _focal_mechanism
----------------------------------------------------------------------
File "obspy\io\quakeml\core.py", line 1041, in obspy.io.quakeml.core.Unpickler._focal_mechanism
Failed example:
print(fm.method_id)
Expected:
smi:ISC/methodID=Best_double_couple
Got:
None
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.quakeml.core.Unpickler._magnitude
File "obspy\io\quakeml\core.py", line 756, in _magnitude
----------------------------------------------------------------------
File "obspy\io\quakeml\core.py", line 773, in obspy.io.quakeml.core.Unpickler._magnitude
Failed example:
print(magnitude.mag)
Expected:
3.2
Got:
None
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.quakeml.core.Unpickler._origin
File "obspy\io\quakeml\core.py", line 706, in _origin
----------------------------------------------------------------------
File "obspy\io\quakeml\core.py", line 723, in obspy.io.quakeml.core.Unpickler._origin
Failed example:
print(origin.latitude)
Expected:
34.23
Got:
None
Traceback (most recent call last):
File "obspy\io\quakeml\tests\test_quakeml.py", line 945, in test_write_with_extra_tags_and_read
self.assertTrue(hasattr(cat[0], 'extra'))
AssertionError: False is not true
Traceback (most recent call last):
File "C:\Miniconda-x64\envs\test\lib\doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.quakeml.core.Unpickler._station_magnitude
File "obspy\io\quakeml\core.py", line 797, in _station_magnitude
----------------------------------------------------------------------
File "obspy\io\quakeml\core.py", line 814, in obspy.io.quakeml.core.Unpickler._station_magnitude
Failed example:
print(station_mag.mag)
Expected:
3.2
Got:
None
Traceback (most recent call last):
File "obspy\io\quakeml\tests\test_quakeml.py", line 74, in test_usgs_eventype
self.assertEqual(len(catalog), 1)
AssertionError: 0 != 1
Traceback (most recent call last):
File "obspy\io\seiscomp\tests\test_event.py", line 119, in test_sc3ml_versions
read_events(filename)
File "<decorator-gen-40>", line 2, in read_events
File "obspy\core\util\decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "obspy\core\event\catalog.py", line 853, in read_events
catalog = _read(pathnames[0], format, **kwargs)
File "<decorator-gen-41>", line 2, in _read
File "obspy\core\util\decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "obspy\core\event\catalog.py", line 866, in _read
**kwargs)
File "obspy\core\util\base.py", line 423, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "obspy\io\seiscomp\event.py", line 86, in _read_sc3ml
return Unpickler().load(io.BytesIO(quakeml_doc))
File "obspy\io\quakeml\core.py", line 212, in load
return self._deserialize()
File "obspy\io\quakeml\core.py", line 232, in _deserialize
raise Exception("Not a QuakeML compatible file or string")
Exception: Not a QuakeML compatible file or string

Skipped Tests (13)

Submodule Test Skip Message
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
core test_catalog_plot_global (obspy.core.tests.test_event.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_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.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
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.

Slowest Tests (20)

Runtime Test
16.920s test_is_format (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase)
15.520s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
13.890s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
10.843s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
7.844s __init__ (obspy.taup)
6.313s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
5.547s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.281s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.674s test_infinite_loop (obspy.io.mseed.tests.test_mseed_special_issues.MSEEDSpecialIssueTestCase)
4.141s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
4.047s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.047s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
3.766s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
3.734s test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase)
3.703s test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
3.656s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.656s plot_travel_times (obspy.taup.tau)
3.641s test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)
3.547s test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase)
3.531s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)

Chuck Norris Fact

Chuck Norris can access the DB from the UI.