-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 19:17:33 2023 UTC
-- File 20220110_064211_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.041126 to 32.042413
-each separately from 8s to 32s and from 41126us to 301729us.
   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.260025 in 1 packets: 18
      16.740395 in 1 packets: 36
MIU packet time from 2022-01-10T06:42:22.041.126.000 to 2022-01-10T06:42:46.042.413.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.260025 in 1 packets: 18
      16.740395 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.4301114 to 33.4300254
   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.9999748 in 1 packets: 18
      16.9999392 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 20220110_064211_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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.4712389 to 9.4715279
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.2599990  -- OK for SL --
   MIU time from 2022-01-10T06:42:22.041.126.000 to 2022-01-10T06:42:22.041.415.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.260025

 - 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:
      59 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.7315269 to 16.7318159
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.7403350  -- OK for SL --
   MIU time from 2022-01-10T06:42:29.301.440.000 to 2022-01-10T06:42:29.301.729.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.740395

 - 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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.4721509 to 33.4724399
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-10T06:42:46.042.124.000 to 2022-01-10T06:42:46.042.413.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 = 9.471238900 corrected by 40bit 10MHz counter of 9.430111400 obtained at 1Hz counter of 8. Result: 8.041127648
--
   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-10T06:42:22.040.985.725
   Max 1st sample MIU time among all SL packets: 2022-01-10T06:42:46.042.272.725
   Min 1st sample XO time among all SL packets: 8.040987373
   Max 1st sample XO time among all SL packets: 32.042274377
   TM values from -183 to 169 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-10T06:42:22.040.985.725 (XO: 8.040987373 - 8.041293374, t=37.2 degC)  Rank: 00056
   TM values: Max =   164  Min =  -182  Ave =    -4.50  Std =    20.28
   Min TM value:-182 at an offset of 123.063 usec -> 2022-01-10T06:42:22.041.108.787 (XO: 8.041110435)
   Max TM value:164 at an offset of 120.638 usec -> 2022-01-10T06:42:22.041.106.362 (XO: 8.041108010)
   Max dTM/dt [1/us]:1.47e+03 at an offset of 180.763 usec -> 2022-01-10T06:42:22.041.166.488 (XO: 8.041168136)
   Min dTM/dt [1/us]:-1.62e+03 at an offset of 180.563 usec -> 2022-01-10T06:42:22.041.166.288 (XO: 8.041167936)

 - Block number: 2 starting at 2022-01-10T06:42:29.301.299.725 (XO: 15.301301480 - 15.301607481, t=37.2 degC)  Rank: 00059
   TM values: Max =   126  Min =  -183  Ave =    -4.56  Std =    22.53
   Min TM value:-183 at an offset of 152.926 usec -> 2022-01-10T06:42:29.301.452.650 (XO: 15.301454405)
   Max TM value:126 at an offset of 77.750 usec -> 2022-01-10T06:42:29.301.377.475 (XO: 15.301379230)
   Max dTM/dt [1/us]:1.50e+03 at an offset of 122.400 usec -> 2022-01-10T06:42:29.301.422.125 (XO: 15.301423880)
   Min dTM/dt [1/us]:-1.65e+03 at an offset of 152.851 usec -> 2022-01-10T06:42:29.301.452.575 (XO: 15.301454330)

 - Block number: 3 starting at 2022-01-10T06:42:46.041.983.725 (XO: 32.041985376 - 32.042291377, t=37.2 degC)  Rank: 00056
   TM values: Max =   169  Min =  -164  Ave =    -4.69  Std =    16.23
   Min TM value:-164 at an offset of 110.700 usec -> 2022-01-10T06:42:46.042.094.425 (XO: 32.042096077)
   Max TM value:169 at an offset of 108.250 usec -> 2022-01-10T06:42:46.042.091.975 (XO: 32.042093627)
   Max dTM/dt [1/us]:1.60e+03 at an offset of 110.825 usec -> 2022-01-10T06:42:46.042.094.550 (XO: 32.042096202)
   Min dTM/dt [1/us]:-1.62e+03 at an offset of 108.338 usec -> 2022-01-10T06:42:46.042.092.062 (XO: 32.042093714)
