Skip to content

how to handle datasets based on time ranges #227

@jbfaden

Description

@jbfaden

previous title: consider metadata to hint that second column stop time should be included in data responses

Jon and I thought we might address the startTime/stopTime overlapping a visible interval would be handled with a property of stop time. For example the second parameter would have a "stopTime":true property, and the server should send any interval that overlaps with the requested interval. (Presently only the startTime, which would need to be in the interval, is considered.)

Suppose you have a table of instrument modes for the mission. For the first three years, mode A is used, and for the second four years, mode B is used. So if you requested the entire interval, you would get:

2019-01-01T00Z,2022-01-01T00Z,A
2022-01-01T00Z,2026-01-01T00Z,B

If the stop time column is marked as a stop time, then requesting start=2020-01-01T00:00 and stop=2020-01-02T00:00 would still return

2019-01-01T00Z,2022-01-01T00Z,A

because it spans the interval.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions