<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi all,</p>
    <p>I agree that changing time representation (rendering) is not a
      transform in the sense of the model.</p>
    <p>But changing the frame (time scale + refpos + direction) would
      be.</p>
    <p>The discussion below ios about going from a "World" TimeFrame to
      another one.</p>
    <p>But I see at least another use case : "movies" encoded as FITS
      Cube where axis 3 is representing time</p>
    <p>These kind of things exist in solar physics as far as I know.</p>
    <p>In that case a Transform FROM pixels in axis 3 to a World
      TimeFrame could be needed.</p>
    <p>Cheers</p>
    <p>François<br>
    </p>
    <div class="moz-cite-prefix">Le 03/04/2020 à 21:10, Arnold Rots a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJXToE-yfVP81QtsrLvFUqJ4B3yX1ojN-pO+r+-GSQWVKQK6vw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Yes, the spacecraft-to-earth case is a valid transform.</div>
        <div>I only responded to the line I quoted.</div>
        <div><br>
        </div>
        <div>That said, there is more to it (and I realize I will be
          repeating comments I have made before).</div>
        <div>Defining a time stamp using the (M)JD/UTC combination is a
          bad (dangerous) idea; UTC measures an angle, it is not a
          chronometer.<br>
        </div>
        <div>Earlier Transform designs focussed on spatial coordinates,
          emulating the FITS WCS development in that area (WCS Paper
          II).<br>
        </div>
        <div>Other simple coordinate types were automatically included
          (because it was easy to do).</div>
        <div><br>
        </div>
        <div>Time is a different beast.</div>
        <div>There is the transformation from one time scale to another,
          with or without a change in reference position.</div>
        <div>But, if done properly, the relative motion of these
          reference positions should be taken into account.</div>
        <div>And then there is the option of applying a pathlength
          correction, which is relevant when measuring photon arrival
          times.</div>
        <div>One may need to take gravitational potentials along the way
          into account.</div>
        <div>But some of this may not be relevant for transforming
          spacecraft time stamps, since many spacecraft missions (at
          least the ones I am aware of) artificially synchronize their
          spacecraft clocks with TAI on the surface of the earth,
          thereby zeroing out all relativistic effects (gravitational
          potential and acceleration) that the spacecraft clock is
          subject to. In a way, if you want to be pedantic, it means
          that effectively fundamental physics constants vary on board.</div>
        <div>All this to say that time transformations are a can of
          worms that is best left to a specialized library. Leave it to
          David Berry.<br>
        </div>
        <div><br>
        </div>
        <div>As to Mark's comment regarding the timing of FITS WCS Paper
          IV, if one looks closely, one may realize that that paper is
          based on HEA time conventions combined with the experience
          gained in the development of STC1 - which, in turn, had some
          roots in the ISAIA program. And so, the design of the temporal
          domain that I introduced in STC2 pretty much continued what
          was contained in Paper IV. I admit that I have no idea how
          much of that is left at this point.</div>
        <div><br>
        </div>
        <div>Cheers,</div>
        <div><br>
        </div>
        <div>  - Arnold<br>
        </div>
        <div>
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr"><br>
                        <div dir="ltr" style="margin-left:0pt">
                          <table style="border:medium
                            none;border-collapse:collapse">
                            <colgroup><col width="445"><col width="275"></colgroup><tbody>
                              <tr style="height:90pt">
                                <td
style="border-color:rgb(255,255,255);border-style:solid;border-width:1pt;vertical-align:top;padding:5pt">
                                  <p dir="ltr"
                                    style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial;color:rgb(34,34,34);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Arnold H Rots</span></p>
                                  <p dir="ltr"
                                    style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Research Associate</span></p>
                                  <p dir="ltr"
                                    style="line-height:1.2;margin-top:0pt;margin-bottom:0pt">SAO/HEAD</p>
                                  <p dir="ltr"
                                    style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Center for Astrophysics | Harvard &amp; Smithsonian</span></p>
                                  <br>
                                  <p dir="ltr"
                                    style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial;color:rgb(34,34,34);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><span><span style="font-size:9.5pt;font-family:Arial;color:rgb(34,34,34);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Email: <a href="mailto:arots@cfa.harvard.edu" target="_blank" moz-do-not-send="true">arots@cfa.harvard.edu</a></span></span></span></p>
                                  <p dir="ltr"
                                    style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial;color:rgb(34,34,34);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Office: +1 617 496 7701 | Cell: +1 617 721 6756</span></p>
                                  <p dir="ltr"
                                    style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial;color:rgb(34,34,34);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">60 Garden Street | MS 69 | Cambridge, MA 02138 | USA</span></p>
                                  <br>
                                  <p dir="ltr"
                                    style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial;color:rgb(34,34,34);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/R45qZsZUYbnrNung3ANEy_aJBrli78_IZ48LOZIdYaUicFhNhvpo-9n2bBgUfY80wp7S__msk71xAU9J4jXAamyFuvvOfb2sCp8SmlPdRA4WGpw1Yfcbvjr2qCw0r4cLyVaFQ3NB" style="border:medium none" moz-do-not-send="true" width="350" height="2"></span></p>
                                </td>
                              </tr>
                              <tr style="height:27pt">
                                <td
