Project

General

Profile

Known time desc » History » Version 31

Nicolas Aunai, 16/06/2017 03:18 PM

1 31 Nicolas Aunai
Known time description  
2
   
3
 
4
========================
5 1 Anonymous
6 31 Nicolas Aunai
Double Time ranges : date from 01/01/1970 to 01/01/2100  
7
 
8
---------------------------------------------------------
9 1 Anonymous
10 31 Nicolas Aunai
-   seconds from 01/01/1970 00:00:00 : 0 to 4 102 488 000
11
-   milliseconds from 01/01/1970 00:00:00 : 0 to 4 102 488 000 000
12
    (ambiguity for the first 48days of 1970 with previous time format)
13
-   seconds from 01/01/0000 00:00:00 : 62 168 472 000 to 66 270 960 000
14
    (no ambiguity)
15
-   milliseconds from 01/01/0000 00:00:00 : 62 168 472 000 000 to 66 270
16
    960 000 000 (no ambiguity)
17
-   seconds from 01/01/2000 00:00:00 : - 946 728 000 to 3 155 760 000
18
    (TT2000)
19
-   milliseconds from 01/01/2000 00:00:00 : - 946 728 000 000 to 3 155
20
    760 000 000 (ambiguity with TT2000 in seconds?)
21 23 Anonymous
22 24 Anonymous
µs, ns, ps might also be needed for tt2000
23 18 Anonymous
24 31 Nicolas Aunai
Double (IEEE754)  
25
64bits  
26
min value: –1.7977E+308  
27 18 Anonymous
max value :1.7977E+308
28
29 31 Nicolas Aunai
Number of seconds per year = 60\*60\*24\*365.25 = 31 557 600  
30
Numbers for 100 years :  
31
3 155 760 000 s = 3.15576 e+9 s  
32
3 155 760 000 000 ms = 3.15576 e+12 ms  
33
3 155 760 000 000 000 µs = 3.15576 e+15 µs  
34
3 155 760 000 000 000 000 ns = 3.15576 e+18 ns  
35 18 Anonymous
3 155 760 000 000 000 000 000 ps = 3.15576 e+21 ps
36
37 31 Nicolas Aunai
Typical dynamics for a double seems to be 15 digits, after that we might
38
experiment precision loss.  
39
Recommendation is to store time in QLop as microseconds since Epoch
40
(01-01-1970 00:00:00)
41
42
   
43 27 Anonymous
 
44
45 31 Nicolas Aunai
Known time description  
46
 
47
------------------------
48 27 Anonymous
49 31 Nicolas Aunai
|*.Mission Name |*.time var name |*. units |*.DEPEND
50
|*.LABLAXIS|*.FIELDNAM |*.CATDESC |*.Type |*.VIRTUAL|*.nb of
51
records|\_.VAR\_NOTES|  
52
|Cluster FGM |time\_tags\_\_CDFNAME |ms |0 |UT |Universal Time |Interval
53
centred time tag |CDF\_EPOCH | |normal |field missing|  
54
|Cluster HIA |time\_tags\_\_CDFNAME |ms |0 |UT |Center Time |Interval
55
centred time tag |CDF\_EPOCH | |normal |field missing|  
56
||||||||||||  
57
|Themis Efi,SCM |VARNAME\_time |sec |TIME |UT |Same as time var
58
name|UTC, in seconds sinc 01-Jan-1970 00:00:00|CDF\_DOUBLE | |normal
59
|Unleaped seconds|  
60
|Themis Efi,SCM |VARNAME\_epoch |field missing|0 |UT |Same as time var
61
name|Unrelated |CDF\_EPOCH |true |0 |field missing|  
62
|Themis Efi,SCM |VARNAME\_dot0\_epoch0|msec