-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 13:42:08 2023 UTC
-- File 20220106_131056_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 3.840771 to 31.520882
-each separately from 3s to 31s and from 520593us to 841060us.
   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, ...
      11.999559 in 1 packets: 18
      15.679685 in 1 packets: 36
MIU packet time from 2022-01-06T13:11:02.840.771.000 to 2022-01-06T13:11:30.520.882.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, ...
      11.999559 in 1 packets: 18
      15.679685 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 4.5759044 to 32.5758103
   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, ...
      11.9999596 in 1 packets: 18
      15.9999463 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 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 20220106_131056_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 5.4166761 to 5.4169651
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.9995190  -- OK for SL --
   MIU time from 2022-01-06T13:11:02.840.771.000 to 2022-01-06T13:11:02.841.060.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.999559

 - 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:
      57 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.4164841 to 17.4167731
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.6796310  -- OK for SL --
   MIU time from 2022-01-06T13:11:14.840.619.000 to 2022-01-06T13:11:14.840.908.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.679685

 - 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:
      60 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.0964041 to 33.0966931
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-06T13:11:30.520.593.000 to 2022-01-06T13:11:30.520.882.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 = 3, 32bit 10MHz counter = 5.416676100 corrected by 40bit 10MHz counter of 4.575904400 obtained at 1Hz counter of 3. Result: 3.840774559
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2022-01-06T13:11:02.840.630.725
   Max 1st sample MIU time among all SL packets: 2022-01-06T13:11:30.520.741.725
   Min 1st sample XO time among all SL packets: 3.840634283
   Max 1st sample XO time among all SL packets: 31.520744243
   TM values from -163 to 164 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-06T13:11:02.840.630.725 (XO: 3.840634283 - 3.840940284, t=37.2 degC)  Rank: 00056
   TM values: Max =   164  Min =  -163  Ave =    -4.61  Std =    16.88
   Min TM value:-163 at an offset of 114.450 usec -> 2022-01-06T13:11:02.840.745.175 (XO: 3.840748734)
   Max TM value:164 at an offset of 113.863 usec -> 2022-01-06T13:11:02.840.744.587 (XO: 3.840748146)
   Max dTM/dt [1/us]:1.42e+03 at an offset of 113.763 usec -> 2022-01-06T13:11:02.840.744.487 (XO: 3.840748046)
   Min dTM/dt [1/us]:-1.10e+03 at an offset of 116.150 usec -> 2022-01-06T13:11:02.840.746.875 (XO: 3.840750434)

 - Block number: 2 starting at 2022-01-06T13:11:14.840.478.725 (XO: 15.840482599 - 15.840788600, t=37.2 degC)  Rank: 00057
   TM values: Max =   140  Min =  -157  Ave =    -4.62  Std =    19.07
   Min TM value:-157 at an offset of 124.738 usec -> 2022-01-06T13:11:14.840.603.462 (XO: 15.840607337)
   Max TM value:140 at an offset of 179.401 usec -> 2022-01-06T13:11:14.840.658.125 (XO: 15.840661999)
   Max dTM/dt [1/us]:1.10e+03 at an offset of 179.288 usec -> 2022-01-06T13:11:14.840.658.013 (XO: 15.840661887)
   Min dTM/dt [1/us]:-1.29e+03 at an offset of 179.526 usec -> 2022-01-06T13:11:14.840.658.250 (XO: 15.840662124)

 - Block number: 3 starting at 2022-01-06T13:11:30.520.452.725 (XO: 31.520455243 - 31.520761244, t=37.2 degC)  Rank: 00060
   TM values: Max =   140  Min =  -149  Ave =    -4.48  Std =    17.23
   Min TM value:-149 at an offset of 125.963 usec -> 2022-01-06T13:11:30.520.578.687 (XO: 31.520581205)
   Max TM value:140 at an offset of 125.400 usec -> 2022-01-06T13:11:30.520.578.125 (XO: 31.520580643)
   Max dTM/dt [1/us]:1.12e+03 at an offset of 128.013 usec -> 2022-01-06T13:11:30.520.580.737 (XO: 31.520583255)
   Min dTM/dt [1/us]:-1.38e+03 at an offset of 185.738 usec -> 2022-01-06T13:11:30.520.638.463 (XO: 31.520640981)
