-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Jun  1 06:36:34 2023 UTC
-- File 20230531_162342_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 9.278619 to 38.876770
-each separately from 9s to 38s and from 278619us to 876770us.
   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, ...
      6.517172 in 1 packets: 18
      23.080112 in 1 packets: 36
MIU packet time from 2023-05-31T16:23:54.278.619.000 to 2023-05-31T16:24:23.876.770.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, ...
      6.517172 in 1 packets: 18
      23.080112 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 10.8426698 to 39.8425683
   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, ...
      5.9999790 in 1 packets: 18
      22.9999195 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      00 -> 55.0 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C4 -> 42.0 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: 
      1 in 54 packets (all packets)
Number of generated alerts: 
      2 in 1 packets: 1
      3 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20230531_162342_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:
      113 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.1212904 to 11.1215794
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.5171510  -- OK for SL --
   MIU time from 2023-05-31T16:23:54.278.619.000 to 2023-05-31T16:23:54.278.908.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.517172

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.6387304 to 17.6390194
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.0800310  -- OK for SL --
   MIU time from 2023-05-31T16:24:00.796.080.000 to 2023-05-31T16:24:00.796.369.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.080112

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.7190504 to 40.7193394
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-31T16:24:23.876.481.000 to 2023-05-31T16:24:23.876.770.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 = 9, 32bit 10MHz counter = 11.121290400 corrected by 40bit 10MHz counter of 10.842669800 obtained at 1Hz counter of 9. Result: 9.278621575
--
   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-05-31T16:23:54.278.478.725
   Max 1st sample MIU time among all SL packets: 2023-05-31T16:24:23.876.629.725
   Min 1st sample XO time among all SL packets: 9.278481300
   Max 1st sample XO time among all SL packets: 38.876633893
   TM values from -1156 to 475 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-31T16:23:54.278.478.725 (XO: 9.278481300 - 9.278787301, t=42.0 degC)  Rank: 00113
   TM values: Max =   475  Min = -1156  Ave =    -4.66  Std =   101.24
   Min TM value:-1156 at an offset of 97.838 usec -> 2023-05-31T16:23:54.278.576.562 (XO: 9.278579138)
   Max TM value:475 at an offset of 301.426 usec -> 2023-05-31T16:23:54.278.780.151 (XO: 9.278782726)
   Max dTM/dt [1/us]:8.44e+03 at an offset of 5.613 usec -> 2023-05-31T16:23:54.278.484.337 (XO: 9.278486912)
   Min dTM/dt [1/us]:-7.54e+03 at an offset of 97.788 usec -> 2023-05-31T16:23:54.278.576.512 (XO: 9.278579088)

 - Block number: 2 starting at 2023-05-31T16:24:00.795.939.725 (XO: 15.795944111 - 15.796250112, t=42.0 degC)  Rank: 00073
   TM values: Max =   186  Min =  -211  Ave =    -4.40  Std =    17.83
   Min TM value:-211 at an offset of 114.313 usec -> 2023-05-31T16:24:00.796.054.037 (XO: 15.796058424)
   Max TM value:186 at an offset of 119.275 usec -> 2023-05-31T16:24:00.796.059.000 (XO: 15.796063386)
   Max dTM/dt [1/us]:1.67e+03 at an offset of 116.925 usec -> 2023-05-31T16:24:00.796.056.650 (XO: 15.796061036)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 101.850 usec -> 2023-05-31T16:24:00.796.041.575 (XO: 15.796045961)

 - Block number: 3 starting at 2023-05-31T16:24:23.876.340.725 (XO: 38.876344892 - 38.876650893, t=42.0 degC)  Rank: 00074
   TM values: Max =   206  Min =  -248  Ave =    -4.50  Std =    19.08
   Min TM value:-248 at an offset of 80.100 usec -> 2023-05-31T16:24:23.876.420.825 (XO: 38.876424992)
   Max TM value:206 at an offset of 85.075 usec -> 2023-05-31T16:24:23.876.425.800 (XO: 38.876429968)
   Max dTM/dt [1/us]:1.69e+03 at an offset of 82.638 usec -> 2023-05-31T16:24:23.876.423.362 (XO: 38.876427530)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 67.638 usec -> 2023-05-31T16:24:23.876.408.362 (XO: 38.876412530)
