|
International Virtual Observatory Alliance |
Space-Time Coordinate Metadata for the Virtual Observatory
Version 1.21
IVOA Proposed Recommendation 15 March 2005
This version:
1.21: http://www.ivoa.net/Documents/PR/STC/STC-20050315.html
Latest version:
http://www.ivoa.net/Documents/latest/STC.html
Previous versions:
1.20: http://www.ivoa.net/Documents/WD/STC/STC-20050225.html
1.10: http://www.ivoa.net/Documents/WD/STC/STC-20050105.html
1.00: http://www.ivoa.net/Documents/WD/STC/STC-20040723.html
Working Group:
http://www.ivoa.net/twiki/bin/view/IVOA/IvoaDataModel
Author:
A. H. Rots
This document provides a complete design description of the Space-Time Coordinate (STC) metadata for the Virtual Observatory. It explains the various components, highlights some implementation considerations, presents a complete set of UML diagrams, and discusses the relation between STC and certain other parts of the Data Model. Two implementations are discussed: XML Schema (STC-X) and String (STC-S, also known as LinearSTC).
This is a Proposed Recommendation. The first release of this document (Version 1.21) was 2005 March 23. The first release of the predecessor Working Draft (Version 1.00) was 2004 July 23.
This is an IVOA Proposed Recommendation made available for public review. It is appropriate to reference this document only as a recommended standard that is under review and which may be changed before it is accepted as a full recommendation.
A list of current IVOA Recommendations and other technical documents can be found at http://www.ivoa.net/Documents/.
I gratefully acknowledge many helpful discussions with Wil O’Mullane, Alex Szalay, Jonathan McDowell, Ray Plante, Ed Shaya, Pat Dowler, David Berry, Anita Richards, Steve Allen, and many others. I am indebted to SAO, ULP, CDS, and the NSF NVO grant for support.
3 Requirements and Use-Context
4.2 Coordinate System (CoordSys)
4.2.1 Coordinate Frame (CoordFrame)
4.4 Coordinate Area (CoordArea)
Table 1. Standard Reference Positions
Table 3. Standard Reference Frames
7.1 STC-X: XML Schema Implementation
Appendix A: UML Representation
Appendix C: XInclude Library of Coordinate Systems
Appendix D: Changes from Previous Versions
This document attempts to explain and document the design and implementation of the Space-Time (and related coordinate axes) metadata for the Virtual Observatory. In order to make this specification optimally useful for the VO, we have generalized the Coordinate System concept and we have added a generic Coordinate Frame. Derived from these are the AstroCoordSys and the time, space, redshift, spectral frames that together make up the Space-Time Coordinate (STC) system. Coordinate and Coordinate Area also have generic as well as Astro versions. We shall use “STC” as a proper name in this document which will lead to terms like “STC coordinates”. Although we agree that such usage is linguistically deplorable, we will use it nevertheless because of the clarity it provides.
We present two implementations of STC. The fundamental implementation is provided in the XML schemata and is known as STC-X. A string implementation, based on STC-X, is known as STC-S or LinearSTC.
There are six companion files to this document:
The schemas are fully up-to-date.
In the following sections we shall discuss the justification and scope for this metadata specification, the requirements and use context, a detailed design description, and some implementation considerations. Some concepts are only provided in their simplest form and we expect that more sophisticated classes will be derived (and will fit in seamlessly) as work progresses. The emphasis of this document is on the framework of the STC metadata.
Before we plunge into the requirements and design of these metadata structures, it may be helpful to discuss what is driving this exercise and to provide some context to the design. Our intent in this is to explain why the design needs to be fully general and extensible, leading to a certain level of complexity.
The basic justification for considering the following coordinate axes in a single metadata specification is that they are closely intertwined:
It should be emphasized that the STC design distinguishes between the spectral coordinate and the redshift coordinate (one might, after all, have to deal with a dataset containing Doppler velocities measured in different parts of the spectrum) and between redshifts and velocities (the latter are physical quantities – derivatives of spatial positions; the former represent a spectral property that is transformed via one of several formalisms to what is commonly referred to as a Doppler velocity – when we get to relativistic situations the connection with physical velocities becomes tenuous). In the presence of a redshift coordinate, the values of a spectral coordinate, if present, will contain rest frequencies.
We shall refer to these as the STC coordinates. The issue is that time is bound to a position and positions are time-variable. Similarly, spectral and redshift data are tied to reference frames that may or may not be time-variable.
In the past, most data archives have not been extremely concerned with dotting every i and crossing every t, in a meticulous specification of all the details of all coordinate axes. They assumed sets of coordinate system-related defaults. Such context-dependent defaults are quite acceptable: issues are generally well-defined, obvious, and clear for single-observatory observations, even when not all is explicitly specified. However, there are no global defaults in the VO. All implicit assumptions need to be made explicit since they will not be “obvious” anymore. One must be able to transform the coordinates of two observations to a common coordinate system; this means that every little tidbit of information needs to be documented in the metadata.
Here are some simple examples of situations and questions that need an answer, when such context-dependent defaults do not work anymore:
Reality dictates, though, that we allow for cases where these values are simply unknown. In the XML implementation nillable elements that are nil should be interpreted as unknown values; the burden is then on the client to determine and adopt a sensible default value. This holds true for elements named “UNKNOWN” as well. We sincerely hope that the existence of such nillable and UNKNOWN elements will not be an excuse to provide incomplete metadata in cases where the values are known.
The top-level requirement for the design of the Space-Time Coordinate metadata can be formulated in a very simple way. It is that they:
That is really all. However, to fit it into the larger VO Data Model context, we should leverage two more requirements:
From this one can derive secondary requirements: the metadata must include complete descriptions of the following three concepts:
In all, there are four different contexts for the use of the STC metadata:
We will return to the use of STC in these contexts in Section 6. As commented before, the emphasis of this document is on the structure of the STC metadata. Hence, though the classes and attributes are laid out in detail, little is said about methods.
It may be helpful to refer to the UML diagrams in Appendix A: UML Representation, while reading this section.
There are three metadata components in the design, as already noted in the derived requirements:
The CoordSys class is nothing more than a collection of one or more Coordinate Frames, where each frame describes a set of one or more coordinate axes that belong together.
A CoordFrame object provides the metadata about one or more coordinate axes. Usually, we will be dealing with one axis. The exception is the spatial frame which may control up to three position coordinate axes, as well as their time-derivatives (velocity). CoordFrame is really the base class for coordinate frames. To ensure its full generality, this base class should only contain a name. Real-life coordinate frames should be derived from this class.
The Coords object specifies a particular position in coordinate space. It requires a reference (IDREF in the XML implementation) to a CoordSys object and it is made up of one or more Coordinate objects, corresponding to the Coordinate Frames defined in the Coordinate System. All objects are optional. However, in order to constitute a meaningful Coords object, one would expect at least one of the Coordinate objects to be present.
A Coordinate is an aggregate of up to 6 objects: CoordName, CoordValue, CoordError, CoordResolution, CoordSize, and CoordPixSize. Of these, only CoordName is required to be present. The others, which in their simplest forms consist of a scalar numerical Value, are all optional, though one may doubt whether a Coordinate object that contains none of these has any meaning. Although at first sight it would seem that at least CoordValue is indispensable, we shall show that there are legitimate cases where the value may be absent. Coordinate has a single Unit attribute that applies to all components. Classes that are derived from Coordinate may differ in the data types of the objects, their structure and meaning, as well as restrict allowable values for Unit. There are currently two derived classes that have only a Name and a Value: StringCoordinate and PixelCoordinate.
The numeric elements, other than the Coordinate Value, may appear singly or in pairs. In the former case it will be obvious that a single specific value is indicated. In the latter case the pair indicates a range of values.
This required member of Coordinate is a simple string that acts as a label, presumably taken from a limited enumerated list
The value of the Coordinate consists of a scalar numerical or string value and a Unit string.
Again, this consists of a scalar Value, representing an rms[1] error. However, we expect a variety of derived classes to appear with more sophisticated error descriptions. And clearly, the multi-dimensional coordinates require more information.
The resolution along the Coordinate is expressed as a FWHM[2] Value. In cases where this is a poor description, one should derive a more sophisticated class.
The size along the Coordinate is also expressed as a FWHM2 Value, though one might expect derived classes with more precise definitions (e.g., Holmberg[3] diameter). This object is used in three contexts: in a resource profile it indicates the typical size (e.g., FOV[4]) of datasets in the resource; in queries it serves the same purpose; and in catalog datasets it allows the server to provide Coordinate positions of objects as well as their sizes.
The pixel size (scalar Value) is often a useful figure to characterize resources, queries, and datasets, even if it only provides a typical value.
The Coordinate Area class defines the volume in coordinate space that is occupied by the object it is attached to. It is an aggregate of one or more ranges in individual coordinates and is required to have a reference (IDREF in the XML implementation) to a CoordSys. Multiple ranges along each coordinate axis are OR-ed together; the ranges of different axes are logically AND-ed together.
A ScalarInterval consists of a LoLimit and/or a HiLimit, both of which contain a double value and a unit. Note that they do not both have to be present, but at least one of them needs to be. If only one is present, an upper or lower limit is indicated. ScalarInterval has Boolean attributes LoLimInclude and HiLimInclude and a FillFactor attribute with a value between 0 and 1 that indicates what fraction of the interval is actually covered by the data.
The AstroCoordSys is derived from CoordSys. It still is a collection of coordinate frames, but it is required to contain specific frame classes derived from the CoordFrame base class, in addition to zero or more additional (generic) frames. The required frames are TimeFrame, SpaceFrame, and SpectralFrame; RedshiftFrame is optional.
The Time Frame contains two or three objects: a reference position, a time scale, and, optionally, a time reference direction.
The reference position, or spatial coordinate origin, may be chosen from a standard list of such origins (StdRefPosition) or specified as a particular coordinate position (CoordOrigin). In the latter case, one may nest the origins, but eventually they should be referenced to a known standard origin. The list of standard origins includes (see Table 1): GEOCENTER, BARYCENTER, HELIOCENTER, TOPOCENTER, LSR, GALACTIC_CENTER, LOCAL_GROUP_CENTER, EMBARYCENTER, MOON, MERCURY, VENUS, MARS, JUPITER, SATURN, URANUS, NEPTUNE, PLUTO, RELOCATABLE; additional values (e.g., planetary satellites, non-planet solar system objects) are allowed, provided they are identified in a referenced ephemeris or other authoritative source (see: Section 4.5.1.4). Ultimately, one must be able to tie the coordinate origin down to the geocenter, be it through a geographic position, an IAU resolution, an orbit ephemeris, or a solar system ephemeris – unless one deals with simulation data that have a RELOCATABLE origin. Planetary Ephemeris is required for any position related to a solar system entity other than the geocenter. ReferencePosition is a standard class that is being used for all four STC frames, though there are different restrictions for the four usages. For the Time Frame LSRK, LSRD, GALACTIC_CENTER, LOCAL_GROUP_CENTER, and RELOCATABLE are not allowed values; for simulations one may want to use a custom position at the origin of the relocatable spatial frame.
Table 1. Standard Reference Positions
|
Reference Position |
Description |
Comments |
|
GEOCENTER |
Center of the earth |
|
|
BARYCENTER |
Center of the solar system barycenter |
|
|
HELIOCENTER |
Center of the sun |
|
|
TOPOCENTER |
“Local”; in most cases this will mean: the location of the telescope |
|
|
LSR or LSRK |
Kinematic Local Standard of
Rest: |
Only to be used for redshifts and Doppler velocities, and spectral coordinate |
|
LSRD |
Dynamic Local Standard of
Rest: |
Only to be used for redshifts and Doppler velocities, and spectral coordinate |
|
GALACTIC_CENTER |
Center of the Galaxy: |
|
|
LOCAL_GROUP_CENTER |
Center of the Local Group: |
Only to be used for redshifts and Doppler velocities, and spectral coordinate |
|
EMBARYCENTER |
Earth-moon barycenter |
|
|
MOON |
Center of the moon |
|
|
MERCURY |
Center of Mercury |
|
|
VENUS |
Center of Venus |
|
|
MARS |
Center of Mars |
|
|
JUPITER |
Center of Jupiter |
|
|
SATURN |
Center of Saturn |
|
|
URANUS |
Center of Uranus |
|
|
NEPTUNE |
Center of Neptune |
|
|
PLUTO |
Center of Pluto |
|
|
RELOCATABLE |
Relocatable center; for simulations |
Only to be used for spatial coordinates |
|
UNKNOWN |
Unknown reference position |
Only to be used as a last
resort |
The time scale must be chosen from among the list recognized by the IAU (see Table 2): TT, TDT, ET, TAI, IAT, UTC, TDB, TEB, TCG, TCB, LST. TT is the default; TDT and ET are obsolete synonyms for TT; IAT is an unofficial synonym for TAI; and use of LST is to be discouraged. At some point other time scales may need to be added as they become recognized, such as planet- or moon-based time scales. In most cases where TDB is specified, the likely intent was TEB, so TDB may be considered a synonym of TEB; its use requires the presence of a Planetary Ephemeris. For further details, see Seidelmann & Fukushima (1992)[i] and Standish (1998)[ii].
We will allow the value LOCAL, only to be used with RELOCATABLE space frames (see: Section 4.5.1.1).
For a handy explanation of time scales, see: http://tycho.usno.navy.mil/systime.html
For a glossary of fundamental astronomy terms, see: http://syrte.obspm.fr/iauWGnfa/NFA5_B3.html
In the XML implementations the Timescale element is nillable.
|
Timescale |
Description |
Comments |
|
TT |
Terrestrial Time |
|
|
TDT |
Terrestrial Dynamic Time; synonym for TT |
|
|
ET |
Ephemeris Time: predecessor of, and continuous with, TT |
|
|
TAI |
International Atomic Time; 32.184 s behind TT |
|
|
IAT |
Synonym for TAI |
|
|
UTC |
Coordinated Universal Time; 32 s behind TAI in 2000-2005 |
Includes leap seconds |
|
TDB |
Barycentric Dynamical Time; synchronous with TT, except for variations in earth’s orbital motion |
In most cases where TDB is specified, TEB is really the one used |
|
TEB |
Barycentric Ephemeris Time; independent variable in solar system ephemeris, linear function of TT |
Requires specification of the solar system and planetary ephemeris used |
|
TCG |
Geocentric Coordinate Time; properly relativistic time, running a factor 7∙10-10 faster than TT |
|
|
TCB |
Barycentric Coordinate Time; properly relativistic time, running a factor 1.5∙10-8 faster than TDB |
|
|
LST |
Local Siderial Time |
Ground-based observations only |
|
LOCAL |
“Local” time |
Only to be used for simulations, in conjunction with RELOCATABLE spatial coordinates |
If the Time Frame’s Reference Position is not TOPOCENTER, times have clearly been transformed from observed time at the location where the observation was made to some other spatial location. In order to effect such a transformation, a direction of origin must have been assumed for the observed phenomenon; that direction is given in TimeRefDirection.
The planetary ephemeris object PlanetaryEphem indicates which solar system ephemeris was used in the AstroCoordSys. In general, this will be JPL’s DE200 or DE405 (default). It should only be present if a solar system ephemeris was used, for instance because of a planet-based ReferencePosition or the application of barycenter corrections. In addition, the information in Sections 7.2-7.5 of the Explanatory Supplement to the Astronomical Almanaciii may be considered a known authoritative source for the purpose of spatial reference frames. If the SpaceRefFrame (see: Section 4.5.2.3) is defined on a body, ephemeris information on its coordinate system (pole, primary meridian) must be included in the PlanetaryEphem.
In the XML implementations this element is nillable.
The Space Frame contains a reference position, a reference frame, and a coordinate flavor object.
This object is of the same class as described in Section 4.5.1.1, with the following restrictions. The value RELOCATABLE is allowed, but LSRD, LSRK, GALACTIC_CENTER, and LOCAL_GROUP_CENTER are not. Obviously, if an explicit coordinate origin is provided, those coordinates should be referenced to a different CoordSys; one may still nest them, but eventually they should be referenced to a known standard origin.
This class is peculiar to spatial coordinates. It indicates the intrinsic dimensionality of the coordinate system (1, 2, or 3), and the type of coordinates: Cartesian, spherical, unitsphere, or POLAR. For 3-dimensional SPHERICAL (because of geographical applications) we allow the special Units value “deg deg m”. The UnitSphere has default units “”. This list will likely be expanded with, for instance, cylindrical coordinates.
While the Reference Position pins down the origin of the spatial coordinate system, the Space Reference Frame specifies its orientation. In most cases this will be a StdFrame, consisting of a RefSystem (FK4, FK5, ECLIPTIC, ICRS, GALACTIC_I, GALACTIC_II, SUPER_GALACTIC, AZ_EL, BODY; the first three require a CoordEquinox, which is nillable in the XML implementation). The Standard Frame may be BODY if the Reference Position is specified as a solar system object. In addition, we allow solar, lunar, planetary, and planetary satellite coordinate frames (planetocentric and planetographic) as defined by Sections 7.2-7.5 of the Explanatory Supplement to the Astronomical Almanac (Seidelmann, 1992)[iii]; see also Fränz & Harper (2002)[iv]. For the most current update of cartographic coordinates and rotation rates, see Seidelmann et al. (2002)[v].
A full list of Standard Reference Frames is provided in Table 3.
Alternatively, a CustomFrame may be specified by way of the pole (Z) axis and the longitude zero-point (X-axis) directions.
We want to provide some caveats on subtle differences between various coordinate systems that may look similar.
First, one should note that the 2-dimensional spherical versions of all celestial coordinate systems are left-handed, but that their 3-dimensional Cartesian versions are right-handed.
Second, because of the definition of longitude (IAU 1970), following astronomical tradition, longitude increases westward in the planetographic coordinate frames for Mercury, Mars, Jupiter, Saturn, and Neptune (MERCURY_G, MARS_G, JUPITER_G, SATURN_G, and NEPTUNE_G – ignoring planetary satellites), since their rotation is direct (prograde); hence, these coordinate systems are also left-handed. Note that earth, sun, and moon are exempted from this rule because of even older conventions. In addition, many coordinate systems that are based on video devices are left-handed. All other coordinate systems (including all planetocentric systems) are right-handed.
Finally, beware that planetographic and planetocentric coordinates may differ in three respects:
For further details, see Seidelmann (1992, Sections 4.2 and 7)iii, Seidelmann et al. (2002)v, and Duxbury et al. (2002)[vi].
Table 3. Standard Reference Frames
|
Reference Frame |
Description |
Comments |
|
FK4 |
Fundamental Katalog, system 4; Besselian |
Requires Equinox; default
B1950.0 |
|
FK5 |
Fundamental Katalog, system 5; Julian |
Requires Equinox; default
J2000.0 |
|
ECLIPTIC |
Ecliptic coordinates |
Left-handed in spherical coordinates |
|
ICRS |
International Celestial Reference System |
Left-handed in spherical coordinates |
|
GALACTIC_I |
Old Galactic coordinates |
Left-handed in spherical coordinates |
|
GALACTIC[_II] |
“New” Galactic coordinates |
Left-handed in spherical coordinates |
|
SUPER_GALACTIC |
Super-galactic coordinates: |
Left-handed in spherical coordinates |
|
AZ_EL |
Local azimuth and elevation |
Ground-based observatories |
|
BODY |
Generic “BODY” coordinates |
|
|
GEO_C |
Geographic (geocentric) coordinates: longitude, latitude, geocentric distance |
3-D spherical or 3-D Cartesian |
|
GEO_D |
Geodetic coordinates: longitude, latitude, elevation |
Semi-major axis and inverse flattening of the reference spheroid may need to be provided; default is IAU 1976 (6378140 m, 298.2577) |
|
MAG |
Geomagnetic coordinates |
|
|
GSE |
Geocentric Solar Ecliptic coordinates |
|
|
GSM |
Geocentric Solar Magnetic coordinates |
|
|
SM |
Solar Magnetic coordinates |
|
|
HGC |
Heliographic coordinates |
See Explanatory Supplement, Section 7.2 |
|
HEE |
Heliocentric Earth Ecliptic coordinates |
|
|
HEEQ |
Heliocentric Earth Equatorial coordinates |
|
|
HCI |
Heliocentric Inertial coordinates |
|
|
HCD |
Heliocentric coordinates of Date |
|
|
MERCURY_C |
Planetocentric coordinates on Mercury |
See Explanatory Supplement, Section 7.4 |
|
VENUS_C |
Planetocentric coordinates on Venus |
See Explanatory Supplement, Section 7.4 |
|
LUNA_C |
Selenocentric coordinates |
See Explanatory Supplement, Section 7.3 |
|
MARS_C |
Planetocentric coordinates on Mars |
See Explanatory Supplement, Section 7.4 |
|
JUPITER_C _III |
Planetocentric coordinates on Jupiter, system III |
See Explanatory Supplement, Section 7.4 |
|
SATURN_C _III |
Planetocentric coordinates on Saturn, system III |
See Explanatory Supplement, Section 7.4 |
|
URANUS_C _III |
Planetocentric coordinates on Uranus, system III |
See Explanatory Supplement, Section 7.4 |
|
NEPTUNE_C _III |
Planetocentric coordinates on Neptune, system III |
See Explanatory Supplement, Section 7.4 |
|
PLUTO_C |
Planetocentric coordinates on Pluto |
See Explanatory Supplement, Section 7.4 |
|
MERCURY_G |
Planetographic coordinates on Mercury |
See Explanatory Supplement,
Section 7.4 |
|
VENUS_G |
Planetographic coordinates on Venus |
See Explanatory Supplement, Section 7.4 |
|
LUNA_G |
Selenographic coordinates |
See Explanatory Supplement, Section 7.3 |
|
MARS_G |
Planetographic coordinates on Mars |
See Explanatory Supplement,
Section 7.4 |
|
JUPITER_G _III |
Planetographic coordinates on Jupiter, system III |
See Explanatory Supplement,
Section 7.4 |
|
SATURN_G _III |
Planetographic coordinates on Saturn, system III |
See Explanatory Supplement,
Section 7.4 |
|
URANUS_G _III |
Planetographic coordinates on Uranus, system III |
See Explanatory Supplement, Section 7.4 |
|
NEPTUNE_G _III |
Planetographic coordinates on Neptune, system III |
See Explanatory Supplement,
Section 7.4 |
|
PLUTO_G |
Planetographic coordinates on Pluto |
See Explanatory Supplement, Section 7.4 |
|
UNKNOWN |
Unknown reference frame |
Only to be used as a last
resort |
In order to accommodate positions that are given as offsets in Right Ascension and Declination from some specific position, the optional OffsetCenter object is provided. N