-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 15:24:03 2023 UTC
-- File 20220710_045130_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 2.422413 to 36.562681
-each separately from 2s to 36s and from 422413us to 562681us.
   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, ...
      25.129721 in 1 packets: 18
      9.009680 in 1 packets: 36
MIU packet time from 2022-07-10T04:51:35.422.413.000 to 2022-07-10T04:52:09.562.681.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, ...
      25.129721 in 1 packets: 18
      9.009680 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 3.7475617 to 37.7474383
   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, ...
      24.9999093 in 1 packets: 18
      8.9999673 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 degC in 54 packets (all packets)
Temperature XO: 
      C2 -> 38.8 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: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 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 20220710_045130_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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.1699754 to 4.1702644
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.1296310  -- OK for SL --
   MIU time from 2022-07-10T04:51:35.422.413.000 to 2022-07-10T04:51:35.422.702.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.129721

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.2998954 to 29.3001844
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.0096470  -- OK for SL --
   MIU time from 2022-07-10T04:52:00.552.423.000 to 2022-07-10T04:52:00.552.712.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.009680

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.3098314 to 38.3101204
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-10T04:52:09.562.392.000 to 2022-07-10T04:52:09.562.681.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 = 2, 32bit 10MHz counter = 4.169975400 corrected by 40bit 10MHz counter of 3.747561700 obtained at 1Hz counter of 2. Result: 2.422415221
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-07-10T04:51:35.422.272.725
   Max 1st sample MIU time among all SL packets: 2022-07-10T04:52:09.562.540.725
   Min 1st sample XO time among all SL packets: 2.422274945
   Max 1st sample XO time among all SL packets: 36.562543850
   TM values from -273 to 244 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-10T04:51:35.422.272.725 (XO: 2.422274945 - 2.422580946, t=38.8 degC)  Rank: 00070
   TM values: Max =   244  Min =  -262  Ave =    -4.57  Std =    42.90
   Min TM value:-262 at an offset of 108.000 usec -> 2022-07-10T04:51:35.422.380.725 (XO: 2.422382946)
   Max TM value:244 at an offset of 125.113 usec -> 2022-07-10T04:51:35.422.397.837 (XO: 2.422400058)
   Max dTM/dt [1/us]:2.50e+03 at an offset of 151.026 usec -> 2022-07-10T04:51:35.422.423.750 (XO: 2.422425971)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 125.238 usec -> 2022-07-10T04:51:35.422.397.962 (XO: 2.422400183)

 - Block number: 2 starting at 2022-07-10T04:52:00.552.282.725 (XO: 27.552286113 - 27.552592114, t=38.8 degC)  Rank: 00083
   TM values: Max =   236  Min =  -273  Ave =    -4.34  Std =    28.45
   Min TM value:-273 at an offset of 107.375 usec -> 2022-07-10T04:52:00.552.390.100 (XO: 27.552393489)
   Max TM value:236 at an offset of 109.738 usec -> 2022-07-10T04:52:00.552.392.462 (XO: 27.552395851)
   Max dTM/dt [1/us]:2.51e+03 at an offset of 105.200 usec -> 2022-07-10T04:52:00.552.387.925 (XO: 27.552391314)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 107.238 usec -> 2022-07-10T04:52:00.552.389.962 (XO: 27.552393351)

 - Block number: 3 starting at 2022-07-10T04:52:09.562.251.725 (XO: 36.562254849 - 36.562560850, t=38.8 degC)  Rank: 00082
   TM values: Max =   183  Min =  -247  Ave =    -4.39  Std =    28.27
   Min TM value:-247 at an offset of 121.575 usec -> 2022-07-10T04:52:09.562.373.300 (XO: 36.562376425)
   Max TM value:183 at an offset of 124.263 usec -> 2022-07-10T04:52:09.562.375.987 (XO: 36.562379112)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 121.700 usec -> 2022-07-10T04:52:09.562.373.425 (XO: 36.562376550)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 119.150 usec -> 2022-07-10T04:52:09.562.370.875 (XO: 36.562374000)
