-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Jan  4 22:41:09 2024 UTC
-- File 20230720_113547_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 12.817232 to 41.793543
-each separately from 12s to 41s and from 793254us to 916914us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.099104 in 1 packets: 18
      23.876340 in 1 packets: 36
MIU packet time from 2023-07-20T11:36:02.817.232.000 to 2023-07-20T11:36:31.793.543.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.099104 in 1 packets: 18
      23.876340 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 13.8941334 to 42.8940312
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      4.9999824 in 1 packets: 18
      23.9999154 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      FF -> 56.3 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C5 -> 43.6 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      11 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      15 in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      35 in 1 packets: 37
      36 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      11 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      15 in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      36 in 1 packets: 37
      37 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20230720_113547_1227.dat, 3 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:
      153 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.7113669 to 14.7116559
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.0990870  -- OK for SL --
   MIU time from 2023-07-20T11:36:02.817.232.000 to 2023-07-20T11:36:02.817.521.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.099104

 - 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:
      118 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.8107429 to 19.8110319
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.8762550  -- OK for SL --
   MIU time from 2023-07-20T11:36:07.916.625.000 to 2023-07-20T11:36:07.916.914.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.876340

 - 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:
      165 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.6872869 to 43.6875759
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-07-20T11:36:31.793.254.000 to 2023-07-20T11:36:31.793.543.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 12, 32bit 10MHz counter = 14.711366900 corrected by 40bit 10MHz counter of 13.894133400 obtained at 1Hz counter of 12. Result: 12.817236360
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2023-07-20T11:36:02.817.091.725
   Max 1st sample MIU time among all SL packets: 2023-07-20T11:36:31.793.402.725
   Min 1st sample XO time among all SL packets: 12.817096085
   Max 1st sample XO time among all SL packets: 41.793407202
   TM values from -1067 to 1238 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-07-20T11:36:02.817.091.725 (XO: 12.817096085 - 12.817402086, t=43.6 degC)  Rank: 00153
   TM values: Max =  1218  Min = -1028  Ave =    -4.44  Std =    39.62
   Min TM value:-1028 at an offset of 46.963 usec -> 2023-07-20T11:36:02.817.138.687 (XO: 12.817143048)
   Max TM value:1218 at an offset of 46.700 usec -> 2023-07-20T11:36:02.817.138.425 (XO: 12.817142785)
   Max dTM/dt [1/us]:1.45e+04 at an offset of 46.638 usec -> 2023-07-20T11:36:02.817.138.362 (XO: 12.817142722)
   Min dTM/dt [1/us]:-1.47e+04 at an offset of 46.738 usec -> 2023-07-20T11:36:02.817.138.462 (XO: 12.817142822)

 - Block number: 2 starting at 2023-07-20T11:36:07.916.484.725 (XO: 17.916490033 - 17.916796034, t=43.6 degC)  Rank: 00118
   TM values: Max =  1184  Min = -1067  Ave =    -4.52  Std =    40.90
   Min TM value:-1067 at an offset of 49.450 usec -> 2023-07-20T11:36:07.916.534.175 (XO: 17.916539483)
   Max TM value:1184 at an offset of 49.563 usec -> 2023-07-20T11:36:07.916.534.287 (XO: 17.916539595)
   Max dTM/dt [1/us]:1.37e+04 at an offset of 49.500 usec -> 2023-07-20T11:36:07.916.534.225 (XO: 17.916539533)
   Min dTM/dt [1/us]:-1.42e+04 at an offset of 49.600 usec -> 2023-07-20T11:36:07.916.534.325 (XO: 17.916539633)

 - Block number: 3 starting at 2023-07-20T11:36:31.793.113.725 (XO: 41.793118201 - 41.793424202, t=43.6 degC)  Rank: 00165
   TM values: Max =  1238  Min = -1067  Ave =    -4.38  Std =    45.77
   Min TM value:-1067 at an offset of 116.663 usec -> 2023-07-20T11:36:31.793.230.387 (XO: 41.793234864)
   Max TM value:1238 at an offset of 116.775 usec -> 2023-07-20T11:36:31.793.230.500 (XO: 41.793234976)
   Max dTM/dt [1/us]:1.52e+04 at an offset of 116.713 usec -> 2023-07-20T11:36:31.793.230.437 (XO: 41.793234914)
   Min dTM/dt [1/us]:-1.39e+04 at an offset of 116.813 usec -> 2023-07-20T11:36:31.793.230.537 (XO: 41.793235014)
