A note on a possible extension to SIAP

Francois Bonnarel bonnarel at alinda.u-strasbg.fr
Mon Apr 19 10:57:43 PDT 2004


Dear Jesus and Pedro,
  
     As I annouced in my mail last week-end I took your example
and modified it a little bit by introducing in your peculiar fields
"EXposure_Table" "Source_Table" and "Energy_Band_Table" a "VOTable
ref" to a corresponding Table ID which one can find further in the
VOTable document.
   In addition I created a "DIS:LowerLevelTable" pseudo UCD (DIS for
discussion) which may be not necessary because the occurence of the
reference may be sufficient to identify such kind of fields.
   I added the upper level Table Identifier field (ObsId) in the Exposure 
one in order to joint the Observation and Exposure Tables.
   Something similar would have to be done in Source and Energy_Band 
Tables which I was to lazy to complete!
   If I didn't misunderstood your example I Think this is a serialization
of your data model at page 2, using some of the rules we described with
Mireille in our "Data Model serialization in VOTable" note.
   This is done without modifying the VOTable DTD, which I think is reasonable
for Boston, because there has been a very long process of discussion for
version 1.1.

Cheers
François

   

<?xml version = "1.0" ?>
  <!DOCTYPE VOTABLE (View Source for full doctype...)>
<VOTABLE version = "1.0">
<RESOURCE type="results">
   <DESCRIPTION> XMM-Newton Simple Image Protocol (SIAP) Service</DESCRIPTION>
   <INFO name="QUERY_STATUS" value="OK" />
  <TABLE ID="Observation">
    <FIELD ID="ObsId" ucd="OBS_ID" datatype="char" arraysize="*" />
    <FIELD ID="Target_Name" ucd="OBS_ID" datatype="char" arraysize="*" />
    <FIELD ID="Start_Time" ucd="VOX:OBS_START_TIME" datatype="char" arraysize="*" />
    <FIELD ID="End_Time" ucd="VOX:OBS_END_TIME" datatype="char" arraysize="*" />
    <FIELD ID="On_Time" ucd="VOX:OBS_DURATION" datatype="int"  />
    <FIELD ID="RA" ucd="POS_EQ_RA_MAIN" datatype="char" arraysize="*" />
    <FIELD ID="DEC" ucd="POS_EQ_DEC_MAIN" datatype="char" arraysize="*" />
    <FIELD ID="FOV" ucd="VOX:Field_Of_View" datatype="char" arraysize="*" />
    <FIELD ID="FORMAT" ucd="VOX:Image_Format" datatype="char" arraysize="*" />
    <FIELD ID="Reference" ucd="DATA_LINK" datatype="char" arraysize="*" />
    <FIELD ID="Exposure_Table" ucd="DIS:LowerLevelTable" datatype="char" arraysize="*" ref= "Exposure" />
    <DATA>
       <TABLEDATA>
          <TR>
            <TD>0102640101</TD>
            <TD>XMM EPIC Target M33_1 </TD>
            <TD>2000-08-04 05:16:00.0 </TD>
            <TD>2000-08-04 10:27:12.0 </TD>
            <TD>18672</TD>
            <TD>23.458305</TD>
            <TD>30.66414</TD>
            <TD>0.72x0.72</TD>
            <TD>image/fits</TD> 
            <TD>
                <![CDATA[http://xsa.vilspa.esa.es:8080/alo/jsp?obsno=0102640101&name=OIMAGE&level=PPS&extension=FTZ&protocol=HTTP]]>
            </TD>
            <TD>Exposure_Table</TD>
          </TR>
        </TABLEDATA>
      </DATA>
    </TABLE>
  <TABLE ID="Exposure">
    <FIELD ref="ObsId" />
    <FIELD ID="ExposureNumber" ucd="EXP_ID" datatype="char" arraysize="*" />
    <FIELD ID="Image_Name" ucd="VOX:Image_Title" datatype="char" arraysize="*" />
    <FIELD ID="Instrument" ucd="VOX:INST_ID" datatype="char" arraysize="*" />
    <FIELD ref="Start_Time"  />
    <FIELD ref="End_Time"  />
    <FIELD ref="On_Time"  />
    <FIELD ref="RA"  />
    <FIELD ref="DEC"  />
    <FIELD ref="FOV" />
    <FIELD ref="FORMAT"  />
    <FIELD ref="Reference"  />
    <FIELD ID="Source_Table" ucd="DIS:LowerLevelTable" datatype="char" arraysize="*" ref= "Source" />
    <FIELD ID="Energy_Band_Table" ucd="DIS:LowerLevelTable" datatype="char" arraysize="*" ref= "Energy_Band" />
    <DATA>
    <DATA>
       <TABLEDATA>
          <TR>
            <TD>0102640101</TD>
            <TD>S001</TD>
            <TD>XMM EPIC EPN Image. Target : M31Core . Exposure S001 </TD>
            <TD>2000-08-04 06:06:43.0 </TD>
            <TD>2000-08-04 09:51:52.0 </TD>
            <TD>13509</TD>
            <TD>23.458305</TD>
            <TD>30.66414</TD>
            <TD>0.72x0.72</TD>
            <TD>image/fits</TD> 
            <TD>
                <![CDATA[http://xsa.vilspa.esa.es:8080/alo/jsp?obsno=0102640101&&instname=PN&datasubsetno=8&name=IMAGE&level=PPS&extension=FTZ&protocol=HTTP]]>
            </TD>
            <TD>Source_Table</TD>
            <TD>Energy_Band_Table</TD>
          </TR>
        </TABLEDATA>
      </DATA>
    </TABLE>
    <TABLE ID = "Source">
      .......
    </TABLE>
    <TABLE ID = "Energy_Band">
      ......
    </TABLE>
SAUVONS LA RECHERCHE :  <http://recherche-en-danger.apinc.org/>

=====================================================================
Francois   Bonnarel               Observatoire Astronomique de Strasbourg
CDS (Centre de donnees          11, rue de l'Universite
astronomiques de Strasbourg)    F--67000 Strasbourg (France)

Tel: +33-(0)3 90 24 24 11       WWW: http://cdsweb.u-strasbg.fr/people/fb.html
Fax: +33-(0)3 90 24 24 25       E-mail: bonnarel at astro.u-strasbg.fr
---------------------------------------------------------------------



More information about the dal mailing list