voevent-fireball.xml 3.02 KB
<?xml version="1.0" encoding="UTF-8"?>
<voe:VOEvent ivorn="ivo://vopdc.obspm/VOEvent/#{{voevent_id}}"
    role="test" version="2.0"
    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">
    <Who>
        <AuthorIVORN>ivo://psws/not_registered_yet</AuthorIVORN>
        <Author>
            <shortName>{{my_shortname}}</shortName>
            <contactName>{{my_contactname}}</contactName>
            <contactPhone>{{my_contactphone}}</contactPhone>
            <contactEmail>{{my_contactemail}}</contactEmail>
        </Author>
        <Date>{{my_datetime}}</Date>
    </Who>
    <What>
        <Description>
            Location of observation : {{my_city}},{{my_country}}
            {{my_list_description["what"]}}
        </Description>
      {%- for key, value in my_list_what.items() %}
          <Param name="{{key}}" value="{{value[0]}}" dataType="{{value[1]}}" ucd="{{value[2]}}" />
      {%- endfor %}
          {%- for group_param in my_list_groupname %} 
             <Group name="{{my_groupname}}">
                <Param name="target_name" value="Jupiter" dataType="string" ucd="meta.id" />
                <Param name="target_class" value="planet" dataType="string" ucd="meta.id" />
                <Param name="target_region" value="atmosphere" dataType="string" ucd="meta.id" />
             {%- for key, value in group_param.items() %}
                <Param name="{{key}}" value="{{value[0]}}" dataType="{{value[1]}}" ucd="{{value[2]}}" unit="{{value[3]}}" />
             {%- endfor %}
             </Group>
          {%- endfor %}
          {%- for group_param in my_list_groupname_source %}
             <Group name="{{my_groupname_source}}">
             {%- for key, value in group_param.items() %}
                <Param name="{{key}}" value="{{value[0]}}" dataType="{{value[1]}}" ucd="{{value[2]}}" />
             {%- endfor %}
             </Group>
          {%- endfor %}
    </What>
    <WhereWhen>
        <ObsDataLocation>
            <ObservatoryLocation>
                <AstroCoordSystem/>
                <AstroCoords/>
            </ObservatoryLocation>
            <ObservationLocation>
                <AstroCoordSystem/>
                <AstroCoords>
                    <Time unit="s">
                        <TimeInstant>
                            <ISOTime>{{my_datetime}}</ISOTime>
                        </TimeInstant>
                    </Time>
                </AstroCoords>
            </ObservationLocation>
        </ObsDataLocation>
    </WhereWhen>
    <How>
        <Description>
           {{my_list_how_instrument["instrument_description"]}}
        </Description>
        <Reference uri="https://TBD.html" type="url" />
    </How>
    <Why>
        <Concept>http://TBD</Concept>
        <Description>Comet observation</Description>
          <Name>{{my_list_wherewhen_target["target_name"]}}</Name>
    </Why>
    <Description>
    </Description>
</voe:VOEvent>