-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Jun  1 00:03:31 2023 UTC
-- File 20230531_081622_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 11.415638 to 44.873628
-each separately from 11s to 44s and from 415638us to 873628us.
   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, ...
      7.126680 in 1 packets: 18
      26.330443 in 1 packets: 36
MIU packet time from 2023-05-31T08:16:36.415.638.000 to 2023-05-31T08:17:09.873.628.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, ...
      7.126680 in 1 packets: 18
      26.330443 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 12.4195776 to 45.4194611
   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, ...
      6.9999753 in 1 packets: 18
      25.9999082 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 53.7 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 18 packets: 37, 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 20230531_081622_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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.8352172 to 12.8355062
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.1266550  -- OK for SL --
   MIU time from 2023-05-31T08:16:36.415.638.000 to 2023-05-31T08:16:36.415.927.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.126680

 - 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:
      420 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.9621612 to 19.9624502
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.3303510  -- OK for SL --
   MIU time from 2023-05-31T08:16:43.542.607.000 to 2023-05-31T08:16:43.542.896.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.330443

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.2928012 to 46.2930902
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-31T08:17:09.873.339.000 to 2023-05-31T08:17:09.873.628.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 = 11, 32bit 10MHz counter = 12.835217200 corrected by 40bit 10MHz counter of 12.419577600 obtained at 1Hz counter of 11. Result: 11.415641013
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2023-05-31T08:16:36.415.497.725
   Max 1st sample MIU time among all SL packets: 2023-05-31T08:17:09.873.487.725
   Min 1st sample XO time among all SL packets: 11.415500738
   Max 1st sample XO time among all SL packets: 44.873491882
   TM values from -447 to 490 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-31T08:16:36.415.497.725 (XO: 11.415500738 - 11.415806739, t=42.0 degC)  Rank: 00073
   TM values: Max =   219  Min =  -236  Ave =    -4.44  Std =    25.58
   Min TM value:-236 at an offset of 89.988 usec -> 2023-05-31T08:16:36.415.587.712 (XO: 11.415590726)
   Max TM value:219 at an offset of 149.138 usec -> 2023-05-31T08:16:36.415.646.863 (XO: 11.415649876)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 92.350 usec -> 2023-05-31T08:16:36.415.590.075 (XO: 11.415593088)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 149.238 usec -> 2023-05-31T08:16:36.415.646.963 (XO: 11.415649976)

 - Block number: 2 starting at 2023-05-31T08:16:43.542.466.725 (XO: 18.542469924 - 18.542775925, t=42.0 degC)  Rank: 00420
   TM values: Max =   490  Min =  -447  Ave =    -5.54  Std =    80.24
   Min TM value:-447 at an offset of 133.163 usec -> 2023-05-31T08:16:43.542.599.887 (XO: 18.542603087)
   Max TM value:490 at an offset of 126.838 usec -> 2023-05-31T08:16:43.542.593.562 (XO: 18.542596762)
   Max dTM/dt [1/us]:1.53e+03 at an offset of 198.801 usec -> 2023-05-31T08:16:43.542.665.525 (XO: 18.542668724)
   Min dTM/dt [1/us]:-1.44e+03 at an offset of 152.563 usec -> 2023-05-31T08:16:43.542.619.288 (XO: 18.542622487)

 - Block number: 3 starting at 2023-05-31T08:17:09.873.198.725 (XO: 44.873202881 - 44.873508882, t=42.0 degC)  Rank: 00069
   TM values: Max =   208  Min =  -256  Ave =    -4.41  Std =    21.48
   Min TM value:-256 at an offset of 132.150 usec -> 2023-05-31T08:17:09.873.330.875 (XO: 44.873335032)
   Max TM value:208 at an offset of 129.638 usec -> 2023-05-31T08:17:09.873.328.362 (XO: 44.873332519)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 132.250 usec -> 2023-05-31T08:17:09.873.330.975 (XO: 44.873335132)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 129.738 usec -> 2023-05-31T08:17:09.873.328.462 (XO: 44.873332619)
