Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Additional time constraints and fdsnws-station (HTTP POST) #84

@damb

Description

@damb

Apparently, the fdsnws-station specific time constraint query filter parameters startbefore, startafter, endbefore and endafter are not consumed and processed by all fdsnws-station implementations at EIDA DCs in the same way.

The specs mention the parameters with:

The ​startbefore, startafter, endbefore​ and ​endafter​ parameters, used only for the ​fdsnws-station service,
specify the selection of information strictly starting or ending before or after a specified time value;
they do not match any information occurring exactly at the time specified. 
These selection parameters are specifically for metadata and are useful for matching information
that would otherwise be difficult with the other time parameters.

When executing a HTTP POST request including one of the filter parameters mentioned above, SC3 fdsnws-station implementations return HTTP status code 400:

Error 400: Bad Request

time parameter in line 4 not allowed in POST request
Usage details are available from /fdsnws/station/1/

Request:
/fdsnws/station/1/query

Request Submitted:
2019-11-12T10:00:00.370331

Service Version:
1.2.0

In contrast, the fdsnws-station implementation of RESIF does allow these additional time constraint filter query parameters.

Though, allowing both the query filter parameters startbefore, startafter, endbefore, endafter and starttime and endtime parameters is somehow redundant and cumbersome.

At the time being, eida-federator is simply forwarding the parameters to fdsnws-station endpoint resources.

Question: What implementation should eida-federator follow in order to provide the best user experience?

Thanks for reporting, @jfclinton.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions