obspy.core.event.resourceid.ResourceIdentifier.convert_id_to_quakeml_uri
- ResourceIdentifier.convert_id_to_quakeml_uri(authority_id='local')[source]
Converts the current ID to a valid QuakeML URI.
This method is deprecated, use
get_quakeml_id()
instead.Only an invalid QuakeML ResourceIdentifier string it will be converted to a valid one. Otherwise nothing will happen but after calling this method the user can be sure that the ID is a valid QuakeML URI.
- The resulting ID will be of the form
smi:authority_id/prefix/resource_id
- Parameters
authority_id (str, optional) – The base url of the resulting string. Defaults to
"local"
.