obspy.core.event.base.ResourceIdentifier.copy

ResourceIdentifier.copy()[source]

Returns a copy of the ResourceIdentifier.

>>> res_id = ResourceIdentifier()
>>> res_id_2 = res_id.copy()
>>> print(res_id is res_id_2)
False
>>> print(res_id == res_id_2)
True