-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 16 13:44:57 2023 UTC
-- File 20220610_145344_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 0.266588 to 31.088028
-each separately from 0s to 31s and from 87739us to 977828us.
   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, ...
      29.710662 in 1 packets: 18
      1.109911 in 1 packets: 36
MIU packet time from 2022-06-10T14:53:47.266.588.000 to 2022-06-10T14:54:18.088.028.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, ...
      29.710662 in 1 packets: 18
      1.109911 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 1.6871190 to 32.6870080
   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, ...
      28.9998961 in 1 packets: 18
      1.9999929 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 54 packets (all packets)
Temperature XO: 
      C4 -> 42.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C5 -> 43.6 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20220610_145344_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.9537083 to 1.9539973
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 29.7105590  -- OK for SL --
   MIU time from 2022-06-10T14:53:47.266.588.000 to 2022-06-10T14:53:47.266.877.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 29.710662

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.6645563 to 31.6648453
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.1099030  -- OK for SL --
   MIU time from 2022-06-10T14:54:16.977.539.000 to 2022-06-10T14:54:16.977.828.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.109911

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.7747483 to 32.7750373
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-10T14:54:18.087.739.000 to 2022-06-10T14:54:18.088.028.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 = 0, 32bit 10MHz counter = 1.953708300 corrected by 40bit 10MHz counter of 1.687119000 obtained at 1Hz counter of 0. Result: 0.266590233
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2022-06-10T14:53:47.266.447.725
   Max 1st sample MIU time among all SL packets: 2022-06-10T14:54:18.087.887.725
   Min 1st sample XO time among all SL packets: 0.266449958
   Max 1st sample XO time among all SL packets: 31.087889341
   TM values from -264 to 253 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-10T14:53:47.266.447.725 (XO: 0.266449958 - 0.266755959, t=42.0 degC)  Rank: 00085
   TM values: Max =   206  Min =  -246  Ave =    -4.32  Std =    27.01
   Min TM value:-246 at an offset of 118.500 usec -> 2022-06-10T14:53:47.266.566.225 (XO: 0.266568458)
   Max TM value:206 at an offset of 120.875 usec -> 2022-06-10T14:53:47.266.568.600 (XO: 0.266570833)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 120.763 usec -> 2022-06-10T14:53:47.266.568.487 (XO: 0.266570720)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 123.225 usec -> 2022-06-10T14:53:47.266.570.950 (XO: 0.266573183)

 - Block number: 2 starting at 2022-06-10T14:54:16.977.398.725 (XO: 29.977404346 - 29.977710347, t=42.0 degC)  Rank: 00079
   TM values: Max =   253  Min =  -264  Ave =    -4.45  Std =    34.91
   Min TM value:-264 at an offset of 252.688 usec -> 2022-06-10T14:54:16.977.651.413 (XO: 29.977657034)
   Max TM value:253 at an offset of 124.000 usec -> 2022-06-10T14:54:16.977.522.725 (XO: 29.977528346)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 165.113 usec -> 2022-06-10T14:54:16.977.563.838 (XO: 29.977569459)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 162.688 usec -> 2022-06-10T14:54:16.977.561.413 (XO: 29.977567034)

 - Block number: 3 starting at 2022-06-10T14:54:18.087.598.725 (XO: 31.087600340 - 31.087906341, t=43.6 degC)  Rank: 00081
   TM values: Max =   220  Min =  -249  Ave =    -4.40  Std =    25.81
   Min TM value:-249 at an offset of 134.163 usec -> 2022-06-10T14:54:18.087.732.887 (XO: 31.087734503)
   Max TM value:220 at an offset of 150.013 usec -> 2022-06-10T14:54:18.087.748.738 (XO: 31.087750353)
   Max dTM/dt [1/us]:2.15e+03 at an offset of 149.888 usec -> 2022-06-10T14:54:18.087.748.613 (XO: 31.087750228)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 134.050 usec -> 2022-06-10T14:54:18.087.732.775 (XO: 31.087734391)
