-
Notifications
You must be signed in to change notification settings - Fork 15
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
Waveform query channel expansion now not supported #142
Comments
|
The support to regex query has been removed yesterday since it's not in the spec and might cause some confusion (of level of regular expression supporting). https://github.com/GeoNet/fdsn/blob/master/internal/fdsn/dataselect_test.go#L63 |
Could we then have a better error message? Also, FDSN spec states that 204 error code is for:
Agree on the causing confusion! |
The query parameter here "[EH]H?" is not an invalid query. Our service just not taking it as regular expression. You're telling our service to look for stations which has a left bracket then "E" then "H" then right bracket then "H" then an any char -> which doesn't exist. |
Fair, I would expect 6-character channel names to be invalid (following SEED spec)? |
The specification suggests using wildcards and lists to get multiple channels. I hope that helps. From the spec (https://www.fdsn.org/webservices/FDSN-WS-Specifications-1.1.pdf):
|
Though FDSN spec says: But I agree that if we return 400 error for queries have regex chars, the user will know that we don't like regex. They won't misunderstood that "we've searched by regex but no result". (I think IRIS does this way) |
FDSN spec also says:
And SEED says:
But yup, agree, 400 for regex chars would be good in general (obviously apart from |
This kind of follows on from #129 - previously (yesterday morning) channel codes were handled so that multiple channel codes to be queried at the same time. Now this returns a 204 code.
Example Python/obspy code:
Yesterday morning this worked, but as of yesterday afternoon, not so much:
Might I suggest that the FDSN system has a regression test for this behaviour?
The text was updated successfully, but these errors were encountered: