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

support alternative representations of plane metadata #106

Open
pdowler opened this issue Apr 9, 2019 · 2 comments
Open

support alternative representations of plane metadata #106

pdowler opened this issue Apr 9, 2019 · 2 comments

Comments

@pdowler
Copy link
Member

pdowler commented Apr 9, 2019

The current plane metadata is roughly:
position: ICRS (deg)
energy: (barycentric) wavelength (m)
time: MJD UTC (d)
polarization: list of states

These coordinate/reference systems and units are now listed in the "interoperable profile".
However, the CADC TAP service also provides some energy columns with frequency values because the typical query cannot be re-written in a way that can be (easily) indexed...

In principle, one could specify places to put values with alternate representations. This is most obvious for wavelength/frequency/energy/velocity, less so for position (icrs/other epochs/galactic?), and then maybe time frames....

@pdowler
Copy link
Member Author

pdowler commented Apr 9, 2019

Thoiughts in no particular order:

  • Is there a good use case for alternative profiles?
  • Do they need to be defined and agreed upon or is this just value added content in a TAP service (the way CADC does it now)?
  • If there were alternate profiles, could one harvest caom instances and perform a profile transformation or harvest partial instances (with one profile) and add the others to make a multi-profile service?

@pdowler
Copy link
Member Author

pdowler commented May 24, 2024

I think the correct approach is:

  • model defined with only non redundant fields
  • the TAP relational mapping can specify alternate columns with well specified transformations from the model; these could be virtual or materialised (implementation detail).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant