-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec  5 18:19:55 2021 UTC
-- File 20210803_064040_1227.dat, 108  packets found.
APID:
      1227 (SL) in 108 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 108 packets (all packets)
Total number of packets: 
      18 in 108 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 6.198682 to 76.379140
-each separately from 6s to 76s and from 28625us to 788743us.
   Differences in neigboring packets: 
      0.000017 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      14.539485 in 1 packets: 18
      22.529644 in 1 packets: 36
      5.519776 in 1 packets: 54
      17.239882 in 1 packets: 72
      10.349937 in 1 packets: 90
MIU packet time from 2021-08-03T06:40:49.198.682.000 to 2021-08-03T06:41:59.379.140.000
   Differences in neigboring packets: 
      0.000017 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      14.539485 in 1 packets: 18
      22.529644 in 1 packets: 36
      5.519776 in 1 packets: 54
      17.239882 in 1 packets: 72
      10.349937 in 1 packets: 90
MIU orbit number: 
      60000 in 108 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 108 packets (all packets)
MIU orbit information / number of events: 
      0 in 108 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 108 packets (all packets)
Instrument anomalies: 
      0 (OK) in 108 packets (all packets)
FPGA configuration version: 
      211 in 108 packets (all packets)
10 MHz counter at the last 1Hz pulse from 7.8658802 to 77.8656472
   Differences in neigboring packets: 
      0.0000000 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      13.9999535 in 1 packets: 18
      22.9999233 in 1 packets: 36
      4.9999834 in 1 packets: 54
      17.9999401 in 1 packets: 72
      9.9999667 in 1 packets: 90
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C1 -> 37.2 degC in 108 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 108 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 108 packets (all packets)
Number of external events: 
      0 in 91 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108
Number of generated alerts: 
      0 in 91 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108
Survey memory error: 
      0 in 108 packets (all packets)
Event memory error: 
      0 in 108 packets (all packets)
Configuration error: 
      0 in 108 packets (all packets)
SDRAM CRC error: 
      0 in 108 packets (all packets)
Radio gain: 
      0 in 108 packets (all packets)
Radio bandwidth: 
      0 in 108 packets (all packets)
Digital gain: 
      0 in 108 packets (all packets)
Analog gain: 
      0 in 108 packets (all packets)
 
SURVEY DATA READER
-- File 20210803_064040_1227.dat, 6 SL data blocks found. Extra packets: 0.
--
Data structure of blocks of survey data packets:

 - Block number: 1 from the sequence of 18 packets.
   Block numbers in the data:
      1 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.0645628 to 8.0648518
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.5394390  -- OK for SL --
   MIU time from 2021-08-03T06:40:49.198.682.000 to 2021-08-03T06:40:49.198.971.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.539485

 - Block number: 2 from the sequence of 18 packets.
   Block numbers in the data:
      2 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.6042908 to 22.6045798
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.5295670  -- OK for SL --
   MIU time from 2021-08-03T06:41:03.738.456.000 to 2021-08-03T06:41:03.738.745.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.529644

 - Block number: 3 from the sequence of 18 packets.
   Block numbers in the data:
      3 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.1341468 to 45.1344358
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.5197590  -- OK for SL --
   MIU time from 2021-08-03T06:41:26.268.389.000 to 2021-08-03T06:41:26.268.678.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.519776

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.6541948 to 50.6544838
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.2398230  -- OK for SL --
   MIU time from 2021-08-03T06:41:31.788.454.000 to 2021-08-03T06:41:31.788.743.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.239882

 - Block number: 5 from the sequence of 18 packets.
   Block numbers in the data:
      5 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 67.8943068 to 67.8945958
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.3499030  -- OK for SL --
   MIU time from 2021-08-03T06:41:49.028.625.000 to 2021-08-03T06:41:49.028.914.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.349937

 - Block number: 6 from the sequence of 18 packets.
   Block numbers in the data:
      6 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 78.2444988 to 78.2447878
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T06:41:59.378.851.000 to 2021-08-03T06:41:59.379.140.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 108 points based on 89 XO calibration points at 1Hz counter from 0 to 88
   --- First point: 1Hz counter = 6, 32bit 10MHz counter = 8.064562800 corrected by 40bit 10MHz counter of 7.865880200 obtained at 1Hz counter of 6. Result: 6.198683256
--
   MIU or XO time of the 1st SL sample = header (MIU or corrected XO) time +offset(if negative) - 275 ns delay
   Samplig frequency correction factor in all SL packets: 0.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-03T06:40:49.198.541.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T06:41:59.378.999.725
   Min 1st sample XO time among all SL packets: 6.198542980
   Max 1st sample XO time among all SL packets: 76.379001614
   TM values from -292 to 262 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T06:40:49.198.541.725 (XO: 6.198542980 - 6.198848981, t=37.2 degC)  Rank: 00077
   TM values: Max =   215  Min =  -270  Ave =    -4.43  Std =    27.60
   Min TM value:-270 at an offset of 171.176 usec -> 2021-08-03T06:40:49.198.712.900 (XO: 6.198714156)
   Max TM value:215 at an offset of 111.188 usec -> 2021-08-03T06:40:49.198.652.912 (XO: 6.198654168)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 173.513 usec -> 2021-08-03T06:40:49.198.715.238 (XO: 6.198716493)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 157.363 usec -> 2021-08-03T06:40:49.198.699.088 (XO: 6.198700343)

 - Block number: 2 starting at 2021-08-03T06:41:03.738.315.725 (XO: 20.738319335 - 20.738625336, t=37.2 degC)  Rank: 00071
   TM values: Max =   248  Min =  -268  Ave =    -4.37  Std =    30.48
   Min TM value:-268 at an offset of 165.413 usec -> 2021-08-03T06:41:03.738.481.138 (XO: 20.738484748)
   Max TM value:248 at an offset of 123.138 usec -> 2021-08-03T06:41:03.738.438.862 (XO: 20.738442473)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 167.963 usec -> 2021-08-03T06:41:03.738.483.688 (XO: 20.738487298)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 120.275 usec -> 2021-08-03T06:41:03.738.436.000 (XO: 20.738439611)

 - Block number: 3 starting at 2021-08-03T06:41:26.268.248.725 (XO: 43.268250410 - 43.268556411, t=37.2 degC)  Rank: 00079
   TM values: Max =   240  Min =  -231  Ave =    -4.40  Std =    19.19
   Min TM value:-231 at an offset of 108.113 usec -> 2021-08-03T06:41:26.268.356.837 (XO: 43.268358523)
   Max TM value:240 at an offset of 110.863 usec -> 2021-08-03T06:41:26.268.359.587 (XO: 43.268361273)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 110.725 usec -> 2021-08-03T06:41:26.268.359.450 (XO: 43.268361136)
   Min dTM/dt [1/us]:-1.71e+03 at an offset of 108.000 usec -> 2021-08-03T06:41:26.268.356.725 (XO: 43.268358411)

 - Block number: 4 starting at 2021-08-03T06:41:31.788.313.725 (XO: 48.788316726 - 48.788622727, t=37.2 degC)  Rank: 00077
   TM values: Max =   249  Min =  -261  Ave =    -4.51  Std =    30.09
   Min TM value:-261 at an offset of 166.651 usec -> 2021-08-03T06:41:31.788.480.375 (XO: 48.788483377)
   Max TM value:249 at an offset of 111.175 usec -> 2021-08-03T06:41:31.788.424.900 (XO: 48.788427902)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 151.213 usec -> 2021-08-03T06:41:31.788.464.937 (XO: 48.788467939)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 166.513 usec -> 2021-08-03T06:41:31.788.480.238 (XO: 48.788483239)

 - Block number: 5 starting at 2021-08-03T06:41:49.028.484.725 (XO: 66.028486119 - 66.028792120, t=37.2 degC)  Rank: 00075
   TM values: Max =   262  Min =  -232  Ave =    -4.41  Std =    29.63
   Min TM value:-232 at an offset of 210.701 usec -> 2021-08-03T06:41:49.028.695.425 (XO: 66.028696820)
   Max TM value:262 at an offset of 183.363 usec -> 2021-08-03T06:41:49.028.668.088 (XO: 66.028669482)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 111.775 usec -> 2021-08-03T06:41:49.028.596.500 (XO: 66.028597894)
   Min dTM/dt [1/us]:-1.87e+03 at an offset of 210.563 usec -> 2021-08-03T06:41:49.028.695.288 (XO: 66.028696682)

 - Block number: 6 starting at 2021-08-03T06:41:59.378.710.725 (XO: 76.378712613 - 76.379018614, t=37.2 degC)  Rank: 00081
   TM values: Max =   241  Min =  -292  Ave =    -4.31  Std =    25.38
   Min TM value:-292 at an offset of 110.963 usec -> 2021-08-03T06:41:59.378.821.687 (XO: 76.378823576)
   Max TM value:241 at an offset of 110.700 usec -> 2021-08-03T06:41:59.378.821.425 (XO: 76.378823313)
   Max dTM/dt [1/us]:2.54e+03 at an offset of 113.363 usec -> 2021-08-03T06:41:59.378.824.087 (XO: 76.378825976)
   Min dTM/dt [1/us]:-2.44e+03 at an offset of 110.825 usec -> 2021-08-03T06:41:59.378.821.550 (XO: 76.378823438)