style="border-color:rgb(255,255,255);border-style:solid;border-width:1pt;vertical-align:top;padding:5pt">
                                  <p dir="ltr"
                                    style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/Ibk6DE2j3nS5F7iU5K7tvYlZhOBC_IK9gXntzK57EkBWwJtegzT-mSi6UgJH-wearGMcUE-4R1pOAdNtrzexzdvzwQGlfSuLItPiXhxUUNrenego55AGWwAX1W24xpcvHu1an55e" style="border:medium none" moz-do-not-send="true" width="149" height="65"></span></p>
                                  <br>
                                  <p dir="ltr"
                                    style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><a
                                      href="http://cfa.harvard.edu/"
                                      style="text-decoration:none"
                                      target="_blank"
                                      moz-do-not-send="true"><span style="font-size:9.5pt;font-family:Arial;color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">cfa.harvard.edu</span></a><span style="font-size:9.5pt;font-family:Arial;color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> | </span><a
href="http://cfa.harvard.edu/facebook" style="text-decoration:none"
                                      target="_blank"
                                      moz-do-not-send="true"><span style="font-size:9.5pt;font-family:Arial;color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">Facebook</span></a><span style="font-size:9.5pt;font-family:Arial;color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> | </span><a
href="http://cfa.harvard.edu/twitter" style="text-decoration:none"
                                      target="_blank"
                                      moz-do-not-send="true"><span style="font-size:9.5pt;font-family:Arial;color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">Twitter</span></a><span style="font-size:9.5pt;font-family:Arial;color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> | </span><a
href="http://cfa.harvard.edu/youtube" style="text-decoration:none"
                                      target="_blank"
                                      moz-do-not-send="true"><span style="font-size:9.5pt;font-family:Arial;color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">YouTube</span></a><span style="font-size:9.5pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> | </span><a
