<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Bryan Butler wrote:
<blockquote cite="mid455A41EB.6050202@nrao.edu" type="cite"><br>
we decided that *either* MJD+fraction or full ISO format was
acceptable.
<br>
</blockquote>
Which format is used for MJD + fraction ? Can we use "double" as
specified in XML Schema? <br>
<br>
XML Schema defines double as IEEE double-precision 64-bit
floating-point type (IEEE 754-1985).<br>
<b></b><a class="moz-txt-link-freetext" href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#double">http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#double</a><br>
<div class="div4">
<p>Sonja <br>
</p>
</div>
<blockquote cite="mid455A41EB.6050202@nrao.edu" type="cite"><br>
<blockquote type="cite">
<blockquote type="cite"><br>
<blockquote type="cite">3. Timestamps. We work internaly in a
double precision MJD and fraction
<br>
system (LSB is about one microsecond). Converting that to ISO 8601
form is easy of course, but I rather suspect that you also will be
working in some similar system internally, and it might save a few a
little bother at both ends just to send that.
<br>
</blockquote>
<br>
Internally our time is in seconds since the "epoch" with a time
resolution of 10ms. These are internally carried in
<br>
two unsigned integers (32 bits) as that works very nicely with the OS.
<br>
</blockquote>
One of the decision from the face-to-face meeting was that time in the
XML messages is always UTC displayed as defined by ISO 8601.
<br>
<br>
<br>
Sonja
<br>
<br>
</blockquote>
</blockquote>
<br>
<pre class="moz-signature" cols="80">--
Sonja Vrcic
Software Engineer
National Research Council
Herzberg Institute of Astrophysics
Dominion Radio Astrophysical Observatory,
Penticton, BC, Canada
Tel:(250)490-4309/(250)493-2277ext.309
<a class="moz-txt-link-abbreviated" href="mailto:Sonja.Vrcic@nrc-cnrc.gc.ca">Sonja.Vrcic@nrc-cnrc.gc.ca</a>
<a class="moz-txt-link-freetext" href="http://www.drao-ofr.hia-iha.nrc-cnrc.gc.ca/">http://www.drao-ofr.hia-iha.nrc-cnrc.gc.ca/</a>
</pre>
</body>
</html>