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

Bryan Butler bbutler at nrao.edu
Tue Nov 14 18:44:07 EST 2006


yes, IEEE double-precision is good.


On 11/14/06 16:28, Sonja Vrcic wrote:
> 
> 
> 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/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> evla-sw-discuss mailing list
> evla-sw-discuss at listmgr.cv.nrao.edu
> http://listmgr.cv.nrao.edu/mailman/listinfo/evla-sw-discuss



More information about the evla-sw-discuss mailing list