Skip to content

ForeignKey to reference rows VS several TABLES #6

@AdaNebot

Description

@AdaNebot

In some cases data is in the form:

time filter wavelength flux
12313 B 0.123 0.4
12314 V 0.234 0.5

How to annotate this in VOTable? In the current document we propose separating the information in different tables, one per filter.

  • Cons: These time series are difficult to be interpreted as spectral data.

Alternative: according to VOTable Section 10.4 it is possible to use a ForeignKey to reference rows as an alternative to several TABLES.

  • Status: alternative mentioned in the text
  • Pros: allows to reference rows
  • Cons: applications (Aladin, Topcat) need extra code to understand the relationship. De/serialisation of such tables would be difficult. Complications in forwarding via SAMP to other clients with metadata intact would be hard.

The next step to investigate this as an alternative solution would be to expose an example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions