obspy.io.gse2.bulletin.Unpickler._get_res_id

Unpickler._get_res_id(ident, parent=None, parent_res_id=None)[source]

Create a ResourceIdentifier object.

Parameters:
  • ident (str) Id of the ResourceIdentifier.
  • parent (Origin, Event or any other object with a resource_id attribute.) The resource_id attribute of the parent will be used as a prefix for the new ResourceIdentifier.
  • parent_res_id (ResourceIdentifier of the parent.) ResourceIdentifier
Return type:

ResourceIdentifier

:return: ResourceIdentifier object.