Introduction
We are checking logfiles for MEA raw data download, for each kind of APID :
-
0x628 : MEA1 HK data
-
0x630 : MEA2 HK data
-
0x528 : MEA1 Science data
-
0x530 : MEA2 Science data
For each one, we have a different logfile for a given antenna (0x82, 0x83, 0xA6…).
You can download full logfiles from : documents/APID_SEQ_COUNT
Logfiles content
The logfile contains the following fields :
-
number of packets found in each SDTP frame
-
date given by the SDTP library
-
APID
-
sequence counter
-
SDTP packet size
-
CCSDS category
-
packet ID
-
CCSDS size
-
Status : "OK" if delta (sequence_counter) == 1
otherwise error message : "Delta_seq = n"
Problems found
For each APID, we are checking the seq_count variable included in CCSDS header.
This sequence counter is related to each APID, and we were expecting to found regular incrementation of this counter, with some possible gaps.
However, we found various king of problems.
Science data
In science data (APID 0x528 or 0x530) we found some unexpected sequence of seq_counter, but it seems there is an explanation.
-
At the beginning of logfile, we can find for APID 0x528 a starting seq_counter sequence :
2190, 2232, 2274, 2316, 2358... 2781
-
Then seq_count restart from :
1751, 1752, 1753, ....
With regular incremetation of 1, but exception made of some seq_count values that can be found in the fisrt sequence (2190, 2232…).
However, we found the explanation :
-
Category field is 51 for the first sequence (LOW mode TM)
-
Category is 61 (MED mode) for the remaining packets.
So it’s now OK for this problem The TM starts with Low mode and continue with MED mode. As we register this packets in different CDF files, our CDF files will be correctly time ordered. |
Housekeeping data
MEA1 and MEA2 data for 2018/05/11
In HSK data (APID 0x628 or 0x630) we found another problem.
Packets for APID 0x630 starts with seq_counter:
0, 1, 2, 3, 4, 5, ...,1399, 1400
With just a GAP from 1174 to 1182.
After 1400, sequence_counter become :
394, 395, 396, ..., 419
Then 1401, and restart with :
420, 421, 422, ..., 459
Then 1402, and restart with :
460, 461, ...467
Followed by :
938, 939, 940, ... 951
Then 1403, and continue with :
952, 953, ..., 991
Then 1404, and so on, until packet 1151.
Finally, a normal sequence :
1416, 1417, ..., 2195
No explanation was found for this discontinuity ! Packets with seq_count 400 until 1141 seems to be sent twice !!! |
The following figure is obtained by plotting APID seq_count vs. record number from the corresponding HSK CDF file.
Other examples
It seems that this problem occurs several times :
These plots contains 4 panels :
-
Time Index vs. record for MEA1
-
APID seq_count vs.record for MEA1
-
Time Index vs. record for MEA2
-
APID seq_count vs.record for MEA2
MEA1 data for 2017/02/04
Frequent and regular lost of HSK paquets.
-
From seq_counter 541 to 773, seq_counter sequence is :
541, 543, 545, 547... 767, 769, 771
Regular lost of 1 packet over 2 : DELTA_SEQ = 2
-
Same problem from seq_counter 1851 to 2337 : DELTA_SEQ = 2
-
Same problem from seq_counter 2753 to 2949 : DELTA_SEQ = 2
Whole list of logfiles
MEA1 Housekeeping (APID 0x628)
Date | Bugs | Log file |
---|---|---|
2014-01-28 |
1 |
|
2014-01-29 |
1 |
|
2014-01-30 |
5 |
|
2014-07-02 |
0 |
|
2014-07-03 |
2 |
|
2014-07-15 |
1 |
|
2014-07-16 |
1 |
|
2014-09-13 |
3 |
|
2014-09-26 |
3 |
|
2014-10-14 |
1 |
|
2014-10-31 |
3 |
|
2014-11-02 |
1 |
|
2014-11-03 |
2 |
|
2014-11-04 |
2 |
|
2014-11-09 |
2 |
|
2014-11-10 |
2 |
|
2014-11-11 |
6 |
|
2014-11-13 |
3 |
|
2014-11-14 |
3 |
|
2014-11-15 |
113 |
|
2014-11-16 |
0 |
|
2014-11-19 |
181 |
|
2014-11-21 |
6 |
|
2014-11-23 |
2 |
|
2014-12-11 |
0 |
|
2015-11-27 |
0 |
|
2015-11-28 |
0 |
|
2015-11-30 |
0 |
|
2015-12-01 |
1 |
|
2017-01-26 |
0 |
|
2017-01-26 |
4 |
|
2017-01-28 |
0 |
|
2017-02-02 |
0 |
|
2017-02-03 |
2 |
|
2017-02-04 |
469 |
|
2017-08-03 |
1 |
|
2017-08-04 |
0 |
|
2017-09-21 |
0 |
|
2017-11-07 |
3 |
|
2017-11-14 |
12 |
|
2017-11-15 |
0 |
|
2017-11-20 |
2 |
|
2017-11-21 |
0 |
|
2017-11-22 |
0 |
|
2017-12-07 |
99 |
|
2018-01-14 |
1 |
|
2018-01-15 |
2 |
|
2018-01-17 |
22 |
|
2018-03-16 |
0 |
|
2018-05-11 |
23 |
MEA2 Housekeeping (APID 0x630)
Date | Bugs | Log file |
---|---|---|
2014-01-28 |
1 |
|
2014-01-29 |
1 |
|
2014-01-30 |
3 |
|
2014-07-02 |
0 |
|
2014-07-03 |
1 |
|
2014-07-15 |
1 |
|
2014-07-16 |
1 |
|
2014-09-13 |
4 |
|
2014-09-26 |
3 |
|
2014-10-14 |
0 |
|
2014-10-31 |
3 |
|
2014-11-02 |
1 |
|
2014-11-03 |
3 |
|
2014-11-04 |
2 |
|
2014-11-09 |
2 |
|
2014-11-10 |
2 |
|
2014-11-11 |
9 |
|
2014-11-13 |
3 |
|
2014-11-14 |
4 |
|
2014-11-15 |
114 |
|
2014-11-16 |
0 |
|
2014-11-18 |
97 |
|
2014-11-19 |
183 |
|
2014-11-20 |
0 |
|
2014-11-21 |
5 |
|
2014-11-23 |
2 |
|
2014-12-11 |
1 |
|
2015-11-27 |
0 |
|
2015-11-28 |
0 |
|
2015-11-30 |
0 |
|
2015-12-01 |
0 |
|
2017-01-26 |
0 |
|
2017-01-26 |
3 |
|
2017-01-28 |
0 |
|
2017-02-02 |
0 |
|
2017-02-03 |
3 |
|
2017-02-04 |
371 |
|
2017-08-03 |
2 |
|
2017-08-04 |
0 |
|
2017-09-21 |
0 |
|
2017-11-07 |
2 |
|
2017-11-14 |
8 |
|
2017-11-15 |
4 |
|
2017-11-20 |
2 |
|
2017-11-21 |
0 |
|
2017-11-22 |
0 |
|
2017-12-07 |
4 |
|
2018-01-14 |
1 |
|
2018-01-15 |
1 |
|
2018-01-17 |
24 |
|
2018-03-16 |
0 |
|
2018-05-11 |
24 |
MEA1 Science (APID 0x528)
Date | Bugs | Log file |
---|---|---|
2014-01-28 |
1067 |
|
2014-01-29 |
73 |
|
2014-01-30 |
101 |
|
2014-07-02 |
0 |
|
2014-07-03 |
928 |
|
2014-07-15 |
594 |
|
2014-07-16 |
2037 |
|
2014-09-13 |
179 |
|
2014-09-26 |
103 |
|
2014-10-14 |
970 |
|
2014-10-31 |
263 |
|
2014-11-02 |
621 |
|
2014-11-03 |
287 |
|
2014-11-04 |
0 |
|
2014-11-09 |
873 |
|
2014-11-10 |
0 |
|
2014-11-11 |
906 |
|
2014-11-13 |
908 |
|
2014-11-14 |
0 |
|
2014-11-15 |
913 |
|
2014-11-16 |
1690 |
|
2014-11-19 |
1770 |
|
2014-11-21 |
822 |
|
2014-11-23 |
768 |
|
2014-12-11 |
1065 |
|
2015-11-27 |
0 |
|
2015-11-28 |
0 |
|
2015-11-30 |
0 |
|
2015-12-01 |
1079 |
|
2017-01-26 |
11 |
|
2017-01-26 |
80 |
|
2017-01-28 |
14 |
|
2017-02-02 |
0 |
|
2017-02-03 |
1392 |
|
2017-02-04 |
253 |
|
2017-08-03 |
1294 |
|
2017-08-04 |
0 |
|
2017-09-21 |
0 |
|
2017-11-07 |
0 |
|
2017-11-14 |
81 |
|
2017-11-15 |
0 |
|
2017-11-20 |
0 |
|
2017-11-21 |
0 |
|
2017-11-22 |
0 |
|
2017-12-07 |
117 |
|
2018-01-14 |
0 |
|
2018-01-15 |
97 |
|
2018-01-17 |
335 |
|
2018-03-16 |
8 |
|
2018-05-11 |
252 |
MEA2 Science (APID 0x530)
Date | Bugs | Log file |
---|---|---|
2014-01-28 |
223 |
|
2014-01-29 |
14 |
|
2014-01-30 |
107 |
|
2014-07-02 |
0 |
|
2014-07-03 |
202 |
|
2014-07-15 |
582 |
|
2014-07-16 |
1898 |
|
2014-09-13 |
35 |
|
2014-09-26 |
22 |
|
2014-10-14 |
210 |
|
2014-10-31 |
52 |
|
2014-11-02 |
153 |
|
2014-11-03 |
46 |
|
2014-11-04 |
0 |
|
2014-11-09 |
190 |
|
2014-11-10 |
0 |
|
2014-11-11 |
200 |
|
2014-11-13 |
199 |
|
2014-11-14 |
0 |
|
2014-11-15 |
871 |
|
2014-11-16 |
1602 |
|
2014-11-18 |
875 |
|
2014-11-19 |
1708 |
|
2014-11-20 |
0 |
|
2014-11-21 |
183 |
|
2014-11-23 |
170 |
|
2014-12-11 |
231 |
|
2015-11-27 |
0 |
|
2015-11-28 |
0 |
|
2015-11-30 |
0 |
|
2015-12-01 |
230 |
|
2017-01-26 |
4 |
|
2017-01-26 |
48 |
|
2017-01-28 |
2 |
|
2017-02-02 |
0 |
|
2017-02-03 |
291 |
|
2017-02-04 |
84 |
|
2017-08-03 |
273 |
|
2017-08-04 |
0 |
|
2017-09-21 |
0 |
|
2017-11-07 |
0 |
|
2017-11-14 |
32 |
|
2017-11-15 |
41 |
|
2017-11-20 |
0 |
|
2017-11-21 |
0 |
|
2017-11-22 |
0 |
|
2017-12-07 |
35 |
|
2018-01-14 |
0 |
|
2018-01-15 |
34 |
|
2018-01-17 |
66 |
|
2018-03-16 |
10 |
|
2018-05-11 |
50 |