<div dir="ltr">... not to mention the redshift/Doppler axis.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">-------------------------------------------------------------------------------------------------------------<br>Arnold H. Rots                                          Chandra X-ray Science Center<br>Smithsonian Astrophysical Observatory                   tel:  +1 617 496 7701<br>60 Garden Street, MS 67                                      fax:  +1 617 495 7356<br>Cambridge, MA 02138                                         <a href="mailto:arots@cfa.harvard.edu" target="_blank">arots@cfa.harvard.edu</a><br>USA                                                   <a href="http://hea-www.harvard.edu/~arots/" target="_blank">http://hea-www.harvard.edu/~arots/</a><br>--------------------------------------------------------------------------------------------------------------<br><br></div></div></div>
<br><div class="gmail_quote">On Thu, Apr 16, 2015 at 3:39 AM, François Bonnarel <span dir="ltr">&lt;<a href="mailto:francois.bonnarel@astro.unistra.fr" target="_blank">francois.bonnarel@astro.unistra.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Dear all,<br>
        my 2 cents below<div><div class="h5"><br>
    Le 15/04/2015 19:50, Louys Mireille a écrit :
    <blockquote type="cite">
      
      Dear all , <br>
      Here is a summary of discussions on the Obscore data model update,
      with several iterations <br>
      with Doug Tody, François Bonnarel, Laurent Michel, Daniel Durand
      and Pat Dowler.<br>
      After the suggestion I made at the last interop in Banff, <br>
      (see <a href="http://wiki.ivoa.net/internal/IVOA/InterOpOct2014DM/obcore-ObsdatasetDM_compatibility.pdf" target="_blank">http://wiki.ivoa.net/internal/IVOA/InterOpOct2014DM/obcore-ObsdatasetDM_compatibility.pdf</a>
      ) <br>
      we iterated with Doug Tody to enhance the axes&#39; description of 
      the data part exposed in a dataproduct distributed by Obscore.<br>
      <br>
      These add_ons are meant to enrich the query response of ObsTAP
      serving  N-D datasets in order to expose the <br>
      dimensions and the nature of axes involved in the data part.<br>
      <br>
      The way the data values are organized in files ( File format,
      single or multiple extensions in FITS, etc, ..) is not taken into
      account here, <br>
      as the goal is discovery  and selection of  candidate datasets
      from the query response.<br>
      <br>
      These values are not meant to be exact but represent a very good
      approximation of the dimension in each physical axis.<br>
      So we are proposing the addition of <br>
      <ul>
        <li>s_dim1, s_dim2 = the coverage in sampling elements ( pixels)
          for each spatial axis</li>
        <li>em_dim = the coverage in spectral elements along the energy
          axis</li>
        <li>t_dim = the coverage in the time axis, as number of time
          bins<br>
        </li>
        <li>pol_dim = the coverage in the polarization axis, as number
          of polarization states <br>
        </li>
      </ul>
      The nature of each axis is given by their prefix (s (spatial), em
      (energy), t (time) and pol (polarization) s mentionned in the
      Obscore previous version.<br>
      <br>
      These parameters are not describing the packaging (this is not
      providing enough information for cutout yet. <br>
      If the value of the &lt;n&gt;_dim is 1, it means that this is a
      degenerate axis. <br>
      One cannot have a &lt;n&gt;_dim =0 but NULL is allowed
      (interpreted as 1). <br>
      <br>
      Please note that the default polarization for any imaging data is
      I, intensity.<br>
      <br>
      It is important to note that the &lt;n&gt;_dim values are the
      overall characteristic of the dataset and NOT the value of its WCS
      axis <br>
      (it might be true for simple cases, i.e. simple image but
      certainly not for mosaic observation where the gap<br>
       and/or the presence/absence of a given chip is not specified) .<br>
      <br>
      Here are some examples of various datasets exposed with this
      strategy : <br>
      <ul>
        <li>MUSE data cube</li>
      </ul>
      <pre>    s_dim1   = 300
    s_dim2   = 300
    em_dim   = 3463
    pol_dim      = 1
    pol_state = I
    t_dim      = 1 
</pre>
      <ul>
        <li>2MASS: 2D image<br>
        </li>
      </ul>
      <pre>    s_dim1   = 300
    s_dim2   = 300
    em_dim   = 1
    pol_dim  = 1
    pol_state = I
    t_dim = 1

</pre>
      <ul>
        <li>MEGACAM: mosaic image<br>
        </li>
      </ul>
      <pre>    s_dim1   = 20000
    s_dim2   = 20000
    em_dim   = 1
    pol_dim  = 1
    pol_state = I
    t_dim = 1

</pre>
      <ul>
        <li>STIS spectroscopy (1D):<br>
        </li>
      </ul>
      <pre>    s_dim1   = 1
    s_dim2   = 1
    em_dim   = 1024
    pol_dim  = 1
    pol_state = I
    t_dim = 1

</pre>
      <ul>
        <li>STIS spectroscopy (2D long slit):</li>
      </ul>
      <pre>    s_dim1    = 1024
    s_dim2    = 1
    em_dim    = 1024
    pol_dim   = 1
    pol_state = I
    t_dim = 1

</pre>
      <ul>
        <li>ALMA:<br>
        </li>
      </ul>
      <pre>    s_dim1    = 1000
    s_dim2    = 1000
    em_dim   = 3000
    pol_dim  = 4
    pol_state = I/U/V/Q
    t_dim = 1 
</pre>
      The more detailed mapping of s, em , etc on NAXIS1, NAXIS2, etc.
      in terms of WCS values could be handled in <br>
      a future <b><i>getmetadata </i></b>capability of SIAv2, either
      via ADQL / Obstap or with a query by parameter, awaiting a <br>
      more complete WCS solution for all astronomical observation.<br>
      A discussion on WCS implementation for instance  at the IVOA
      interop meeting in Sesto in June will help to go forward.<br>
    </blockquote></div></div>
    Yes , see my previous emails on these lists.<span class=""><br>
    <blockquote type="cite"> <br>
      There are suggestions to use an optional UCD tag to specify the
      flavour of these axes , like <b><i>em_ucd</i></b>, for instance ,
      already in ObsCoreDM <br>
      to help to disentangle between frequency , wave and energy in the
      query response.<br>
      <br>
    </blockquote></span>
    Yes I agree<br>
    I think this is interesting and could be used in all axes to specify
    roughly the global nature of the mapping <br>
    ( s_ucd = pos.gal to describe a dataset organized along galactic
    axes) <br>
    An additional optional tag for the projection could be added (eg
    s_proj)<br>
    <br>
    The &quot;use case&quot; for this is very simple : to figure out what kind of
    datacube is to be retrieved !!
    <br>
    I think It is interesting  to know if the cube is basically
    equatorial, in tangential projection and the em axis is FREQ or that
    what is going to come is Galactic, AITOFF and the em axis is sampled
    as a wavelength.
    <br>
    From this additional information the user can infer what the
    retrieved file will look like and prepare some usage scenarii. But
    we shoul let all this optionnal<br>
    <br>
    Best regards<span class="HOEnZb"><font color="#888888"><br>
    François</font></span><span class=""><br>
    <br>
     <br>
    <blockquote type="cite"> A
      draft is currently updated along these lines. <br>
      <br>
      Your comments , and suggestions welcome . <br>
      Mireille <br>
      <br>
      <pre cols="72">-- 
Mireille Louys        , Maître de conférences 
Centre de Données ( CDS)                Icube &amp; Télécom Physique Strasbourg, Pôle API
Observatoire de Strasbourg                 300, boulevard Sébastien Brant
11, Rue de l&#39;Université                        CS 10413
67000 Strasbourg                                 F - 67412 ILLKIRCH Cedex
<a href="http://astro.unistra.fr" target="_blank">http://astro.unistra.fr</a>                        <a href="http://www.telecom-physique.fr" target="_blank">http://www.telecom-physique.fr</a>
tel : 03 68 85 24 34</pre>
    </blockquote>
    <br>
  </span></div>

</blockquote></div><br></div>