A modest proposal for VOEvent
Rob Seaman
seaman at noao.edu
Thu Mar 5 14:47:44 PST 2009
Me again,
The registry and the schema will permit validating each packet
autonomously. Presumably some packets will fail. If so, an app/
client/aggregator/subscriber is free to reject them. The publisher
then can fix the packet stream, or their registry entry for that
stream, or lobby to change the schema.
Rob
---
On Feb 22, 2009, at 7:08 PM, Petr Kubánek wrote:
> Then the question is: who will validate it and how you will enforce
> that
> people will not invent their own names.
>
> Honestly, I would like to see for EQU something that is possible to
> validate against schema for missing attributes. XML parser will also
> creates for me a structure I can use, not a mess I have to figure out
> what it means.
>
> Petr
>
> Roy Williams píše v Ne 22. 02. 2009 v 18:00 -0800:
>> Perhaps we can use the existing VOEvent structure, with no need to
>> add
>> any extra schema (see below). The Group type (eg ="ephemeris")
>> tells the
>> software what Params to expect inside. Everything can be represented
>> with what we already have!
>>
>> Roy
>>
>> ----------------------------------
>>
>> <What>
>> <Group name="Pluto" type="orbit">
>> <Param name="q" unit="AU" dataType="float"
>> value="123" />
>> <Param name="e" dataType="float"
>> value="123" />
>> <Param name="i" unit="deg" dataType="float"
>> value="123" />
>> <Param name="node" unit="deg" dataType="float"
>> value="123" />
>> <Param name="time_peri_MJD" unit="MJD" dataType="float"
>> value="123" />
>> <Param name="arg_peri" unit="deg" dataType="float"
>> value="123" />
>> <Param name="epoch" unit="MJD" dataType="float"
>> value="123" />
>> <Param name="src" value="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
>> 19 20 21" />
>> </Group>
>>
>> Then we would add geocentric ephemeris
>>
>> <Group name="E012" type="ephemeris">
>> <Param name="ephem_type"
>> value="geocentric"/>
>> <Param name="ra" unit="deg" dataType="float" value="123" />
>> <Param name="dec" unit="deg" dataType="float" value="123" />
>> <Param name="mjd" unit="day" dataType="float" value="123" />
>> </ephemeris>
>>
>> And the detections used to derive the orbit
>>
>> <Group name="D023" type="detections">
>> <Param name="ra" unit="deg" dataType="float" value="123" />
>> <Param name="dec" unit="deg" dataType="float" value="123" />
>> <Param name="mjd" unit="day" dataType="float" value="123" />
>> <Param name="obscode" value="123" />
>> </Group>
>> </What>
>
More information about the voevent
mailing list