-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar  8 23:24:45 2023 UTC
-- File 20220528_061210_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 9.151519 to 38.170548
-each separately from 9s to 38s and from 151519us to 991114us.
   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, ...
      17.839017 in 1 packets: 18
      11.179145 in 1 packets: 36
MIU packet time from 2022-05-28T06:12:22.151.519.000 to 2022-05-28T06:12:51.170.548.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, ...
      17.839017 in 1 packets: 18
      11.179145 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 10.8517060 to 39.8516060
   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, ...
      16.9999414 in 1 packets: 18
      11.9999586 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 54 packets (all packets)
Temperature XO: 
      C5 -> 43.6 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 20220528_061210_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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.0032266 to 11.0035156
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.8389590  -- OK for SL --
   MIU time from 2022-05-28T06:12:22.151.519.000 to 2022-05-28T06:12:22.151.808.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.839017

 - 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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.8424746 to 28.8427636
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.1791030  -- OK for SL --
   MIU time from 2022-05-28T06:12:39.990.825.000 to 2022-05-28T06:12:39.991.114.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.179145

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.0218666 to 40.0221556
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-28T06:12:51.170.259.000 to 2022-05-28T06:12:51.170.548.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 = 9, 32bit 10MHz counter = 11.003226600 corrected by 40bit 10MHz counter of 10.851706000 obtained at 1Hz counter of 9. Result: 9.151521130
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-05-28T06:12:22.151.378.725
   Max 1st sample MIU time among all SL packets: 2022-05-28T06:12:51.170.407.725
   Min 1st sample XO time among all SL packets: 9.151380855
   Max 1st sample XO time among all SL packets: 38.170409921
   TM values from -259 to 221 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-28T06:12:22.151.378.725 (XO: 9.151380855 - 9.151686856, t=43.6 degC)  Rank: 00073
   TM values: Max =   221  Min =  -253  Ave =    -4.44  Std =    31.76
   Min TM value:-253 at an offset of 114.913 usec -> 2022-05-28T06:12:22.151.493.637 (XO: 9.151495768)
   Max TM value:221 at an offset of 115.150 usec -> 2022-05-28T06:12:22.151.493.875 (XO: 9.151496005)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 115.025 usec -> 2022-05-28T06:12:22.151.493.750 (XO: 9.151495880)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 112.650 usec -> 2022-05-28T06:12:22.151.491.375 (XO: 9.151493505)

 - Block number: 2 starting at 2022-05-28T06:12:39.990.684.725 (XO: 26.990690392 - 26.990996393, t=43.6 degC)  Rank: 00068
   TM values: Max =   196  Min =  -230  Ave =    -4.53  Std =    31.90
   Min TM value:-230 at an offset of 123.163 usec -> 2022-05-28T06:12:39.990.807.887 (XO: 26.990813555)
   Max TM value:196 at an offset of 186.951 usec -> 2022-05-28T06:12:39.990.871.675 (XO: 26.990877343)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 125.438 usec -> 2022-05-28T06:12:39.990.810.162 (XO: 26.990815830)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 198.326 usec -> 2022-05-28T06:12:39.990.883.050 (XO: 26.990888718)

 - Block number: 3 starting at 2022-05-28T06:12:51.170.118.725 (XO: 38.170120920 - 38.170426921, t=43.6 degC)  Rank: 00078
   TM values: Max =   199  Min =  -259  Ave =    -4.46  Std =    23.88
   Min TM value:-259 at an offset of 126.463 usec -> 2022-05-28T06:12:51.170.245.187 (XO: 38.170247383)
   Max TM value:199 at an offset of 128.775 usec -> 2022-05-28T06:12:51.170.247.500 (XO: 38.170249696)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 128.638 usec -> 2022-05-28T06:12:51.170.247.362 (XO: 38.170249558)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 126.313 usec -> 2022-05-28T06:12:51.170.245.037 (XO: 38.170247233)
