<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-forward-container"><br>
      <p> Dear DALers,<br>
        <br>
        During  Sydney interop (May 2024) there was a discussion about
        the possible evolution of the  SODA protocol. This discussion
        was held just after a discussion on DAP (=SIA1.next).
        Transcription of audio recording of these two discussions can be
        found here : <a class="moz-txt-link-freetext"
href="https://wiki.ivoa.net/internal/IVOA/InterOpMay2024DAL/DAL-2-notes"
          moz-do-not-send="true">https://wiki.ivoa.net/internal/IVOA/InterOpMay2024DAL/DAL-2-notes</a><br>
        <br>
        The DAP discussion was summarized in this email : <a
          class="moz-txt-link-freetext"
href="http://mail.ivoa.net/pipermail/dal/2024-November/008768.html"
          moz-do-not-send="true">http://mail.ivoa.net/pipermail/dal/2024-November/008768.html</a><br>
        <br>
        The SODA sub-session was discussing  <a
          class="moz-txt-link-freetext"
          href="https://github.com/ivoa-std/SODA" moz-do-not-send="true">https://github.com/ivoa-std/SODA</a>
        PR#16<br>
        as a follow up of this running meeting : <a
          class="moz-txt-link-freetext"
href="https://wiki.ivoa.net/twiki/bin/view/IVOA/IvoaDAL_RunningMeetings#RM18"
          moz-do-not-send="true">https://wiki.ivoa.net/twiki/bin/view/IVOA/IvoaDAL_RunningMeetings#RM18</a><br>
        <br>
        Here is a summary of what was said in Sydney. This topic (as
        well as DAP) is stalled since then.<br>
        <br>
        Discussion on this may occur during the DAL splinter to be held
        Staturday the 7th <br>
      </p>
      <p>Cheers</p>
      <p>François</p>
      <p><b>1) MOC filtering parameter</b> </p>
      <p>(intended to extract a subset of the dataset included in the
        MOC)<br>
        <br>
        ---> consensus to drop this proposal<br>
        <br>
        <b>2 ) Pixel filtering parameter (missing in 1.0):</b><br>
        <br>
           - syntax issue : the PROPOSAL was CFITSIO syntax.  eg :
        PIXELS=[50:70:2,200:300:2,100:1500:10]<br>
              Markus made the point that it's difficult to provide
        RANGES in the service descriptor in that case and proposes
        pixel_param_per_axis<br>
              Pat answered that CFITSIO syntax also allows to refer to
        HDU in the case of MEF<br>
              FB made the point that retrieving the WCS of the dataset
        gives the ranges<br>
           - Mixing both pixels and coordinates queries : what happens ?<br>
                  - If they are axis consistent should be like multiple
        coordinates (set of cutouts)<br>
                  - If coordinates and pixels are on different axes
        (spatial coords and channels for example) they should be coupled
        and give one result. (James D)<br>
                  <br>
        <br>
        <b>3 ) DP type transform parameter :</b><br>
        <br>
         by default (version 1.0) cutout produces same dataproducttype
        but how to produce images, spectra or timeseries from a cube.
        ---> Coordinates filtering +
        DPTYPE=[image,spectrum,timeseries] drives summing along some
        dimension.<br>
              - Markus prefers an attributes like "sum" <br>
              - Gregory DF thought CFITSIO third number was downsampling
        and could do the job by changing the resolution to the coverage
        size on the axis , but it's actually picking up a pixel upon the
        third number (FB, Pat)<br>
              - FB recalls in the current PR there are resolution
        parameters to change the resolution<br>
              - Pat , JamesD : which method to downssample : sum,
        average, others ? Will people be happy if we force one ?<br>
               -FB : in the PR it's only basic summing<br>
              -James D : several flavors of cube to image : sum, moment
        maps, etc ... <br>
              - Gregory DF : to do that you can add a DPSUBTYPE free
        parameter<br>
              <br>
           Jesus made the point what's is needed (for SRC net) is more
        ambitious   . Cutout and dimension reduction is not enough, we
        need a way to describe all kind of operations that can be
        provided by the    server. Not trying to describe all of them in
        the spec. <br>
           <br>
             Gregory DF said they had a similar use case at Rubin :
        produce difference images. This may be to wide an effort to
        describe all the parameters. They were thinking of providing an
        ad hoc service with its service descriptor. Maybe minimal
        standardizing a bit through DALI<br>
             <br>
              Marco proposed to have, beside the DPTYPE parameter, a
        second parameter providing the list of existing methods. And
        start with a few   <br>
              <br>
              Brent mentions that the HDRL library     has several
        methods to go from cubes to images.<br>
              <br>
              GregoryDF:  we could have the same parameters doing the
        things differently as long as they are described somewhere and
        documentatio n is accessible .<br>
              <br>
        <b>4 ) RESPONSEFORMAT : </b><br>
        <br>
                         the idea is to be able to provide several 
        possible formats<br>
                          - jpeg or png instead of Image/fits<br>
                          - going from fits to hips or from hips to fits
        (like hips2fits) with a SODA interface<br>
                         - Brent said you would also need the index
        level parameter<br>
                         - Gregory DF asked : why standardizing ? we can
        simply do it with a service descriptor to hips2fits or whatever<br>
                         - FB : on the fly hips generation with SODA
        interface already prototyped at CDS (in SRCnet)<br>
                         <br>
                         <br>
        <b>5 ) Changing the coordinate system :</b><br>
                     a proposal  by Robert Butora (INAF) who already
        protyped it. and demand by Alberto Micol<br>
                     to have extraction in velocity coordinates for
        spectral cubes. <br>
                     <br>
                     - should we add POS-sys and Band-sys parameters to
        do that ?<br>
                        - POS may already contain the coordinate system.
        It's a string (James D)<br>
                        <br>
                        <br>
                     - other lighter possibility is to add  a parameter
        from current ICRS / WL / MJD system to the native system of the
        data if different (Pat) </p>
      <p>               Just call it native= true <br>
                     - and don't add anything else (Gregory DF)<br>
                     <br>
                     <br>
                     - Marco : if you do that you transform POS in a
        free format. You also have to say which system you support. <br>
                     -FB / for velocity you need the reference
        frequency.<br>
                     <br>
        <b>6 ) Extracting the WCS or metadata:</b><br>
        parameter metadata : with values such as WCS, HDF5-meta,
        Obscore, etc... <br>
        Pat already as an implementation<br>
                        <br>
                 <br>
                     <br>
                     <br>
                     <br>
                     <br>
                     <br>
                                 <br>
                          <br>
                     <br>
              <br>
              <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
      </p>
    </div>
  </body>
</html>