-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 07:39:29 2023 UTC
-- File 20220128_025117_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 2.236420 to 30.269818
-each separately from 2s to 30s and from 236420us to 690432us.
   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, ...
      25.453434 in 1 packets: 18
      2.579097 in 1 packets: 36
MIU packet time from 2022-01-28T02:51:22.236.420.000 to 2022-01-28T02:51:50.269.818.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, ...
      25.453434 in 1 packets: 18
      2.579097 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 3.6929663 to 31.6928648
   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, ...
      24.9999093 in 1 packets: 18
      2.9999892 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 20220128_025117_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:
      62 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.9293868 to 3.9296758
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.4533430  -- OK for SL --
   MIU time from 2022-01-28T02:51:22.236.420.000 to 2022-01-28T02:51:22.236.709.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.453434

 - 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:
      67 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.3830188 to 29.3833078
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.5790870  -- OK for SL --
   MIU time from 2022-01-28T02:51:47.690.143.000 to 2022-01-28T02:51:47.690.432.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.579097

 - 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:
      67 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.9623948 to 31.9626838
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-28T02:51:50.269.529.000 to 2022-01-28T02:51:50.269.818.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 = 2, 32bit 10MHz counter = 3.929386800 corrected by 40bit 10MHz counter of 3.692966300 obtained at 1Hz counter of 2. Result: 2.236421375
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-01-28T02:51:22.236.279.725
   Max 1st sample MIU time among all SL packets: 2022-01-28T02:51:50.269.677.725
   Min 1st sample XO time among all SL packets: 2.236281099
   Max 1st sample XO time among all SL packets: 30.269679723
   TM values from -196 to 152 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-28T02:51:22.236.279.725 (XO: 2.236281099 - 2.236587100, t=37.2 degC)  Rank: 00062
   TM values: Max =   123  Min =  -185  Ave =    -4.55  Std =    18.07
   Min TM value:-185 at an offset of 97.400 usec -> 2022-01-28T02:51:22.236.377.125 (XO: 2.236378500)
   Max TM value:123 at an offset of 107.438 usec -> 2022-01-28T02:51:22.236.387.162 (XO: 2.236388537)
   Max dTM/dt [1/us]:1.19e+03 at an offset of 111.725 usec -> 2022-01-28T02:51:22.236.391.450 (XO: 2.236392825)
   Min dTM/dt [1/us]:-1.38e+03 at an offset of 97.288 usec -> 2022-01-28T02:51:22.236.377.012 (XO: 2.236378387)

 - Block number: 2 starting at 2022-01-28T02:51:47.690.002.725 (XO: 27.690005409 - 27.690311410, t=37.2 degC)  Rank: 00067
   TM values: Max =   152  Min =  -196  Ave =    -4.46  Std =    22.79
   Min TM value:-196 at an offset of 119.925 usec -> 2022-01-28T02:51:47.690.122.650 (XO: 27.690125334)
   Max TM value:152 at an offset of 119.600 usec -> 2022-01-28T02:51:47.690.122.325 (XO: 27.690125009)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 122.200 usec -> 2022-01-28T02:51:47.690.124.925 (XO: 27.690127609)
   Min dTM/dt [1/us]:-1.59e+03 at an offset of 119.725 usec -> 2022-01-28T02:51:47.690.122.450 (XO: 27.690125134)

 - Block number: 3 starting at 2022-01-28T02:51:50.269.388.725 (XO: 30.269390722 - 30.269696723, t=37.2 degC)  Rank: 00067
   TM values: Max =   143  Min =  -174  Ave =    -4.46  Std =    19.95
   Min TM value:-174 at an offset of 120.350 usec -> 2022-01-28T02:51:50.269.509.075 (XO: 30.269511072)
   Max TM value:143 at an offset of 118.425 usec -> 2022-01-28T02:51:50.269.507.150 (XO: 30.269509147)
   Max dTM/dt [1/us]:1.34e+03 at an offset of 152.413 usec -> 2022-01-28T02:51:50.269.541.138 (XO: 30.269543135)
   Min dTM/dt [1/us]:-1.39e+03 at an offset of 137.613 usec -> 2022-01-28T02:51:50.269.526.338 (XO: 30.269528335)
