-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 19:52:03 2023 UTC
-- File 20220112_061859_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 8.579596 to 43.829481
-each separately from 8s to 43s and from 579596us to 829481us.
   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, ...
      15.144244 in 1 packets: 18
      20.104774 in 1 packets: 36
MIU packet time from 2022-01-12T06:19:10.579.596.000 to 2022-01-12T06:19:45.829.481.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, ...
      15.144244 in 1 packets: 18
      20.104774 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 9.4359822 to 44.4358577
   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, ...
      14.9999466 in 1 packets: 18
      19.9999289 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
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 20220112_061859_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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.0155787 to 10.0158677
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.1441910  -- OK for SL --
   MIU time from 2022-01-12T06:19:10.579.596.000 to 2022-01-12T06:19:10.579.885.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.144244

 - 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:
      64 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.1600587 to 25.1603477
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.1047030  -- OK for SL --
   MIU time from 2022-01-12T06:19:25.724.129.000 to 2022-01-12T06:19:25.724.418.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.104774

 - 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:
      62 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.2650507 to 45.2653397
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-12T06:19:45.829.192.000 to 2022-01-12T06:19:45.829.481.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 = 8, 32bit 10MHz counter = 10.015578700 corrected by 40bit 10MHz counter of 9.435982200 obtained at 1Hz counter of 8. Result: 8.579598587
--
   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-01-12T06:19:10.579.455.725
   Max 1st sample MIU time among all SL packets: 2022-01-12T06:19:45.829.340.725
   Min 1st sample XO time among all SL packets: 8.579458311
   Max 1st sample XO time among all SL packets: 43.829344711
   TM values from -226 to 194 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-12T06:19:10.579.455.725 (XO: 8.579458311 - 8.579764312, t=37.2 degC)  Rank: 00072
   TM values: Max =   124  Min =  -131  Ave =    -4.53  Std =    48.27
   Min TM value:-131 at an offset of 124.738 usec -> 2022-01-12T06:19:10.579.580.462 (XO: 8.579583049)
   Max TM value:124 at an offset of 129.850 usec -> 2022-01-12T06:19:10.579.585.575 (XO: 8.579588162)
   Max dTM/dt [1/us]:2.32e+03 at an offset of 136.950 usec -> 2022-01-12T06:19:10.579.592.675 (XO: 8.579595262)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 136.063 usec -> 2022-01-12T06:19:10.579.591.787 (XO: 8.579594374)

 - Block number: 2 starting at 2022-01-12T06:19:25.723.988.725 (XO: 23.723992159 - 23.724298160, t=37.2 degC)  Rank: 00064
   TM values: Max =   186  Min =  -226  Ave =    -4.61  Std =    29.50
   Min TM value:-226 at an offset of 128.313 usec -> 2022-01-12T06:19:25.724.117.037 (XO: 23.724120472)
   Max TM value:186 at an offset of 128.563 usec -> 2022-01-12T06:19:25.724.117.287 (XO: 23.724120722)
   Max dTM/dt [1/us]:2.71e+03 at an offset of 128.388 usec -> 2022-01-12T06:19:25.724.117.112 (XO: 23.724120547)
   Min dTM/dt [1/us]:-2.36e+03 at an offset of 126.013 usec -> 2022-01-12T06:19:25.724.114.737 (XO: 23.724118172)

 - Block number: 3 starting at 2022-01-12T06:19:45.829.051.725 (XO: 43.829055710 - 43.829361711, t=37.2 degC)  Rank: 00062
   TM values: Max =   194  Min =  -213  Ave =    -4.60  Std =    28.91
   Min TM value:-213 at an offset of 124.238 usec -> 2022-01-12T06:19:45.829.175.962 (XO: 43.829179948)
   Max TM value:194 at an offset of 123.975 usec -> 2022-01-12T06:19:45.829.175.700 (XO: 43.829179685)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 126.538 usec -> 2022-01-12T06:19:45.829.178.262 (XO: 43.829182248)
   Min dTM/dt [1/us]:-2.52e+03 at an offset of 126.313 usec -> 2022-01-12T06:19:45.829.178.037 (XO: 43.829182023)
