==================== Sky Event Reporting Metadata (VOEvent) ==================== Official bibliographic entry for published version :cite:p:`2011ivoa.spec.0711S`. :Status: VOEvent 2.1 PR 2026-02-25 .. role:: raw-latex(raw) :format: latex .. .. _`VOEvent:introduction`: 1 Introduction ============== Throughout human history, unexpected events in the sky have been interpreted as portents and revelations. Modern curiosity seeks to use such transient events to probe the fundamental nature of the universe. In decades to come the scientific study of such events will be greatly extended, with new survey telescopes making wide-area systematic searches for time-varying astronomical events, and with a large number of robotic facilities standing ready to respond. These events may reflect purely local solar system phenomena such as comets, solar flares, asteroids and Kuiper Belt Objects, or those more distant such as gravitational microlensing, supernovae and Gamma-Ray Bursts (GRBs). Most exciting of all may be new and unknown types of event, heralding new horizons for astrophysics. Searches for astrophysical events are taking place at all electromagnetic wavelengths from gamma-rays to radio, as well as quests for more exotic events conveyed by such means as neutrinos, gravitational waves or high-energy cosmic rays. .. _`VOEvent:astrophysical-events`: 1.1 Astrophysical events ------------------------ For many types of events, astrophysical knowledge is gained through fast, comprehensive follow-up observation — perhaps the immediate acquisition of the spectrum of a suspected optical counterpart, for example — and in general, by observations made with instruments in different wavelength regimes or at different times. To satisfy these needs, several projects are commissioning robotic telescopes to respond to digital alerts by pointing the telescope and triggering observations in near real-time and without human intervention. These include, for instance, SkyAlert :cite:p:`bib05` in the USA, and RoboNet-II :cite:p:`bib12` and eSTAR :cite:p:`bib03` in the United Kingdom. Automated systems may also query archives and initiate pipelines in response to such alerts. Many projects have been conceived — some now in operation — that will discover such time-critical celestial events. These include a large number of robotic survey and monitoring telescopes with apertures from tens of centimetres to tens of meters, large-field survey projects like Catalina Real-Time Transient Survey (CRTS) [1]_ :cite:p:`bib08`, Palomar Transient Factory (PTF) [2]_ :cite:p:`bib31`, Zwicky Transient Factory (ZTF) [3]_ :cite:p:`2014htu..conf...27B`, Pan-STARRS [4]_ :cite:p:`bib09` and Large Synoptic Survey Telescope (LSST) [5]_ :cite:p:`bib07`, satellites like Swift :cite:p:`bib11a` and Fermi :cite:p:`bib11b`, and more singular experiments like Laser Interferometer Gravitational Waves Observatory (LIGO) [6]_ :cite:p:`bib06`. The community has demonstrated that robotic telescopes [7]_ can quickly follow-up events using the standard outlined in this document. In the past, human-centric event alert systems have been very successful, including the Central Bureau for Astronomical Telegrams (CBAT) [8]_ and the Astronomer’s Telegram (ATEL) [9]_ :cite:p:`bib01`, but these systems use predominantly natural-language text to describe each event, and do not have sophisticated selection criteria for subscribers. The GRB Coordinates Network (GCN) [10]_ :cite:p:`bib04` reports one of the most fruitful event streams of current times, and its events are transmitted very successfully for follow-up within seconds or minutes. With VOEvent, we leverage the success of GCN by making it interoperable with other producers of events, and by generalising its transport mechanisms. A much larger rate of events can be expected as new facilities are commissioned or more fully automated. These rates indicate events that must be handled by machines, not humans. Subscribing agents must be able to automatically filter a tractable number of events without missing any that may be key to achieving their goals. In general, the number of pending events from a large-scale survey telescope (such as LSST) that are above the horizon at a given observatory during a given observing session may be orders of magnitude larger than a human can sift through productively. Selection criteria will need to be quite precise to usefully throttle the incoming event stream(s) — say — “*give me all events in which a point source R-band magnitude increase of at least -2.0 was seen to occur in less than four hours, that are located within specified molecular column density contours of a prioritised list of galactic star forming regions*”. In practice the result of complex queries such as these will be transmitted through intermediary “brokers” — which will subscribe to VOEvent-producing systems and provide filter services to client groups (“subscribers”) via specialised VOEvents. Filtering will often be based on coincidence (spatial or temporal) between multiple events. A gravitational wave detector may produce a large number of candidate events, but the interesting ones may be only those that register with multiple instruments. A recent study :cite:p:`2018arXiv181112680C` extended the usage of VOEvent to reports or predictions of Solar System events. This assessment revealed the following needs: (a) The capability to specify the only target name as a location. It can be a planet, a satellite, a comet, a moon, a spacecraft, a rover, etc. Standard names should be used here, such as IAU names for natural bodies. (b) The capability to specify the location using a planetary body reference frame, or in a reference frame related to an object in the Solar System. (c) The capability to specify a time range, with a start and end time. .. _`VOEvent:why-voevent`: 1.2 Why VOEvent? ---------------- Handling the anticipated event rates quickly and accurately will require alert packets to be issued in a structured data format, not natural language. Such a structured discovery alert — and any follow-up packets — will be referred to as a VOEvent. VOEvent will rely on XML schema [11]_ to provide the appropriate structured syntax and semantics. These schemata may be specific to VOEvent or may implement external schemata such as the IVOA’s Space-Time Coordinate (STC) metadata specification :cite:p:`2007ivoa.spec.1030R`. Some of the VOEvent structure is provided by this document, for example the meaning of the ```` and ```` elements; however other structure is provided by the author of the event stream, who might define, for example, what the ```` and ```` parameters mean when supplied with one of those events. VOEvent is a pragmatic effort that crosses the boundary between the Virtual Observatory and the larger astronomical community. The results of astronomical observations using real telescopes will be expressed using the IVOA VOEvent standard and disseminated by registries and brokers within and outside the VO. Each event that survives rigorous filtering can then be passed to other telescopes to acquire follow-up observations that will confirm (or deny) the original hypothesis as to the classification of the object(s) or processes that generated that particular VOEvent in the first place. This must happen quickly (often within seconds of the original VOEvent) and must minimise unnecessary expenditures of either real or virtual resources. VOEvent is *transport neutral*, but deploying and operating a robust general-purpose network of interoperating brokers has always been a high-priority issue. Various special-purpose networks and prototype networks for the global VOEventNet have been deployed and operated. See references under SkyAlert :cite:p:`bib05` and Transport :cite:p:`bib33` for two options. Following the Abstract and Introduction, this document contains a discussion of appropriate VOEvent usage in §:ref:`VOEvent:sec:2`. Section §:ref:`VOEvent:sec:3` is the heart of the document, conveying the semantics of a VOEvent packet. Explicit examples of VOEvent packets are in §:ref:`VOEvent:sec:4`, and linked references in §:ref:`VOEvent:sec:5`. .. _`VOEvent:role-within-the-vo-architecture`: 1.3 Role within the VO Architecture ----------------------------------- .. container:: float :name: VOEvent:fig:diagram `image `__ VOEvent is an IVOA standard, which means that it fits into a rich matrix of other IVOA standards. Figure :ref:`VOEvent:fig:diagram` shows where VOEvent fits into the broader IVOA architecture :cite:p:`2021ivoa.spec.1101D`. VOEvents inherit much of the structure and semantics of **:doc:`VOTable <../VOTable/VOTable>`** :cite:p:`2019ivoa.spec.1021O`, including the **UCD** :cite:p:`2018ivoa.spec.0527P` scheme for semantics of quantities and the :doc:`VOUnits <../VOUnits/VOUnits>` standard :doc:`VOUnits <../VOUnits/VOUnits>`. VOEvent takes space-time coordinates from the **STC** :cite:p:`2007ivoa.spec.1030R`, and it uses the URI semantics of the IVOA **Vocabulary** 1.0 :cite:p:`2009ivoa.spec.1007G` effort. IVOA **Identifiers** :cite:p:`2016ivoa.spec.0523D` are used for events and their parent streams and servers, and both these latter are described by IVOA **Resource Metadata** :cite:p:`2007ivoa.spec.0302H` and stored in the VO Registry. .. _`VOEvent:sec:2`: 2 Usage ======= This document defines the syntax and semantics of an alert packet known as VOEvent :doc:`VOEvent <../VOEvent/VOEvent>`. In this document, the word *packet* will refer to a single, syntactically complete, VOEvent alert or message, however transmitted or stored. The transmission of such a packet announces that an astronomical “event” has occurred, or provides information contingent on a previous VOEvent through a citation mechanism. The packet may include information regarding the “who, what, where, when & how” of the event, and may express “why” hypotheses regarding the physical cause of the observed event and the likelihood of each of these hypotheses. .. _`VOEvent:sec:2.1`: 2.1 Publishing VOEvent Packets ------------------------------ VOEvent packets express sky transient alerts. VOEvent users subscribe to the types of alerts pertinent to their science goals. The following roles define the interchange of VOEvent semantics: - An Author is anyone (or any organisation) creating scientific content suitable for representation as a sky transient alert. An author will typically register with the IVOA registry, so that the ```` element of VOEvent packets can be small and reusable, expressing only the IVOA identifier needed to retrieve the contact information for the author. An authoring organisation or individual may often rely on autonomous systems to actually create and transport the individual alert messages. - A Publisher receives alerts from one-or-more authors, and assigns a unique identifier to each resulting packet. Either the author or the publisher generates the actual XML syntax of the event, but the publisher is responsible for the validity of the packet relative to the VOEvent schema. Publishers will register with the IVOA registry as described below. - A Repository subscribes to (or is party to the original creation of) one or more VOEvent streams, persists packets either permanently or temporarily, and runs a service that allows clients to resolve identifiers and apply complex queries to its holdings. A given packet had one Publisher but may be held in more than one Repository. Public repositories will register with the IVOA registry. - A Subscriber is any entity that receives VOEvent packets for whatever purpose. Subscribers can find out how to get certain types of events by consulting the lists of publishers and repositories in the IVOA registry. A subscription is a filter on the stream of events from a publisher: the subscriber is notified whenever certain criteria are met. For example, the filter may involve the curation part of the event (*e.g., “all events published by the Swift spacecraft”*), its location (*“anything in M31”*), or it may reference the detailed metadata of the event itself (*“whenever the cosmic ray energy is greater than 3 TeV”*). - A Broker or Relay, also sometimes known as a Filter, is any combination of the atomic roles of Publisher, Repository, or Subscriber that also offers arbitrary application-level functionality. See the IVOA VOEvent Transport Protocol Recommendation :cite:p:`2017ivoa.spec.0320S` for further discussion. .. _`VOEvent:sec:ivoids`: 2.2 VO Identifiers (IVOIDs) --------------------------- VOEvent benefits from the IVOA identifiers :cite:p:`2016ivoa.spec.0523D` developed for the VO registry. In this document, such an identifier is called an *IVOID*, that is, an *International Virtual Observatory Identifier* It is required to begin with “``ivo://``”, and will stand reference particular packet or an entire stream. A *registered* VOEvent packet is one that has a valid identifier — meaning that a mechanism exists that can resolve that identifier to the full VOEvent packet. VOEvent identifiers thus provide a citation mechanism — a way to express that, for instance, one VOEvent packet is a *follow-up* in some fashion of a previous packet. .. raw:: latex \begin{admonition}{Note} When it talked about identifiers of VOEvents and their streams, VOEvent Version 2.0 mostly talked about ``IVORNs'' IVOA Resource Names, rather than IVOIDs. This term was found to be misleading during the preparation of Identifiers 2.0 \citep{2016ivoa.spec.0523D} and was deprecated in that document's section 1.1. Therefore, since version 2.1 of this specifiation, it adopts the term IVOID in the running text as well. This does not change the normative content; normative content \emph{would} be changed if we also updated the names of the \xmlel{ivoid} attribute or the \xmlel{AuthorIVORN} or \xmlel{EventIVORN} element names, which therefore retain the deprecated nomenclature. \end{admonition} Historically, these have taken the general form .. math:: \hbox{\nolinkurl{ivo://authorityID/resourceKey#local_ID}}, \ while new VOEvent identifiers should follow the regulations of section 4.1 of :cite:t:`2016ivoa.spec.0523D`, i.e.,\ .. math:: \hbox{\nolinkurl{ivo://authorityID/resourceKey?local_ID}}. VOEvent identifiers are indirect references to metadata packets that may be found in a VOEvent repository. In a compliant, registered VOEvent stream, each event’s id without the query part must reference a VO Registry record containing a capability with a :raw-latex:`\xmlel{standardID}` of ``ivo://ivoa.net/std/voevent`` as per Sect. :ref:`VOEvent:sec:registering`. That resouce describes the stream at which the VOEvent originated. Publishers providing archives of their events should include more capabilities through which archived events can be found; this could, for instance, be a web page or perhaps a cone search service. Publishers relying on third parties to archive their events should provide IsServedBy relationships to these third-party services. This is a key point in understanding VOEvent identifiers: The Event identifier contains the Stream identifier. For example, ``ivo://example.org/catot?100407`` points to a specific VOEvent with the local id 100407 coming from the stream called ``ivo://example.org/catot``. The full, unparsed IVOID will not resolve in the global VO Registry; only the part without the query string will. To resolve the full identifier, a separate archive has to be set up and mentioned in the registry record that ``ivo://example.org/catot`` points to. .. _`VOEvent:sec:2.3`: 2.3 Authentication and Authorisation ------------------------------------ VOEvents provide a mechanism for alerting members of the astronomical community to time-critical celestial phenomena. As a result of such an alert, significant hardware, software and personnel assets of the community may be retargeted to investigate those phenomena. The scientific and financial costs of such retargeting may be large, but the potential scientific gains are larger. The success of VOEvent — and of observations of astronomical transients in general — depends on minimising both intentional and unintentional noise/spam associated with this communications channel. All of the familiar internet security worries apply to VOEvents. A discussion of these issues is available under Authentication :cite:p:`bib34` from both the VOEvent standpoint and for comparison, general XML signatures. .. _`VOEvent:sec:3`: 3 VOEvent Semantics =================== A VOEvent packet provides a general purpose mechanism for representing information about transient astronomical events. However, not all VO data are suitable for expression using VOEvent. The VOEvent schema :doc:`VOEvent <../VOEvent/VOEvent>` is as simple as practical to allow the minimal representation of scientifically meaningful, time critical, events. VOEvent also borrows other standard VO and astronomical schema, specifically STC for space-time coordinates. The usual IVOA standards such as registries and UCD identifiers are used. VOEvent has a strong interest in the development of complete and robust astronomical ontologies, but must rely on pragmatic and immediately useful prototypes of planned facilities. By definition, a VOEvent packet contains a single XML ```` element. If multiple ```` elements are jointly contained within a larger document in some fashion, they should still be handled as separate alert packets. A ```` element may contain at most one of each of the following optional sub-elements: - Identification of scientifically responsible Author (see §:ref:`VOEvent:sec:3.2`) - Event Characterisation modelled by the Author (see §:ref:`VOEvent:sec:3.3`) - Space-Time Coordinates of the event (see §:ref:`VOEvent:sec:3.4`) - Instrument Configuration (see §:ref:`VOEvent:sec:3.5`) - Initial Scientific Assessment (see §:ref:`VOEvent:sec:3.6`) - Follow-up Observations (see §:ref:`VOEvent:sec:3.7`) - Human Oriented Content (see §:ref:`VOEvent:sec:3.8`) - External Content (see §:ref:`VOEvent:sec:3.9`) Only those elements required to convey the event being described need to be present; the ordering of elements is not formally constrained. The intent of VOEvent is to describe a single astronomical transient event per packet. Multiple events should be expressed using multiple packets. On the other hand, complex observations may best be expressed using multiple follow-up packets or via embedded ```` to external resources such as VOTables or HTML documents. XML structures other than those listed in this document should be used with care within a ```` element, but some applications may require the freedom to reference schema outside the scope of this specification. Section 4 contains examples of complete VOEvent packets. .. _`VOEvent:sec:3.1`: 3.1 ```` — identifiers, roles and versions --------------------------------------------------- A ```` expresses the discovery of a sky transient event, located in a region of space and time, observed by an instrument, and published by a person or institution who may have developed a hypothesis about the underlying classification of the event. The ```` element has three attributes: :raw-latex:`\noindent {\bf 3.1.1}` ``ivorn``\ [12]_ :raw-latex:`\label{sec:3.1.1}` — Each VOEvent packet is required to have one-and-only-one identifier, expressed with the :raw-latex:`\xmlel{ivorn}` attribute. VOEvent identifiers are URIs :cite:p:`2016ivoa.spec.0523D`. As the issuance of duplicate identifiers would diminish the trust placed in systems exchanging VOEvents, it is anticipated that a number of VOEvent publishers will be founded to issue unique IVOIDs from a variety of useful and appropriate namespaces. The non-opaque URI identifier is constructed systematically so that the identifier of a different resource, the VOEventStreamRegExt, is deducible from the identifier of an event. The first part is the identifier for the publisher, and the event identifier is built from this, then a ``#`` symbol, then a local string that is meaningful only in the context of that publisher. **3.1.2** :raw-latex:`\xmlel{role}` :raw-latex:`\label{sec:3.1.2}` — The optional :raw-latex:`\xmlel{role}` attribute accepts the enumerated options: - The value “*observation*” is the default if the role is missing; this means that the packet describes an observation of the actual universe. - The value “*prediction*” indicates that the VOEvent describes an event of whatever description that has yet to occur when the packet is created. - The value “*utility*” means that the packet expresses nothing about astrophysics, but rather information about the observing system. This could be used, for example, for a satellite to express that it has changed its configuration. - The value “*test*” means that the packet does not describe actual astronomical events, but rather is part of a testing procedure of some kind. It is the responsibility of all who receive VOEvent packets to pay attention to the :raw-latex:`\xmlel{role}`, and to be quite sure of the difference between an actual event and a test of the system or a prediction of an event that has yet to happen. **3.1.3** :raw-latex:`\xmlel{version}` :raw-latex:`\label{sec:3.1.3}` — The :raw-latex:`\xmlel{version}` attribute is required to be present and to equal "2.1" for all VOEvent packets governed by this version of the standard. There is no default value. For example, a ```` packet resulting from Tycho Brahe’s discovery of a “Stella Nova” in Cassiopeia on 11 November 1572 might start: .. code:: xml ... .. _`VOEvent:sec:3.2`: 3.2 ```` — Curation Metadata --------------------------------- This element of a VOEvent packet is devoted to curation metadata: who is responsible for the information content of the packet. Usage should be compatible with section 3.2 of the IVOA Resource Metadata specification :cite:p:`2007ivoa.spec.0302H`. Typical curation content would include: .. _`VOEvent:author`: 3.2.1 ```` ~~~~~~~~~~~~~~~~~~ Author information follows the IVOA curation information schema: the organisation responsible for the packet can have a title, short name or acronym, and a logo. A contact person has a name, email, and phone number. Other contributors can also be noted. An example of Author information might be: .. code:: xml Rapid Telescope for Optical Response Raptor http://www.raptor.lanl.gov/images/RAPTOR_patchLarge.jpg Robert White rwhite@lanl.gov +1 800 555 1212 A series of ```` (see below) elements can be added into the ```` information. .. _`VOEvent:contributor`: 3.2.2 ```` ~~~~~~~~~~~~~~~~~~~~~~~ Contributor information can be included using as many ```` elements as necessary in ``Author``. The element value is the full name of the person or organisation. Each element can have three optional attributes: an :raw-latex:`\xmlel{ivorn}` attribute to refer to the person’s or organisation information in the VO registry; an :raw-latex:`\xmlel{altIdentifier}` attribute to refer to other identifier (such as an ORCID (Open Researcher and Contributor ID) [13]_ for persons, or a Research Organisation Registry (ROR) [14]_ identifier for institutions), in the form of an URI; and a :raw-latex:`\xmlel{role}` attribute. The :raw-latex:`\xmlel{role}` attribute is an important part of the contributor’s metadata and allows proper attribution of work. We recommend to use here the list of *contributorType* from the DataCite Metadata Schema v4.5 :cite:p:`https://doi.org/10.14454/g8e5-6293`, as listed in their documentation [15]_. Here is an example of contributors in an ````: :: Baptiste Cecconi Observatoire de Paris .. _`VOEvent:authorivorn`: 3.2.3 ```` ~~~~~~~~~~~~~~~~~~~~~~~ As an alternative to quoting Author information over and over, this information can be published to the VO registry, then referenced through an IVORN. The ```` element contains the identifier of the organisation responsible for making the VOEvent available. Event subscribers will often use this as their primary filtering criterion. Many subscribers will only want events from a particular publisher, or more precisely, from a specific content creator. In general, ```` should be a :doc:`VOResource <../VOResource/VOResource>` identifier that resolves to an organisation in the sense of :cite:p:`2007ivoa.spec.0302H`. Publishers and subscribers may use this :doc:`VOResource <../VOResource/VOResource>` to exchange curation metadata directly. .. _`VOEvent:date`: 3.2.4 ```` ~~~~~~~~~~~~~~~~ The ```` contains the date and time of the creation of the VOEvent packet. The required format is a subset of ISO-8601 (*e.g., ``yyyy-mm-ddThh:mm:ss``*). The timescale — for curation purposes only — is assumed to be Coordinated Universal Time (UTC). Discussions of date and time for the expression of meaningful scientific coordinates may be found in :cite:p:`2007ivoa.spec.1030R` and :cite:p:`bib26`. Minimal ```` usage might resemble: .. code:: xml ivo://uraniborg.hven/Tycho 1573-05-05T01:23:45Z Tycho first noted SN 1572 on 11 November of that year. The event was published in Tycho’s pamphlet *De Stella Nova* by 5 May 1573, thus this later date is placed in the curation metadata. More detailed curation metadata can be retrieved directly from the publisher. .. _`VOEvent:sec:3.3`: 3.3 ```` — Event Characterisation --------------------------------------- The ```` and ```` elements work together to characterise the nature of a VOEvent. That is: ```` has author-defined parameters about what was measured directly, or other relevant information about the event, versus ```` is a data model of fixed schema about the hypothesised underlying cause or causes of the astrophysical event. In general, an observation is the association of one or more dependent variables with zero or more independent variables. The ```` element, for example, is often used to express the independent variables in an observation — where was the telescope pointed and when was the camera shutter opened. The ```` element, on the other hand, is typically used to express the dependent variables — what was seen at that location at that time. A ```` element contains a list of ```` elements which may be associated and labeled using ```` elements. It may also have one or more ```` elements, each of which can contain ```` and ```` elements: these last define a whole column, or vector of data, rather than a single primitive value as with . See §:ref:`VOEvent:sec:4` for an example of usage. .. _`VOEvent:sec:3.3.1`: 3.3.1 ```` — Numbers and strings with semantics ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```` elements may be used to represent the values of arbitrarily named quantities. Thus a publisher need not establish a fixed schema for all events they issue. Unified Content Descriptors (UCDs) :cite:p:`2018ivoa.spec.0527P` may be used to clarify meaning. Usage of ```` and ```` is similar to the :doc:`VOTable <../VOTable/VOTable>` specification, see §4.9 of :cite:p:`2019ivoa.spec.1021O`. A ```` may contain elements ```` and ````. Like most VOEvent elements, these can be used to give further descriptive documentation about what this parameter means. The ```` may also contain an element ```` for the value of the parameter, as an alternate to the ‘value’ attribute defined below: if both are present, the attribute takes precedence over the element. This allows parameter values to include a richer variety of text strings, to avoid strings being changed by Attribute-Value normalisation [16]_ that is part of the XML specification. The following attributes are supported for ````: **3.3.1.1** :raw-latex:`\xmlel{name}`:raw-latex:`\label{sec:3.3.1.1}` — A simple utilitarian name. This name may or may not have significance to subscribing clients. **3.3.1.2** :raw-latex:`\xmlel{value}`:raw-latex:`\label{sec:3.3.1.2}` — A string representing the value in question. No range or type checking of implied numbers is performed. **3.3.1.3** :raw-latex:`\xmlel{unit}`:raw-latex:`\label{sec:3.3.1.3}` — The unit for interpreting :raw-latex:`\xmlel{value}`. See §4.4 of :cite:p:`2019ivoa.spec.1021O` which relies on :doc:`VOUnits <../VOUnits/VOUnits>` :doc:`VOUnits <../VOUnits/VOUnits>`. **3.3.1.4** :raw-latex:`\xmlel{ucd}`:raw-latex:`\label{sec:3.3.1.4}` — A UCD :cite:p:`2018ivoa.spec.0527P` expression characterizing the nature of the ````. **3.3.1.5** :raw-latex:`\xmlel{dataType}`:raw-latex:`\label{sec:3.3.1.5}` — A string specifying the data type of the ````. Allowed values are “string”, “int”, or “float”, with the default being “string”. - For :raw-latex:`\xmlel{dataType=float}`, the value must contain a possibly signed decimal or floating point number, possibly embedded in whitespace; it may also be :math:`\pm`\ nan or :math:`\pm`\ inf. If the value cannot be parsed this way, for example null string, it may return zero or NaN, but no exception should be thrown. - For :raw-latex:`\xmlel{dataType=int}`, the value must contain a possibly signed decimal number, possibly embedded in whitespace. Conversion of floating point numbers to integers truncates (towards zero). If the value cannot be parsed this way, for example null string, it will return zero, and no exception should be thrown. **3.3.1.6** :raw-latex:`\xmlel{utype}`:raw-latex:`\label{sec:3.3.1.6}` — A :raw-latex:`\xmlel{utype}` defines this ```` as part of a larger data structure, such as one of the IVOA standard data models. For more details, read the corresponding IVOA page [17]_. For example, here are three values from a GCN :cite:p:`bib04` notice: :: TRIGGER_NUM = 114299 RATE_SIGNIF = 20.49 GRB_INTEN = 73288 In VOEvent, these can be represented as: :: Best significance after trying all algorithms .. _`VOEvent:sec:3.3.2`: 3.3.2 ```` — collection of related Params ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```` provides a simple mechanism for associating several ```` (and/or ````) elements, for instance, an error with a measurement. ````\ s MUST NOT be nested. ```` elements may have a :raw-latex:`\xmlel{name}` attribute, and unlike :doc:`VOTable <../VOTable/VOTable>` usage, may also have a :raw-latex:`\xmlel{type}` attribute: **3.3.2.1** :raw-latex:`\xmlel{name}`:raw-latex:`\label{sec:3.3.2.1}` — A simple name such as in §:ref:`VOEvent:sec:3.3.1.1`. **3.3.2.2** :raw-latex:`\xmlel{type}`:raw-latex:`\label{sec:3.3.2.2}` — A string that can be used to build data structures, for example a Group with type “complex” might have Params called “real” and “imag” for the two components of a complex number. In a GCN notice, for example, we might see this line: :: GRB_INTEN: 73288 [cnts] Peak=1310 [cnts/sec] which could be expressed with one Param with a Value element, and the other with a Value attribute: :: 73288 Note also that there cannot be Groups within Groups: a Group may only contain Params and not Groups or Tables; a Table may only contain Params and Fields and not Groups or Tables. There are rules of uniqueness for Params, Groups, Fields and Tables in VOEvent: - Each Param and Field must have a name. A Group or Table without a name is equivalent to having a name which is the null string. - Names must be unique within the set of those Params that are not in a Group or Table. - Names must be unique for the set of Params and Fields within a given Group or Table. - Groups and Tables must have unique names: this means that only one Group or Table can be nameless. .. _`VOEvent:sec:3.3.3`: 3.3.3 ``
`` — simple tabular data ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This element is intended for a short and simple table, and re-uses the ideas and syntax of the IVOA :doc:`VOTable <../VOTable/VOTable>`, but simplified and streamlined: this is appropriate because complex tables can be written as full :doc:`VOTable <../VOTable/VOTable>` and linked from the VOEvent. Specifically, these simplifications are: no support for hierarchy of tables (RESOURCE); no internal references (FieldRef and ParamRef); no provision for binary data, only XML; table cells can only be string, float, or int, in place of the arrays of 12 possible types and extensions; no formatting information contained in the Table, nor domain of the data (VALUES); no referencing between cells; there is no INFO element. There are five elements defined in this subsection: Table, Field, Data, TR, TD. A ``
`` element can contain a sequence of ```` elements, one for each column of the table, and ```` elements for scalar information about the table. There is then a single ```` element that contains the data of the table, which is represented as a sequence of table rows, which are ```` elements, each containing a sequence of ``
`` elements for the table cells. For a full table, where every cell has a value, the number of ```` elements in each row must be the same as the number of ```` elements. There is then a 1-to-1 correspondence between them for each row. The Table can contain ```` and ```` elements to add documentation; the ```` elements can also contain these. Thus the ```` can contain, in order, an optional ```` and ````, then a sequence of one or more ```` elements, then a ```` element. The ```` element can also contain optional ```` and ```` and nothing else. The ```` element can contain only ```` elements, each of which can contain only ``
`` elements. The following explains the attributes that are allowed for these five elements. The following attributes are supported for ````: **3.3.3.1** :raw-latex:`\xmlel{name}`:raw-latex:`\label{sec:3.3.3.1}` — A simple utilitarian name that may be used for identification or presentation purposes. This name may or may not have significance to subscribing clients. **3.3.3.2** :raw-latex:`\xmlel{type}`:raw-latex:`\label{sec:3.3.3.2}` — A string representing the type of the Table, that consumers can use for presentation or parsing. For example, a table of type “spectralLines” could mean to some community to expect columns (i.e., the ````\ s) named “wavelength”, “width”, “name” to define spectral lines. The ```` element defines the semantic nature of a Table column, and is structured similarly to the ```` element of section :ref:`VOEvent:sec:3.3.1`. The following attributes are supported for ````, similarly to the ```` definition above: **3.3.3.3** :raw-latex:`\xmlel{name}`:raw-latex:`\label{sec:3.3.3.3}` — A simple utilitarian name that may be used elsewhere in the packet. This name may or may not have significance to subscribing clients. **3.3.3.4** :raw-latex:`\xmlel{unit}`:raw-latex:`\label{sec:3.3.3.4}` — The unit for interpreting the values as given in the ``
`` table cells. See §4.4 of :cite:p:`2019ivoa.spec.1021O`, which relies on :doc:`VOUnits <../VOUnits/VOUnits>`. **3.3.3.5** :raw-latex:`\xmlel{ucd}`:raw-latex:`\label{sec:3.3.3.5}` — A UCD :cite:p:`2018ivoa.spec.0527P` expression characterizing the nature of the data in this table column. **3.3.3.6** :raw-latex:`\xmlel{dataType}`:raw-latex:`\label{sec:3.3.3.6}` — A string specifying the data type of the table column. Allowed values are “string”, “int”, or “float”, with the default being “string”. **3.3.3.7** :raw-latex:`\xmlel{utype}`:raw-latex:`\label{sec:3.3.3.7}` — A utype (see §4.6 of :cite:p:`2019ivoa.spec.1021O`) defines this ```` as part of a larger data structure, such as one of the IVOA standard data models. The following is an example of a Table element. Note the :raw-latex:`\xmlel{dataType}` attribute that is used to interpret the values in the table cells. .. code:: xml Individual Moduli and Distances for NGC 0931 from NED
33.160.3842.9 1997ApJS..109..333W
33.320.3846.1 1997ApJS..109..333W
33.510.4850.4 2009ApJS..182..474S
.. _`VOEvent:sec:3.4`: 3.4 ```` — Space-Time Coordinates -------------------------------------------- A VOEvent packet will typically include information about where in the sky and when in time an event was detected, and from what location, along with spatial and temporal coordinate systems and errors. If either the spatial or temporal locators are absent, it is to be assumed that the information is either unknown or irrelevant. VOEvent v2.1 borrows the syntax of the IVOA Space-Time Coordinate (STC) specification version 1.30 or later; the ```` element may reference an STC :cite:p:`2007ivoa.spec.1030R` ```` element to provide a sky location and time for the event. VOEvent publishers should construct expressions that concisely provide all information that is scientifically significant to the event, and no more than that. See §:ref:`VOEvent:sec:4` for an example of usage. STC expressions are used to locate the physical phenomena associated with a VOEvent alert in both time and space as described below. The ```` element is a combination of information describing the location of an observation in the sky along with information describing the location of the observatory from which that observation was made. Both the sky and the observatory are in constant motion, and STC inextricably relates spatial and temporal information. .. code:: xml .. _`VOEvent:sec:3.4.1`: 3.4.1 ObservationLocation ~~~~~~~~~~~~~~~~~~~~~~~~~ The ```` defines the location of the event, whereas the ```` specifies the location of the observatory, for which that event location is valid. It should contain a link to a coordinate system, ````, as well as the actual coordinates of the event, ````, containing a reference back to the coordinate system specification. For example: :: 148.88821 69.06529 0.03 Specifying errors is optional but recommended for both time and space components. The ```` element has a :raw-latex:`\xmlel{coord\_system\_id}` attribute and the ```` has a :raw-latex:`\xmlel{id}` attribute. The value of both of these should be identical, and represent the space-time coordinate system that will be used for the event position and time. A :raw-latex:`\xmlel{coord\_system\_id}` and :raw-latex:`\xmlel{id}` are built from a time part, a space part, and a “center” specification, concatenated in that order and separated by hyphens. Astronomical coordinate systems are extremely varied, but all VOEvent subscribers should be prepared to handle coordinates expressed as combinations of these basic defaults: - The time part can be *UTC* (Coordinated Universal Time :cite:p:`bib26`), *TT* (Terrestrial Time, currently 65.184 seconds ahead of UTC), *GPS* time, or *TDB* (Barycentric Dynamical Time). The full list of valid timescales is available as an IVOA vocabulary: https://www.ivoa.net/rdf/timescale - The space part can be equatorial coordinates (right ascension and declination) expressed in either the *ICRS* or *FK5* coordinate systems. The list of valid reference frames is available as an IVOA vocabulary: https://www.ivoa.net/rdf/refframe - The center specification can be *TOPO* (i.e., the location of the observatory), *GEO* (geocentric coordinates), or *BARY* (relative to the barycenter of the solar system). Those terms are short versions of terms listed in reference positions IVOA vocabulary: https://www.ivoa.net/rdf/refposition. If the center specification is different from the three listed terms, the ```` must be defined explicitly, with the ```` and ```` elements. | It is assumed that the center reference position (origin) is the same for both space and time coordinates. That means, for instance, that *BARY* should only be paired with *TDB* (and vice-versa). See the STC specification :cite:p:`2007ivoa.spec.1030R` for further discussion. The list of ```` defaults that VOEvent brokers and clients may be called upon to understand is: | *TT-ICRS-TOPO, UTC-ICRS-TOPO, TT-FK5-TOPO, UTC-FK5-TOPO, GPS-ICRS-TOPO, GPS-FK5-TOPO, TT-ICRS-GEO, UTC-ICRS-GEO, TT-FK5-GEO, UTC-FK5-GEO, GPS-ICRS-GEO, GPS-FK5-GEO, TDB-ICRS-BARY, TDB-FK5-BARY*. The STC specification, in particular ```` and its contained elements, allows more exotic coordinate systems (for example, describing planetary surfaces). Further description of how VOEvent packets might be constructed to convey such information to subscribers is outside the scope of this document. As with other elements of an alert packet, subscribers must be prepared to understand coordinates expressing the science and experimental design pertinent to the particular classes of sky transients that are of interest. In short, subscribers are responsible for choosing what VOEvent packets and thus :raw-latex:`\xmlel{coord\_system\_id}` values they will accept. Further, subscribers may choose not to distinguish between coordinate systems that are only subtly different for their purposes — for instance between *ICRS* or *FK5*, or between *TOPO* or *GEO*. As software determines whether a packet’s :raw-latex:`\xmlel{coord\_system\_id}` describes a supported coordinate system, the question is also what accuracy is required and what coordinate transformations may be implicitly or explicitly performed to that level of accuracy. A similar question faces the authors of VOEvent packets, who must make a judicious choice between the available coordinate system options to meet the expected scientific needs of consumers of those packets. If a detailed or high accuracy coordinate system selection is not needed, *UTC-ICRS-TOPO* would be a good choice as an interoperability standard. .. _`VOEvent:sec:3.4.2`: 3.4.2 ObservatoryLocation ~~~~~~~~~~~~~~~~~~~~~~~~~ The ```` element is used to express the location from which the observation being described was made. It is a required element for expressing topocentric coordinate systems. An instance of ```` may take two forms. In the first, an observatory location may be taken from a library, for example: :: The :raw-latex:`\xmlel{id}` here indicates the name of the observatory, other examples being: Keck, KPNO, JCMT, MMTO, VLA, etc., or it may indicate one of the following generic observatory locations: - *GEOSURFACE* - any location on the surface of the earth - *GEOLEO* - any location in Low Earth Orbit (altitude<700 km) - *GEOGSO* - any location within Geostationary orbit altitude - *GEONBH* - any location within 50,000 km of the geocenter - *GEOLUN* - any location within the Moon’s orbit For example, a packet might contain the following ```` to indicate that the coordinates expressed in the ```` element are located with an accuracy comprising the Earth’s surface: .. code:: xml The second option for ```` is that an observatory can be located by specifying the actual coordinate values of longitude, latitude and altitude on the surface of the Earth. Note the use of a coordinate system for the surface of the Earth (UTC-GEOD-TOPO) is natural for an observatory location, whereas coordinate systems in the previous section are for astronomical events. .. code:: xml 248.4056 31.9586 2158 Each :raw-latex:`\xmlel{C1}`, :raw-latex:`\xmlel{C2}` and :raw-latex:`\xmlel{C3}` element have :raw-latex:`\xmlel{pos\_unit}` and :raw-latex:`\xmlel{ucd}` optional attributes. .. _`VOEvent:astrocoords-astronomy-coordinates`: 3.4.3 ```` — Astronomy Coordinates ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ As presented in the previous sections, the ```` has an attribute :raw-latex:`\xmlel{coord\_system\_id}` used to refer to the ```` in use for the coordinates values. Coordinates can be expressed with two objects ```` or ```` depending on the dimensionality of the coordinates, e.g., ```` for sky coordinates. .. _`VOEvent:position2d`: ```` ^^^^^^^^^^^^^^^^ is used to store 2D coordinate positions. The names of the coordinate axes are set using ```` and ```` elements. The values of the coordinates are set using a ````. The errors on the coordinate, if any, can be set using an ```` object or an ````. .. _`VOEvent:value2d`: ```` ''''''''''''' is used to store the actual values of 2D coordinates. It contains two elements: ```` and ````, which are both with type :raw-latex:`\xmlel{coord\_value}`. .. _`VOEvent:error2d`: ```` ''''''''''''' is used to store the uncertainty values of 2D coordinates. It contains two elements: ```` and ````, which are both with type :raw-latex:`\xmlel{coord\_value}`. .. _`VOEvent:error2radius`: ```` '''''''''''''''''' is used to store the uncertainty value of 2D coordinates through a radius estimation. It has a type :raw-latex:`\xmlel{coord\_value}`. .. _`VOEvent:position3d`: ```` ^^^^^^^^^^^^^^^^ is used to store 3D coordinate positions. The names of the coordinate axes are set using ````, ```` and ```` elements. The values of the coordinates are set using a ```` object. The errors on the coordinate, if any, can be set using a ```` object. .. _`VOEvent:value3d`: ```` ''''''''''''' is used to store the actual values of 3D coordinates. It contains three elements: ````, ```` and ````, which are all with type :raw-latex:`\xmlel{coord\_value}`. .. _`VOEvent:error3d`: ```` ''''''''''''' is used to store the actual values of 3D coordinates. It contains three elements: ````, ```` and ````, which are all with type :raw-latex:`\xmlel{coord\_value}`. .. _`VOEvent:section`: :raw-latex:`\xmlel{coord\_value}` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ is the object type of the coordinate or uncertainty values. Such objects have two attributes :raw-latex:`\xmlel{pos\_unit}` and :raw-latex:`\xmlel{ucd}`, which convey the units and UCD of the value. .. _`VOEvent:sec:3.4.3`: 3.4.4 Parsing the WhereWhen Element ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ When parsing a VOEvent packet, the following pseudocode may be of use to provide the time, the right ascension and the declination, if the author used *ICRS* spatial coordinates and *UTC* time. :: Let x =/voe:VOEvent/WhereWhen/ObsDataLocation/ObservationLocation/AstroCoords If x[@coord_system_id='UTC-ICRS-TOPO'] then Let Time = x/Time/TimeInstant/ISOTime Let RA = x/Position2D/Value2/C1 Let Dec = x/Position2D/Value2/C2 The coordinate system is first checked to verify that it is set to a specific value(s), *UTC-ICRS-TOPO*. In practice, a subscriber may not care about the difference between *ICRS* and *FK5* (of the order of 0.01”) or between *TOPO* and *GEO* (in terms of timing, this is of the order of 25 ms for ground-based and low-earth-orbit observatories). Software may be written to simply accept anything that contains *ICRS* or *FK5*, *TOPO* or *GEO*. .. _`VOEvent:sec:3.4.4`: 3.4.5 Solar System Events ~~~~~~~~~~~~~~~~~~~~~~~~~ Solar system events include Solar events and planetary events. Solar events have similar requirement as astronomical events in terms of Observatory and Observation location but are using a different reference frames. The following coordinate systems are recognised for solar event data: - *UTC-HPC-TOPO* — Cartesian helio-projective coordinates (solar disk) - *UTC-HPR-TOPO* — Polar helio-projective coordinates (coronal events) - *UTC-HGS-TOPO* — Stonyhurst heliographic coordinates - *UTC-HGC-TOPO* — Carrington heliographic coordinates These coordinate combinations shall be supported by VOEvent software (brokers and clients) and that, hence, use of VOEvent by the solar research community is supported. It does not imply, of course, that all VOEvent participants are expected to recognise and handle these solar coordinates — nor, for that matter, that solar subscribers be able to handle equatorial coordinates. Planetary events (including events at Earth, in a global solar system context, e.g., for Space Weather or Near Earth Objects) have specific requirements that have been discussed by :cite:t:`2018arXiv181112680C`. Since many solar system body reference frames exist, we do not list them here. A :raw-latex:`\xmlel{PositionName}` element is available in the :raw-latex:`\xmlel{ObservationLocation/Ast\-roCoords}` element. It is used to refer to named objects, at which the event is observed without coordinates (e.g., for unresolved observations, or global impact). A :raw-latex:`\xmlel{TimeInterval}` element is available in the :raw-latex:`\xmlel{ObservationLocation/Ast\-roCoords/Time}` element. It is composed of two elements :raw-latex:`\xmlel{ISOTimeStart}` and :raw-latex:`\xmlel{ISOTimeStop}`, both defined similarly to the :raw-latex:`\xmlel{ISOTime}` element of :raw-latex:`\xmlel{TimeInstant}`. This pair of dates is used to refer to interval observations or predictions. This interval concept is different than the error on the event Time, but rather corresponds to the boundaries of a temporally extended event. .. _`VOEvent:sec:3.4.5`: 3.4.6 Events Observed from Spacecraft ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Transient event alerts resulting from observations made on distant spacecraft may reference coordinates that require correction for ground-based follow-up. The precise definition of “distant” will depend on the objects observed, the instrumentation and the science program. For remote objects such as gamma-ray bursts or supernovae, it is likely that spatial coordinates measured from spacecraft in Earth orbit will be immediately useful — indeed, the error box of the reported coordinates may be much larger than that the pointing accuracy of the follow-up telescope. On the other hand, the field of view of the instrument on that telescope may be many times larger than the error box. Subscribers must always balance such concerns — this is just one facet of matching “scientific impedance” between discovery and follow-up observations. Even if the spatial targeting coordinates require no correction, the light travel time may be quite significant between a spacecraft and any follow-up telescopes on the Earth. Subscribers may need to adjust wavefront arrival times to suit. Authors of such events may choose to handle reporting the location of the spacecraft in different ways. First, they may simply construct the complex ```` element that correctly represents the rapidly moving location of an orbiting observatory. Further discussion of this topic is outside the scope of the present document, see the STC specification :cite:p:`2007ivoa.spec.1030R`. Of course, any subscribers to such an event stream would have to understand such an ```` in detail and be able to calculate appropriate time-varying adjustments to the coordinates in support of their particular science program. Alternately, an author of event alert packets resulting from spacecraft observations might simply choose to correct their observations themselves into geocentric or barycentric coordinates. Finally, for spacecraft in Earth orbit, authors might choose to report an ```` such as *GEOLUN*, indicating a rough position precise to the width of the Moon’s orbit. These two options might be combined by both making a geocentric correction — for instance, to simplify the handling of timing information — with the reporting of a *GEOLEO* location, for example. .. _`VOEvent:sec:3.5`: 3.5 ```` — Instrument Configuration ---------------------------------------- The ```` element supplies instrument specific information. A VOEvent describes events in the sky, not events in the focal plane of a telescope. Only specialised classes of event will benefit from providing detailed information about instrumental or experimental design. A ```` contains zero or more ```` elements (see §:ref:`VOEvent:sec:3.9`) and ```` elements, that together characterise the instrument(s) that produced the observation(s) that resulted in issuing the VOEvent packet. A URI pointing to a previous VOEvent asserts that an identical instrumental configuration was used: .. code:: xml The Echelle spectrograph .. _`VOEvent:sec:3.6`: 3.6 ```` — Initial Scientific Assessment --------------------------------------------- ```` seeks to capture the emerging concept of the nature of the astronomical objects and processes that generated the observations noted in the ```` is used to express the hypothesised astrophysics. Terms from the IVOA UAT :doc:`uat-as-upstream <../uat-as-upstream/uat-as-upstream>` should be used here. Terms from other controlled vocabularies may be used if necessary. Free text should only be used for the cases where the relevant concepts are not described in existing vocabularies. .. _`VOEvent:attributes`: 3.6.1 Attributes ~~~~~~~~~~~~~~~~ The ```` element has two optional attributes, :raw-latex:`\xmlel{importance}` and :raw-latex:`\xmlel{expires}`, providing ratings of the relative noteworthiness and urgency of each VOEvent, respectively. Subscribers should consider the :raw-latex:`\xmlel{importance}` and :raw-latex:`\xmlel{expires}` ratings from a particular publisher in combination with other VOEvent metadata in interpreting an alert for their purposes. The publishers of each category of event are encouraged to develop a self-consistent rating scheme for these values. .. _`VOEvent:sec:3.6.1`: :raw-latex:`\xmlel{importance}` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The :raw-latex:`\xmlel{importance}` provides a rating of the noteworthiness of the VOEvent, expressed as a floating point number bounded between 0.0 and 1.0 (inclusive). The meaning of :raw-latex:`\xmlel{importance}` is unspecified other than that larger values are considered of generally greater importance. .. _`VOEvent:sec:3.6.2`: :raw-latex:`\xmlel{expires}` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The :raw-latex:`\xmlel{expires}` attribute provides a rating of the urgency or time-criticality of the VOEvent, expressed as an ISO-8601 [18]_ representation of some date and time in the future. The meaning of :raw-latex:`\xmlel{expires}` is application dependent but will often represent the date and time after which a follow-up observation might be belated. .. _`VOEvent:sub-elements`: 3.6.2 Sub-elements ~~~~~~~~~~~~~~~~~~ A ```` element contains one or more ```` and ```` sub-elements. These may be used to assert concepts that specify a scientific classification of the nature of the event, or rather to attach the name of some specific astronomical object or feature. These may be organised using the ```` element, which permits expressing the nature of the :raw-latex:`\xmlel{relation}` of the contained elements to the event in question as well as an estimate of its likelihood via its :raw-latex:`\xmlel{probability}` attribute. .. _`VOEvent:sec:3.6.3`: ```` — classification ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The value of a ```` element uses terms from the IVOA UAT :doc:`uat-as-upstream <../uat-as-upstream/uat-as-upstream>`. Terms from other controlled vocabularies may be used if necessary. Free text should only be used for the cases where the relevant concepts are not described in existing vocabularies. .. _`VOEvent:sec:3.6.4`: ```` — natural language ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This element provides a natural language description of the concept, either as a replacement for the ```` element, or as an elaboration. .. _`VOEvent:sec:3.6.5`: ```` — identification ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ```` provides the name of a specific astronomical object. It is preferred, but not required, to use standard astronomical nomenclature, *e.g.*, as recognized by NED :cite:p:`bib22` or SIMBAD :cite:p:`bib23`. .. _`VOEvent:sec:3.6.6`: ```` — hypotheses inferred ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ An ```` may be used to group or associate one or more ```` or ```` elements. ```` has two optional attributes, :raw-latex:`\xmlel{probability}` and :raw-latex:`\xmlel{relation}`: - :raw-latex:`\xmlel{probability}`:raw-latex:`\label{sec:3.6.6.1}` — The :raw-latex:`\xmlel{probability}` attribute is an estimate of the likelihood of the ```` accurately describing the event in question. It is expressed as a floating point number bounded between 0.0 and 1.0 (inclusive). In particular, note that a :raw-latex:`\xmlel{probability}` of 0.0 can be used to eliminate ```` from further consideration. - :raw-latex:`\xmlel{relation}`:raw-latex:`\label{sec:3.6.6.2}` — The :raw-latex:`\xmlel{relation}` attribute is a natural language string that expresses the degree of connection between the ```` and the event described by the packet. Typical values might be “associated” — a SN is associated with a particular galaxy — or “identified” — a SN is identified as corresponding to a particular precursor star. Such a one-to-one identification is considered to be the default :raw-latex:`\xmlel{relation}` in the absence of the attribute. This example asserts that the creator of the packet is 100% certain that the event being described is equivalent to *Tycho’s Star*, which has been identified as a *Type Ia Supernova*, and is “associated” with the *SN remnant* known as *3C 10*. This was an important discovery, but is no longer a very urgent one: :: Tycho's Stella Nova https://ivoa.net/rdf/uat/#supernovae 3C 10 https://ivoa.net/rdf/uat/#supernova-remnants Supernova remnant .. _`VOEvent:sec:3.7`: 3.7 ```` — Follow-up Observations -------------------------------------------- A VOEvent packet without a ```` element can be assumed to be asserting information about a new celestial discovery. Citations reference previous events to do one of three things: - follow-up an event alert with more observations or other relevant data, or - supersede a prior event with better, equivalent information, or - issue a complete retraction of a previous event. Citations form the edges of a directed graph whose nodes are VOEvent instances; they allow merging multiple events into a single related thread, a way to collect multi-sourced data into a coherent whole. Projects that implement VOEvent handling may decide to implement for different conditions of citation — perhaps assuming a sparse or structured citation graph, or a small or large arity for each event. We recommend that the meaning of ‘citation’ should be a strong one: *if a reader is to understand an event, then the reader should understand the cited event*. This is the relation between a comment and a post, between one observation of a transient and another relevant observation. However, not everything should be cited: while the papers of Einstein may be relevant, they need not be always cited! A different notion is that of association of sources: as in a radio source being near an optical source. If an author wishes to express this notion, the ```` element can carry this information (see section :ref:`VOEvent:sec:3.6.6`). A ```` element contains one or more ```` elements. The standard does not attempt to enforce references to be logically consistent; this is the responsibility of publishers and subscribers. .. _`VOEvent:sec:3.7.1`: 3.7.1 ```` — Cited event and relationship ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ An ```` element contains the IVORN of a previously published VOEvent packet. Each ```` describes the relationship of the current packet to that previous VOEvent. It has one required attribute: .. _`VOEvent:sec:3.7.1.1`: :raw-latex:`\xmlel{cite}` ^^^^^^^^^^^^^^^^^^^^^^^^^ — The cite attribute accepts three possible enumerated values, “*followup*”, “*supersedes*” or “*retraction*”. There is no default value. The value of the :raw-latex:`\xmlel{cite}` attribute modifies the VOEvent semantics. In contrast to a VOEvent announcing a discovery (*i.e.*, a packet with no citations), a VOEvent may be explicitly a “*followup*”, citing one or more earlier packets — meaning that the described real or virtual observation was done as a response to those cited packet(s). In this case, the supplied information is assumed to be a new, independent measurement. The :raw-latex:`\xmlel{cite}` may be “*supersedes*”, which can be used to express a variety of possible event contingencies. A prior VOEvent may be superseded, for example, if reprocessing of the original observation has resulted in different values for quantities expressed by ```` or ```` or if the investigators have formed a new ```` regarding the event. On the other hand, if a later observation has simply resulted in different measurements to report, this would typically be issued as a “*followup*”. When a citation is made with a “*supersedes*” or “*retraction*” attribute, it is assumed that **all** of the previous information is superseded: and so the cited event is no longer needed other than for archival or historical purposes. If there is datum X and datum Y in the original, and X gets improved calibration, then Y must also be copied to the new event, or else its value will no longer be seen. There is, however, no guarantee that a superseded or retracted event will not be subsequently cited or referenced. A “*supersedes*” :raw-latex:`\xmlel{cite}` can also be used to merge two or more earlier VOEvent threads that are later determined to be related in some fashion. The VOEvents to be merged are indicated with separate ```` elements. The proper interpretation of such a merger would depend on a VOEvent client having received all intervening packets from all relevant threads. Finally, “*supersedes*” can be used in combination with a “*followup*” to divide a single VOEvent into two or more new threads. First, follow-up the event in one packet and then supersede the original event, rather than the follow-up, in a second packet (with a second identifier that can start a second thread). The “*retraction*” :raw-latex:`\xmlel{cite}` indicates that the initial discovery event is being completely retracted for some reason. The publisher of a retraction may be other than the publisher of the original VOEvent — subscribers are free to interpret such a situation as they see fit. Splitting, merging or retracting a VOEvent should typically be accompanied by a ```` element discussing why such actions are being taken. An attempt is made to retract the sighting of Tycho’s supernova: :: ivo://uraniborg.hven#1572-11-11/0001 Oops! .. _`VOEvent:sec:3.8`: 3.8 ```` — Human Oriented Content ---------------------------------------------- A ```` may be included within any element or sub-element of a VOEvent to add human readable content. ````\ s may NOT contain ````. Users may wish to embellish Description sections with HTML tags such as images and URL links, and these should not be seen by the XML parser, as they will cause the VOEvent XML to be invalid against the schema. However, it is possible to use the CDATA mechanism of XML to quote text at length, so this may be used for complicated tagged Descriptions. See the example in section :ref:`VOEvent:sec:4` for usage. .. _`VOEvent:sec:3.9`: 3.9 ```` — External Content -------------------------------------- A ```` may be included in any element or sub-element of a VOEvent packet to describe an association with external content via a Uniform Resource Identifier :cite:p:`std:RFC3986`. In addition to the locator for the content, there is also a locator for the meaning of the content, which is another URI, specified by the :raw-latex:`\xmlel{meaning}` attribute. It is anticipated that a Note will be written discussing the IVOA-wide usage of such meaning locators. A client application may ignore ```` elements with unrecognized :raw-latex:`\xmlel{meaning}` attributes. On the other hand, the client may ignore the ‘meaning’ attribute if the position of the ```` element is sufficient to establish semantics; for example if it is contained in a ````, then presumably it gives drill-down semantics for the precise meaning of that ````. A ```` must be expressed as an empty element, with attributes only. A ```` element has the attributes: - :raw-latex:`\xmlel{uri}`:raw-latex:`\label{sec:3.9.1}` — The identifier of another document (anyURI [19]_). This attribute must be present. - :raw-latex:`\xmlel{meaning}`:raw-latex:`\label{sec:3.9.2}` — The nature of the document referenced (anyURI). This attribute is optional. - :raw-latex:`\xmlel{mimetype}`:raw-latex:`\label{sec:3.9.3}` — An optional RFC 2046 media type of the referenced document :cite:p:`std:MIME`. - :raw-latex:`\xmlel{type}`:raw-latex:`\label{sec:3.9.4}` [DEPRECATED] — The type of the document as described in VOEvent v1.11. - :raw-latex:`\xmlel{name}`:raw-latex:`\label{sec:3.9.5}` [DEPRECATED] — A short name as described in VOEvent v1.11. A ```` is used to provide general purpose ancillary data with well-defined meaning. Here a fits image is presented (h.fits), and also a link to the data model that is needed for a machine to understand the meaning. .. code:: xml An example of the indirection of a VOEvent packet using ````: .. code:: xml .. _`VOEvent:sec:registry-matters`: 4 Event Streams and the Registry ================================ In this section, we will reference several namespaced XML elements using VO canonical prefixes. The prefixes used here are: - ``vr`` – ``http://www.ivoa.net/xml/VOResource/v1.0`` from :cite:t:`2018ivoa.spec.0625P`. - ``vs`` – ``http://www.ivoa.net/xml/VODataService/v1.2`` from :doc:`VODataService <../VODataService/VODataService>`. - ``xsi`` – ``http://www.w3.org/2001/XMLSchema-instance``. The canonical prefix for the VOEvent registry extension is ``voe``, which maps to the namespace URI ``http://www.ivoa.net/xml/VOEventRegExt/v2``. .. _`VOEvent:sec:registering`: 4.1 Registering Event Streams ----------------------------- Public VOEvent streams MUST be registered in the VO Registry [20]_. This is necessary to .. raw:: latex \begin{compactitem} \item ensure the validity of the event ids, as URIs with an \verb|ivo:| scheme must resolve in a VO searchable registry to be valid \citep{2016ivoa.spec.0523D}. \item ensure the uniqueness of the event ids, as the event stream URI's uniqueness is maintained using the Registry. \item make the event streams enumeratable and findable. \end{compactitem} It is recommended to register VOEvent streams using :raw-latex:`\xmlel{vs:CatalogSer\-vice}` (or, if the stream is only accessible through third-party services, :raw-latex:`\xmlel{vs:Catalog\-Resource}`) resources, as these allow service operators to attach rich metadata like the originating facility and instrument, and possibly extra stream metadata in a tableset. However, this specification does not constrain the resource type. A public event stream MUST define a capability with standard id of ``ivo://ivoa.net/std/voevent``. Note that path parts in IVOA identifiers are case-insensitive, and hence when comparing ivoids, clients must ignore case. This specification does not constrain the type of the capability, but as of this version, it is recommended to use plain :raw-latex:`\xmlel{vr:capability}` elements (i.e., not have :raw-latex:`\xmlel{xsi:type}` attributes). When multiple VOEvent streams share their :doc:`VOResource <../VOResource/VOResource>` metadata (curation, summary title and description, coverage, etc), they should be defined as multiple VOEvent capabilities of the same :doc:`VOResource <../VOResource/VOResource>` record; these capabilities should then come with human-readable description of the stream’s contents. Zero or more endpoints publishing the event stream are declared within this capability element using :raw-latex:`\xmlel{vr:interface}` elements with their :raw-latex:`\xmlel{role}` attributes set to ``std``; such standard interfaces MUST be of type :raw-latex:`\xmlel{voe:Stream\-Endpoint}` and then by the schema MUST have a :raw-latex:`\xmlel{standardID}` attribute, the value of which SHOULD reference one of the keys in this standard’s registry record, ``ivo://ivoa.net/std/voevent``. As of this writing, these keys include: .. raw:: latex \begin{compactitem} \item \verb|acc-vtp| The endpoint complies to IVOA VOEvent Transport Protocol \citep{2017ivoa.spec.0320S} \item \verb|acc-xmpp| The endpoint uses an informal method based on XMPP (jabber). \item \verb|acc-kafka| The endpoint uses Apache Kafka \citep{kafka}. In VOResource, the access URLs for Kafka enpoints use a VO-custom URI prefix x-kafka. The authority part in these URIs is the kafka host. In the query part of the URI, give any extra parameters, in particular \emph{topic}. \item \verb|acc-proprietary| The endpoint is usable by some method not (yet) mentioned in the VOEvent standard's registry record. \end{compactitem} New keys may be added to the registry record by consensus between the chairs of the IVOA DAL and Time Domain Working groups. Here is an example of a capability that will make a resource discoverable as a VOEvent stream, with one endpoint each for VTP and Kafka. The Kafka stream is also availble through some other provider, perhaps to ensure high availability: :: http://example.org/events/vtp x-kafka://example.org?topic=sample-stream x-kafka://bigshot.com?topic=sample-stream A full record describing a service running at the time of writing comes with this specification [21]_. This also shows how to declare an archive of the VOEvents sent out. .. _`VOEvent:finding-voevent-streams`: 4.2 Finding VOEvent Streams --------------------------- Normatively, VOEvent streams are located in the VO Registry as resources with capabilites whose :raw-latex:`\xmlel{standardID}` attribute compares equal to the VOEvent standard id ``ivo://ivoa.net/std/voevent`` ignoring case. This standard defines one mandatory details key for :doc:`RegTAP <../RegTAP/RegTAP>` :cite:p:`2019ivoa.spec.1011D`: ``capability/interface/standardID``. Note that using this model, it is only possible to discover that a service supports a given transport protocol but not to find out which access URL corresponds to which transport protocol on multi-protocol services. If a consumer must make this distinction, it will need to retrieve the service’s capabilities document and parse it itself. Using :doc:`RegTAP <../RegTAP/RegTAP>`, all registered VOEvent streams can be located using a query like .. code:: sql SELECT ivoid, res_title FROM rr.resource NATURAL JOIN rr.capability WHERE standard_id='ivo://ivoa.net/std/voevent' To get URLs and titles of streams giving a subject containing supernova in some way, use a query like .. code:: sql SELECT res_title, access_url FROM rr.resource NATURAL JOIN rr.capability NATURAL JOIN rr.interface NATURAL JOIN rr.res_subject WHERE standard_id='ivo://ivoa.net/std/voevent' AND 1=ivo_nocasematch(res_subject, '%supernova%') AND role='std' .. _`VOEvent:sec:4`: 5 VOEvent Examples ================== .. _`VOEvent:follow-up-observation-of-a-supernova-with-the-raptor-telescope`: 5.1 Follow up observation of a supernova with the RAPTOR telescope ------------------------------------------------------------------ This imaginary event is a brightness measurement of a past supernova from the RAPTOR :cite:p:`bib10` telescope. The ```` section reports a ```` and ```` followed by a ```` about seeing and a ```` with the actual report: the magnitude is 19.5, measured 278.02 days after the reference time, which is reported in the ```` section. There is a ```` of measured distances to the presumed host galaxy. The packet represents a follow-up observation of an earlier event, as defined in the ```` element. .. code:: xml ivo://raptor.lanl/organization 2005-04-15T14:34:16 An imaginary event report about SN 2009lw. Time is days since the ref time in the WhereWhen section
Individual Moduli and Distances for NGC 0931 from NED
33.160.3851.31997ApJS..109..333W
33.320.3846.11997ApJS..109..333W
33.510.4850.42009ApJS..182..474S
33.550.3851.31997ApJS..109..333W
33.710.4355.22009ApJS..182..474S
34.010.8063.31997ApJS..109..333W
37.0603169 31.3116578 0.03 Raptor AB at Los Alamos. ]]> ivo://raptor.lanl/VOEvent#235649408 http://ivoat.ivoa.net/process.variation.burst;em.opt Looks like a SN NGC0931 .. _`VOEvent:prediction-of-a-solar-wind-event-arrival-time-at-jupiter`: 5.2 Prediction of a Solar Wind event arrival time at Jupiter ------------------------------------------------------------ This second imaginary example describes the predicted time of arrival of a Solar Wind dynamic pressure pulse at Jupiter. The prediction has been produced by a 1D MHD propagation model \cite{tao05}, referred to as with the DOI of the paper describing the code. The :raw-latex:`\xmlel{WhereWhen}` section provides the location of the event detection, and the time frame in use for the predicted dates. The :raw-latex:`\xmlel{What}` section provides the interval, in which the detection threshold is met. The reference dataset is also cited in the :raw-latex:`\xmlel{Why}` section. .. code:: xml ivo://psws Michel.Gangloff@irap.omp.eu Michel Gangloff 2018-10-02T17:34:45 Time intervals in which dynamic pressure is greater than 0.08 nPa at Jupiter Time intervals found by the propagation code time tag for beginning of interval time tag for end of interval
2018-10-03T10:00:00.0002018-10-04T01:00:00.000
2018-10-04T07:00:00.0002018-10-04T11:00:00.000
2018-10-08T01:00:00.0002018-10-08T07:00:00.000
Jupiter UTC Jupiter This prediction has been computed by the Heliospheric propagation 1D MHD model for solar wind prediction at planets, probes and comets. http://astrothesaurus.org/uat/1534 Solar Wind measured at 1 AU http://astrothesaurus.org/uat/1966 MHD simulation of propagated Solar Wind at Jupiter 3 Solar Pressure pulses predicted at Jupiter between 2018-10-03 and 2018-10-09
.. _`VOEvent:sec:5`: 6 Schema Diagram for VOEvent ============================ This image summarizes the basic structure of the event packet. The image shows how the ```` and ```` elements can appear in many different places, abbreviated by D and R. Elements and their hierarchy are in black, attributes in green, required attributes underlined. .. container:: float :name: VOEvent:fig:nutshell .. container:: center |image1| Appendices ========== .. _`VOEvent:modification-history`: A Modification History ====================== .. _`VOEvent:appendix:last-changes`: A.1 Changes from VOEvent 2.0 ---------------------------- - The :raw-latex:`\xmlel{contributor}` element has new attributes: :raw-latex:`\xmlel{ivorn}`, :raw-latex:`\xmlel{altIdentifier}` and :raw-latex:`\xmlel{role}`. - The restricted list of :raw-latex:`\xmlel{AstroCoordSystem}` is removed. It was previously an :raw-latex:`\xmlel{idValues}` type, now it is a simple :raw-latex:`\xmlel{xs:string}` type. This allows to include Solar and Planetary frames without modifying the schema. The :raw-latex:`\xmlel{idValues}` type and its references (in :raw-latex:`\xmlel{AstroCoordSystem}` and :raw-latex:`\xmlel{coord\_system\_id}`) have been removed. The :raw-latex:`\xmlel{AstroCoordSystem}` can be fully described with a :raw-latex:`\xmlel{TimeFrame}` and a :raw-latex:`\xmlel{SpaceFrame}`, see :cite:t:`2007ivoa.spec.1030R`. - Annotations in :raw-latex:`\xmlel{AstroCoords/Time}` and :raw-latex:`\xmlel{AstroCoords/Position2D}` have been included in the schema (according to STC-1.33). - The concept of :raw-latex:`\xmlel{AstroCoords/PositionName}` is introduced with type :raw-latex:`\xmlel{xs:string}`. This allows to identify a target by its name (such as a named solar system body). - The concept of :raw-latex:`\xmlel{TimeInterval}` is introduced in the ``