-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Following a recent discussion in Semantics, I'm trying to understand how we can use Coords to describe something as simple as a Votable TIMESYS description.
According to the current VOTable 1.5 WD, TIMESYS is composed of 4 attributes:
ID, used for referencing the TIMESYS element in the document.timeorigin, the time origin of the time coordinatetimescale, the time scale used (from http://www.ivoa.net/rdf/timescale)refposition, the reference position (from http://www.ivoa.net/rdf/refposition)
If I try to implement this using a coords:TimeFrame, I can include:
- a
refPosition, - a
timescale - a
refDirection.
No "time origin" here.
Looking at the Coords specification, it seems that we need to use a TimeOffset data type if I want to define a time origin, so the information is split in different places than on Votable TIMESYS.
However, if I look at the same document, and check the definition of the MJD data type. It is defined as a coords:TimeInstant, not a coords:TimeOffset. The text description says that it is a time in days measured from 2400000.5.
If I were to redefine MJD (see here for a list of various JD reference times used in other contexts), I would need to define it as a coords:TimeOffset, right?
Furthermore, is there any numerical time representation that is not a time offset? For instance: "unix time" of the number of seconds since January 1st, 1970 00:00:00 (UTC).
There may be a subtle reason why Coords:TimeFrame is defined in a different way than Votable:TIMESYS. However the way MJD is defined seems inconsistent. And the fact that the time origin of MJD is just a comment in the text description is really a bad solution.