Retraction VOEvents generated by GraceDb have wrong AlertType
Retraction VOEvents generated by GraceDb have the AlertType
param set incorrectly to Preliminary
. See the example below from the production GraceDb instance.
<?xml version="1.0" ?>
<voe:VOEvent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:voe="http://www.ivoa.net/xml/VOEvent/v2.0"
xsi:schemaLocation="http://www.ivoa.net/xml/VOEvent/v2.0 http://www.ivoa.net/xml/VOEvent/VOEvent-v2.0.xsd"
version="2.0" role="test" ivorn="ivo://gwnet/LVC#MS190220e-2-Retraction">
<Who>
<Date>2019-02-20T05:00:16</Date>
<Author>
<contactName>LIGO Scientific Collaboration and Virgo Collaboration</contactName>
</Author>
</Who>
<What>
<Param name="Packet_Type" dataType="int" value="164">
<Description>The Notice Type number is assigned/used within GCN, eg type=164 is an LVC_RETRACTION notice</Description>
</Param>
<Param name="internal" dataType="int" value="0">
<Description>Indicates whether this event should be distributed to LSC/Virgo members only</Description>
</Param>
<Param name="Pkt_Ser_Num" dataType="string" value="2"/>
<Param name="GraceID" dataType="string" value="MS190220e" ucd="meta.id">
<Description>Identifier in GraceDB</Description>
</Param>
<Param name="AlertType" dataType="string" value="Preliminary" ucd="meta.version">
<Description>VOEvent alert type</Description>
</Param>
<Param name="HardwareInj" dataType="int" value="0" ucd="meta.number">
<Description>Indicates that this event is a hardware injection if 1, no if 0</Description>
</Param>
<Param name="OpenAlert" dataType="int" value="1" ucd="meta.number">
<Description>Indicates that this event is an open alert if 1, no if 0</Description>
</Param>
<Param name="EventPage" dataType="string" value="https://gracedb.ligo.org/superevents/MS190220e/view/" ucd="meta.ref.url">
<Description>Web page for evolving status of this GW candidate</Description>
</Param>
</What>
<WhereWhen>
<ObsDataLocation>
<ObservatoryLocation id="LIGO Virgo"/>
<ObservationLocation>
<AstroCoordSystem id="UTC-FK5-GEO"/>
<AstroCoords coord_system_id="UTC-FK5-GEO">
<Time>
<TimeInstant>
<ISOTime>2019-02-20T04:57:20.447399</ISOTime>
</TimeInstant>
</Time>
</AstroCoords>
</ObservationLocation>
</ObsDataLocation>
</WhereWhen>
<Citations>
<EventIVORN cite="retraction">ivo://gwnet/LVC#MS190220e-1-Preliminary</EventIVORN>
<Description>Determined to not be a viable GW event candidate</Description>
</Citations>
</voe:VOEvent>