[evla-sw-discuss] EVLA WIDAR: Delay Model - format and content

Sonja Vrcic sonja.vrcic at nrc.gc.ca
Tue Nov 14 18:28:21 EST 2006



Bryan Butler wrote:

>
> we decided that *either* MJD+fraction or full ISO format was acceptable.

Which format is used for MJD + fraction ? Can we use "double" as 
specified in XML Schema?

XML Schema defines double as  IEEE double-precision  64-bit 
floating-point type (IEEE 754-1985).
http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#double

Sonja

>
>>>
>>>> 3.  Timestamps.  We work internaly in a double precision MJD and 
>>>> fraction
>>>> 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.
>>>>   
>>>
>>>
>>> Internally our time is in seconds since the "epoch" with a time 
>>> resolution of 10ms. These are internally carried in
>>> two unsigned integers (32 bits) as that works very nicely with the OS.
>>
>> 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.
>>
>>
>> Sonja
>>

-- 
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
Sonja.Vrcic at nrc-cnrc.gc.ca
http://www.drao-ofr.hia-iha.nrc-cnrc.gc.ca/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listmgr.nrao.edu/pipermail/evla-sw-discuss/attachments/20061114/57afc924/attachment.html>


More information about the evla-sw-discuss mailing list