href="http://cfa.harvard.edu/newsletter" style="text-decoration:none"
                                      target="_blank"
                                      moz-do-not-send="true"><span style="font-size:9.5pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">Newsletter</span></a></p>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Fri, Apr 3, 2020 at 11:51
          AM Laurent MICHEL &lt;<a
            href="mailto:laurent.michel@astro.unistra.fr"
            moz-do-not-send="true">laurent.michel@astro.unistra.fr</a>&gt;
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Arnold
          ,<br>
          <br>
          In my example, I was talking (a bit ahead) about transforming
          spacecraft <br>
          time to earth time. The might be real a transform (change of
          scale/ref) <br>
          isn't it?<br>
          <br>
          LM<br>
          <br>
          Le 03/04/2020 à 16:33, Arnold Rots a écrit :<br>
          &gt;&gt;&gt;&gt; You mean like  DATE =&gt; MJD?  GMT - PST?<br>
          &gt;  &gt; yes I do<br>
          &gt; <br>
          &gt; With all due respect, these are not transformations.<br>
          &gt; They are properties (renderings, if you like) of the pure
          coordinate <br>
          &gt; value, without needing any coordinate frame information.<br>
          &gt; If you want to transform a pixel coordinate to, say, a
          ICRS equatorial <br>
          &gt; coordinate, that is a true transformation, requiring
          information about <br>
          &gt; the relation between the two coordinate frames involved.<br>
          &gt; On the other hand, if I have a time stamp value that is
          kept, for <br>
          &gt; instance, in JD, I can ask it to be rendered in MJD or
          ISO-8601. No <br>
          &gt; information external to that JD value is required, not
          even its time scale.<br>
          &gt; True time transformations would be required for changing
          the time scale <br>
          &gt; of a particular time instance, or its time frame's
          reference position.<br>
          &gt; But that is a much more involved subject.<br>
          &gt; <br>
          &gt; Cheers,<br>
          &gt; <br>
          &gt;    - Arnold<br>
          &gt; <br>
          &gt; Arnold H Rots<br>
          &gt; <br>
          &gt; Research Associate<br>
          &gt; <br>
          &gt; SAO/HEAD<br>
          &gt; <br>
          &gt; Center for Astrophysics | Harvard &amp; Smithsonian<br>
          &gt; <br>
          &gt; <br>
          &gt; Email: <a href="mailto:arots@cfa.harvard.edu"
            target="_blank" moz-do-not-send="true">arots@cfa.harvard.edu</a>
          &lt;mailto:<a href="mailto:arots@cfa.harvard.edu"
            target="_blank" moz-do-not-send="true">arots@cfa.harvard.edu</a>&gt;<br>
          &gt; <br>
          &gt; Office: +1 617 496 7701 | Cell: +1 617 721 6756<br>
          &gt; <br>
          &gt; 60 Garden Street | MS 69 | Cambridge, MA 02138 | USA<br>
          &gt; <br>
          &gt; <br>
          &gt; <br>
          &gt; <a href="http://cfa.harvard.edu" rel="noreferrer"
            target="_blank" moz-do-not-send="true">cfa.harvard.edu</a>
          &lt;<a href="http://cfa.harvard.edu/" rel="noreferrer"
            target="_blank" moz-do-not-send="true">http://cfa.harvard.edu/</a>&gt;|
          Facebook <br>
          &gt; &lt;<a href="http://cfa.harvard.edu/facebook"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://cfa.harvard.edu/facebook</a>&gt;|
          Twitter <br>
          &gt; &lt;<a href="http://cfa.harvard.edu/twitter"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://cfa.harvard.edu/twitter</a>&gt;|
          YouTube <br>
          &gt; &lt;<a href="http://cfa.harvard.edu/youtube"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://cfa.harvard.edu/youtube</a>&gt;|
          Newsletter <br>
          &gt; &lt;<a href="http://cfa.harvard.edu/newsletter"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://cfa.harvard.edu/newsletter</a>&gt;<br>
          &gt; <br>
          &gt; <br>
          &gt; <br>
          &gt; On Fri, Apr 3, 2020 at 5:04 AM Laurent MICHEL <br>
          &gt; &lt;<a href="mailto:laurent.michel@astro.unistra.fr"
            target="_blank" moz-do-not-send="true">laurent.michel@astro.unistra.fr</a>
          <br>
          &gt; &lt;mailto:<a
            href="mailto:laurent.michel@astro.unistra.fr"
            target="_blank" moz-do-not-send="true">laurent.michel@astro.unistra.fr</a>&gt;&gt;
          wrote:<br>
          &gt; <br>
          &gt;     Hello,<br>
          &gt; <br>
          &gt;     FITS paper II and III are listed in the draft (page
          6) but not FITS<br>
          &gt;     paper IV (time representation).<br>
          &gt;     It's a bit odd.<br>
          &gt;     To me, time transformations are symmetric with e.g.
          spectral coordinate<br>
          &gt;     transformations, even if they are less used in FITS
          files.<br>
          &gt; <br>
          &gt;     Few comment below:<br>
          &gt; <br>
          &gt;     Le 02/04/2020 à 17:35, David Berry a écrit :<br>
          &gt;      &gt; On Thu, 2 Apr 2020 at 15:55, CresitelloDittmar,
          Mark<br>
          &gt;      &gt; &lt;<a href="mailto:mdittmar@cfa.harvard.edu"
            target="_blank" moz-do-not-send="true">mdittmar@cfa.harvard.edu</a>
          &lt;mailto:<a href="mailto:mdittmar@cfa.harvard.edu"
            target="_blank" moz-do-not-send="true">mdittmar@cfa.harvard.edu</a>&gt;&gt;
          wrote:<br>
          &gt;      &gt;&gt;<br>
          &gt;      &gt;&gt;<br>
          &gt;      &gt;&gt; You mean like  DATE =&gt; MJD?  GMT - PST?<br>
          &gt;     yes I do<br>
          &gt; <br>
          &gt;      &gt;&gt; I think these are in the same level as<br>
          &gt;     ENERGY-FREQUENCY-WAVELENGTH, which are really
          standardized<br>
          &gt;     transforms which are basically considered different
          forms of the<br>
          &gt;     same value.  Which is why they are in the Coords
          model as different<br>
          &gt;     'flavors' of  Time coordinate rather than having a
          single time<br>
          &gt;     coordinate and using transforms to convert.<br>
          &gt;     You need a transform to go from a flavor to another.<br>
          &gt;     If I want to use TRANSF to model e.g. a ground
          segment processing, I<br>
          &gt;     might have a step converting spacecraft time to earth
          time.<br>
          &gt;     This is very similar with converting pixels to RA/DEC
          by using attitude<br>
          &gt;     data among other things or converting spectrometer
          channels to kEv.<br>
          &gt; <br>
          &gt;      &gt;<br>
          &gt;      &gt; I think it depends to what extent we want to
          limit the use of the<br>
          &gt;      &gt; Transform model. Being able to describe the
          mapping between different<br>
          &gt;      &gt; coordinate systems in a single physical domain 
          seems like a<br>
          &gt;      &gt; reasonable goal for a Transform model. For
          instance, if I have an<br>
          &gt;      &gt; image in which the WCS gives the (ra,dec) as a
          function of pixel<br>
          &gt;      &gt; position, I may want to create a copy of that
          image that gives the<br>
          &gt;      &gt; (l,b) of each pixel instead of (ra,dec). To do
          this I would need to<br>
          &gt;      &gt; modify the WCS by tagging on a Mapping to
          convert (ra,dec) to (l,b).<br>
          &gt;      &gt;<br>
          &gt;      &gt; Original WCS:   (pixel) -- mapping 1 -&gt;
          (ra,dec)<br>
          &gt;      &gt; New WCS: (pixel) -- mapping 1 -&gt; -- mapping
          2 -&gt; (l,b )<br>
          &gt;      &gt;<br>
          &gt;      &gt; i.e. "mapping_1" is the pixel to (ra,dec)
          mapping from the original<br>
          &gt;      &gt; image, and "mapping 2" is the (ra,dec) -&gt;
          (l,b) mapping.<br>
          &gt; <br>
          &gt;     Agree, but the time is one of these WCS domains
          (paper II III and IV)<br>
          &gt;     isn't it?<br>
          &gt; <br>
          &gt; <br>
          &gt;      &gt; Being able to modify a WCS so that it
          represents a different physical<br>
          &gt;      &gt; coordinate system seems like a reasonable
          use-case. But maybe one<br>
          &gt;     that<br>
          &gt;      &gt; can be deferred to a later date.  The beauty of
          the sort of system we<br>
          &gt;      &gt; are creating is that it is is easy to extend
          it. What matters most is<br>
          &gt;      &gt; that we get the right definition of mappings,
          transforms, operations,<br>
          &gt;      &gt; axes and so on.<br>
          &gt;     Correct me if I'm wrong, there is no need to modify
          WCS to deal with<br>
          &gt;     time coordinates.<br>
          &gt; <br>
          &gt;     I think that time transformations should be part of
          the model, also<br>
          &gt;     because Time Data still are an high VO priority.<br>
          &gt;     If it is not, e.g. because we urge to go in PR, this
          must be justified<br>
          &gt;     in section 2.<br>
          &gt; <br>
          &gt;     Cheers<br>
          &gt;     Laurent<br>
          &gt; <br>
          &gt;     -- <br>
          &gt;     ---- Laurent MICHEL              Tel  (33 0) 3 68 85
          24 37<br>
          &gt;            Observatoire de Strasbourg  Fax  (33 0) 3 68
          85 24 32<br>
          &gt;            11 Rue de l'Universite      Mail<br>
          &gt;     <a href="mailto:laurent.michel@astro.unistra.fr"
            target="_blank" moz-do-not-send="true">laurent.michel@astro.unistra.fr</a>
          &lt;mailto:<a href="mailto:laurent.michel@astro.unistra.fr"
            target="_blank" moz-do-not-send="true">laurent.michel@astro.unistra.fr</a>&gt;<br>
          &gt;            67000 Strasbourg (France)   Web <a
            href="http://astro.u-strasbg.fr/~michel" rel="noreferrer"
            target="_blank" moz-do-not-send="true">http://astro.u-strasbg.fr/~michel</a><br>
          &gt;     ---<br>
          &gt; <br>
          <br>
          -- <br>
          ---- Laurent MICHEL              Tel  (33 0) 3 68 85 24 37<br>
                Observatoire de Strasbourg  Fax  (33 0) 3 68 85 24 32<br>
                11 Rue de l'Universite      Mail <a
            href="mailto:laurent.michel@astro.unistra.fr"
            target="_blank" moz-do-not-send="true">laurent.michel@astro.unistra.fr</a><br>
                67000 Strasbourg (France)   Web  <a
            href="http://astro.u-strasbg.fr/~michel" rel="noreferrer"
            target="_blank" moz-do-not-send="true">http://astro.u-strasbg.fr/~michel</a><br>
          ---<br>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>