-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clarify how eventid query param relates to quakeml event publicID #3
Comments
According to the QuakeML 1.2 standard FDSNWS/event bases on, a publicid is built as follows: Under the assumption that these days, the organisation and domain names of issuers may be quite stable (and not overlapping), the QuakeML standard recommends for the authirity-id the following scheme: The resource ID part is within the responsibility of the organization, so the QuakeML standard does not provide recommendations. However you may consider the following points:
Based on that, an event publicID may e.g. (but not exclusively) look as follows: Looking at the real world examples:
Now, this all is not excatly answering the question of Philippe, and I actually think that there is no unique answer (and none can be enforced):
|
The eventid query param would seem to be the right way to re-get or update a quakeml event using the publicID. However, there is little to no consistency between datacenters now on how this is done, meaning a client has to guess at how to translate the publicID into the corresponding query param.
For example, publicID to eventid mapping for several datacenters are below. Most have overly long publicIDs and even where it is obvious how to translate the publicID to the eventid, it is much harder than it should be.
From a client perspective, it would be most beneficial if the output publicID could be directly put into the eventid query parameter and have it work. Absent that, a consistent approach to translating publicIDs to eventid query parameters should be part of the fdsn event web service.
USGS:
An event from a query has this as its publicID:
which suggests the event id should be usc000lvb5 and a query could be formed by replacing
quakeml:
withhttp://
like:but the returned event now has a different publicID
which is then not parsable in the same way. Here we have one datacenter with two different publicID to eventid mappings.
IRIS:
A query returns an event with publicID:
which suggests the eventid should be 3275979 and the query can be formed by replacing
smi:
withhttp://
which does work.
ISC
A query returns an event with publicID:
which suggests taking the evid query parameter and using that as
KMI (and likely other seiscomp3 based services)
A query returns an event with publicID:
and perhaps the eventid is
knmi2019cgfn
The text was updated successfully, but these errors were encountered: