Project

General

Profile

Known time desc » History » Version 27

Anonymous, 08/07/2016 11:10 AM

1 1 Anonymous
h1. Known time description
2 23 Anonymous
 
3
 
4 24 Anonymous
5 2 Anonymous
h2. Double Time ranges : date from 01/01/1970 to 01/01/2100
6 23 Anonymous
 
7 22 Anonymous
8 4 Anonymous
* seconds from 01/01/1970 00:00:00  :                                                 0          to            4 102 488 000
9
* milliseconds from 01/01/1970 00:00:00  :                                          0          to    4 102 488 000 000    (ambiguity for the first 48days of 1970 with previous time format)
10
* seconds from 01/01/0000 00:00:00  :                       62 168 472 000          to          66 270 960 000 (no ambiguity)
11
* milliseconds from 01/01/0000 00:00:00 :        62 168 472 000 000           to 66 270 960 000 000 (no ambiguity)
12 1 Anonymous
* seconds from 01/01/2000 00:00:00  :                          - 946 728 000          to            3 155 760 000  (TT2000)
13
* milliseconds from 01/01/2000 00:00:00  :           - 946 728 000 000          to    3 155 760 000 000 (ambiguity with TT2000 in seconds?)
14 14 Anonymous
15 25 Anonymous
µs, ns, ps might also be needed for tt2000
16
17 23 Anonymous
 
18
 
19 5 Anonymous
20 1 Anonymous
h2. Known time description
21 23 Anonymous
 
22 22 Anonymous
23 14 Anonymous
|_.Mission Name |_.time var name                   |_. units         |_.DEPEND |_.LABLAXIS|_.FIELDNAM                   |_.CATDESC                                                         |_.Type                         |_.VIRTUAL|_.nb of records|_.VAR_NOTES|
24
|Cluster FGM        |time_tags__CDFNAME     |ms                 |0                   |UT                 |Universal Time               |Interval centred time tag                                    |CDF_EPOCH            |                     |normal              |field missing|
25
|Cluster HIA          |time_tags__CDFNAME     |ms                 |0                   |UT                 |Center Time                    |Interval centred time tag                                    |CDF_EPOCH            |                     |normal              |field missing|
26
||||||||||||
27
|Themis Efi,SCM  |VARNAME_time                 |sec                |TIME            |UT                 |Same as time var name|UTC, in seconds sinc 01-Jan-1970 00:00:00|CDF_DOUBLE          |                     |normal              |Unleaped seconds|
28
|Themis Efi,SCM  |VARNAME_epoch             |field missing|0                   |UT                 |Same as time var name|Unrelated                                                              |CDF_EPOCH           |true              |0                        |field missing|
29
|Themis Efi,SCM  |VARNAME_dot0_epoch0|msec             |EPOCH0    |UT                 |Same as time var name|EPOCH of THEMIS time base                           |CDF_EPOCH            |                     |1                        |EPOCH of 01-Jan-1970 00:00:00|
30
|Themis Esa          |VARNAME_time                 |sec                |TIME            |UT                 |Same as time var name|UTC, in seconds sinc 01-Jan-1970 00:00:00|CDF_REAL8             |                     |normal              |Unleaped seconds|
31
|Themis Esa          |VARNAME_epoch             |field missing|0                   |UT                 |Same as time var name|Unrelated                                                              |CDF_EPOCH           |true              |0                        |field missing|
32
|Themis Esa          |VARNAME_dot0_epoch0|msec             |EPOCH0    |UT                 |Same as time var name|EPOCH of THEMIS time base                           |CDF_EPOCH            |                     |1                        |EPOCH of 01-Jan-1970 00:00:00|
33
|Themis Peer        |VARNAME_time                |sec                 |TIME            |UT                 |Same as time var name|UTC, in seconds sinc 01-Jan-1970 00:00:00|CDF_DOUBLE          |                     |> data                |Unleaped seconds|
34
|Themis Peer        |VARNAME_epoch            |field missing |0                   |UT                 |Same as time var name|VARNAME                                                            |CDF_EPOCH            |                     |normal              |field missing|
35
|Themis Peer        |VARNAME_epoch0          |msec              |EPOCH0    |timebase      |Same as time var name|EPOCH of THEMIS time base                           |CDF_EPOCH           |                     |1                        |EPOCH of 01-Jan-1970 00:00:00|
36 15 Anonymous
||||||||||||
37 14 Anonymous
|MMS fpi                |Epoch (absent, Epoch_minus_var is present)          |s                 |0                   |Field missing                 | VARNAME|VARNAME                      |CDF_UINT1               |                     |1                         |VARNAME|
38
|MMS scm             |epoch_timetag                   |ns                   |0                   |VARNAME   |Same as time var name|Packet time time                                                  |CDF_TIME_TT2000|                     |normal               |field missing|
39
|MMS scm             |Epoch  (other var time)     |ns                   |0                   |VARNAME   |Same as time var name|Time                                                                       |CDF_TIME_TT2000|                     |normal               |field missing|
40 16 Anonymous
||||||||||||
41
|ACE mfi                |Epoch                                   |ms                 |0                   |VARNAME   |Time                                  |Time  ,beginning of interval                               |CDF_EPOCH           |                     |normal               |field missing|
42
||||||||||||
43
|Helios nessmag |Epoch                                   |ms                 |0                   |field missing |Epoch                               |Default Time                                                         |CDF_EPOCH           |                     |normal               |field missing|
44 1 Anonymous
||||||||||||
45
|Ulysses hft           |Epoch                                   |ms                 |0                   |Time               |Epoch                               |Time in NSSDC Epoch format                         |CDF_EPOCH           |                     |normal               |field missing|
46 17 Anonymous
||||||||||||
47 18 Anonymous
|SOHO cst             |Epoch                                   |ms                 |0                   |Epoch            |Time Line                         |Time                                                                     |CDF_EPOCH           |                     |normal               |field missing|
48
49
50 23 Anonymous
 
51
 
52 24 Anonymous
53 18 Anonymous
h2. Algorithm Proposition
54 23 Anonymous
 
55 18 Anonymous
56
VariableThatNeedsTime
57
depend0 = get(VariableThatNeedsTime.DEPEND_0 variable)
58
59
if(depend0.nbOfRec == VariableThatNeedsTime.nbOfRec)
60 21 Anonymous
* test depend0.firstValue for different double range mentionned above (this part might include CDF_TYPE for TT2000)
61
* if(ambiguity)
62
** look at depend0.units
63 26 Anonymous
** if field is missing, look at VariableThatNeedsTime.depend_epoch0.units field  
64
//ATM, these lines are written, epoch0 units are useless since that variable only appears when matching time is DEPEND_TIME variable
65 18 Anonymous
66
else
67
dependTime = get(VariableThatNeedsTime.DEPEND_TIME variable)
68
if(dependTime.nbOfRec == VariableThatNeedsTime.nbOfRec)
69 21 Anonymous
* test dependTime.firstValue for different double range mentionned above (this part might include CDF_TYPE for TT2000)
70
* if(ambiguity)
71
** look at dependTime.units
72 27 Anonymous
73
 
74
 
75
76
h2. Useful links
77
 
78
79
80
http://spdf.gsfc.nasa.gov/CDFconversion/time_formats.html
81
http://cdf.gsfc.nasa.gov/html/leapseconds_requirements.html