Skip to content
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

Implement time offsets for uniformly sampled data #2

Open
anthonytw opened this issue May 28, 2020 · 0 comments
Open

Implement time offsets for uniformly sampled data #2

anthonytw opened this issue May 28, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@anthonytw
Copy link
Contributor

For uniformly sampled data the time channel adds unnecessary bulk. This can be fixed by implementing a meta time column that includes a set of index to time and frequency mappings, e.g.:

{
   ...
   "columns": {
      ...
      "time": {
         "type": "time-mapping",
         "offsets": [
            { "index": 0, "offset": 0, "freq": 100.0 },
            { "index": 1234, "offset": 442.2, "freq": 20.0 }
         ]
      }
      ...
   }
   ...
}

The offset is wrt the time offset (either global or local to the dataset), and the multiple entries support gaps and varying sample frequencies.

@anthonytw anthonytw added the enhancement New feature or request label May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant