-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri May 12 01:01:10 2023 UTC
-- File 20230511_225856_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 4.380252 to 52.887548
-each separately from 4s to 52s and from 380252us to 887548us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.002920 in 1 packets: 18
      12.015210 in 1 packets: 36
      16.488010 in 1 packets: 54
MIU packet time from 2023-05-11T22:59:03.380.252.000 to 2023-05-11T22:59:51.887.548.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.002920 in 1 packets: 18
      12.015210 in 1 packets: 36
      16.488010 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 5.8375879 to 53.8374131
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      19.9999272 in 1 packets: 18
      11.9999563 in 1 packets: 36
      15.9999417 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      03 -> 51.1 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C2 -> 38.8 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 37 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      3 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20230511_225856_1227.dat, 4 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:
      158 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.2178408 to 6.2181298
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.0028470  -- OK for SL --
   MIU time from 2023-05-11T22:59:03.380.252.000 to 2023-05-11T22:59:03.380.541.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.002920

 - 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:
      49 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.2209768 to 26.2212658
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.0151670  -- OK for SL --
   MIU time from 2023-05-11T22:59:23.383.461.000 to 2023-05-11T22:59:23.383.750.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.015210

 - 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:
      55 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.2364328 to 38.2367218
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.4879510  -- OK for SL --
   MIU time from 2023-05-11T22:59:35.398.960.000 to 2023-05-11T22:59:35.399.249.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.488010

 - 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:
      93 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.7246728 to 54.7249618
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-11T22:59:51.887.259.000 to 2023-05-11T22:59:51.887.548.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 4, 32bit 10MHz counter = 6.217840800 corrected by 40bit 10MHz counter of 5.837587900 obtained at 1Hz counter of 4. Result: 4.380254307
--
   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.999996300 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2023-05-11T22:59:03.380.111.725
   Max 1st sample MIU time among all SL packets: 2023-05-11T22:59:51.887.407.725
   Min 1st sample XO time among all SL packets: 4.380114031
   Max 1st sample XO time among all SL packets: 52.887411708
   TM values from -376 to 607 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-11T22:59:03.380.111.725 (XO: 4.380114031 - 4.380420033, t=38.8 degC)  Rank: 00158
   TM values: Max =   308  Min =  -376  Ave =    -4.55  Std =    40.22
   Min TM value:-376 at an offset of 102.475 usec -> 2023-05-11T22:59:03.380.214.200 (XO: 4.380216507)
   Max TM value:308 at an offset of 104.475 usec -> 2023-05-11T22:59:03.380.216.200 (XO: 4.380218507)
   Max dTM/dt [1/us]:2.23e+03 at an offset of 98.938 usec -> 2023-05-11T22:59:03.380.210.662 (XO: 4.380212969)
   Min dTM/dt [1/us]:-2.59e+03 at an offset of 102.863 usec -> 2023-05-11T22:59:03.380.214.587 (XO: 4.380216894)

 - Block number: 2 starting at 2023-05-11T22:59:23.383.320.725 (XO: 24.383322843 - 24.383628844, t=38.8 degC)  Rank: 00049
   TM values: Max =   165  Min =  -172  Ave =    -4.48  Std =    16.53
   Min TM value:-172 at an offset of 117.113 usec -> 2023-05-11T22:59:23.383.437.837 (XO: 24.383439956)
   Max TM value:165 at an offset of 89.650 usec -> 2023-05-11T22:59:23.383.410.375 (XO: 24.383412494)
   Max dTM/dt [1/us]:1.28e+03 at an offset of 89.550 usec -> 2023-05-11T22:59:23.383.410.275 (XO: 24.383412394)
   Min dTM/dt [1/us]:-1.65e+03 at an offset of 117.000 usec -> 2023-05-11T22:59:23.383.437.725 (XO: 24.383439844)

 - Block number: 3 starting at 2023-05-11T22:59:35.398.819.725 (XO: 36.398822601 - 36.399128602, t=38.8 degC)  Rank: 00055
   TM values: Max =   181  Min =  -268  Ave =    -4.49  Std =    20.91
   Min TM value:-268 at an offset of 109.388 usec -> 2023-05-11T22:59:35.398.929.112 (XO: 36.398931989)
   Max TM value:181 at an offset of 110.500 usec -> 2023-05-11T22:59:35.398.930.225 (XO: 36.398933101)
   Max dTM/dt [1/us]:1.65e+03 at an offset of 100.850 usec -> 2023-05-11T22:59:35.398.920.575 (XO: 36.398923451)
   Min dTM/dt [1/us]:-1.47e+03 at an offset of 108.763 usec -> 2023-05-11T22:59:35.398.928.487 (XO: 36.398931364)

 - Block number: 4 starting at 2023-05-11T22:59:51.887.118.725 (XO: 52.887122707 - 52.887428708, t=38.8 degC)  Rank: 00093
   TM values: Max =   607  Min =  -204  Ave =    -4.60  Std =    38.02
   Min TM value:-204 at an offset of 135.000 usec -> 2023-05-11T22:59:51.887.253.725 (XO: 52.887257708)
   Max TM value:607 at an offset of 107.438 usec -> 2023-05-11T22:59:51.887.226.162 (XO: 52.887230145)
   Max dTM/dt [1/us]:2.29e+03 at an offset of 107.350 usec -> 2023-05-11T22:59:51.887.226.075 (XO: 52.887230058)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 107.525 usec -> 2023-05-11T22:59:51.887.226.250 (XO: 52.887230233)
