-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 21:17:17 2023 UTC
-- File 20220525_175236_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.124102 to 43.222859
-each separately from 2s to 43s and from 124102us to 323705us.
   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, ...
      14.199025 in 1 packets: 18
      26.898865 in 1 packets: 36
MIU packet time from 2022-05-25T17:52:41.124.102.000 to 2022-05-25T17:53:22.222.859.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, ...
      14.199025 in 1 packets: 18
      26.898865 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.8261637 to 44.8260156
   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, ...
      13.9999495 in 1 packets: 18
      26.9999024 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      00 -> 55.0 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C4 -> 42.0 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 20220525_175236_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:
      64 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.9502666 to 3.9505556
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.1989750  -- OK for SL --
   MIU time from 2022-05-25T17:52:41.124.102.000 to 2022-05-25T17:52:41.124.391.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.199025

 - 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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.1495306 to 18.1498196
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.8987670  -- OK for SL --
   MIU time from 2022-05-25T17:52:55.323.416.000 to 2022-05-25T17:52:55.323.705.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.898865

 - 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 45.0485866 to 45.0488756
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-25T17:53:22.222.570.000 to 2022-05-25T17:53:22.222.859.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.950266600 corrected by 40bit 10MHz counter of 3.826163700 obtained at 1Hz counter of 2. Result: 2.124103347
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-05-25T17:52:41.123.961.725
   Max 1st sample MIU time among all SL packets: 2022-05-25T17:53:22.222.718.725
   Min 1st sample XO time among all SL packets: 2.123963071
   Max 1st sample XO time among all SL packets: 43.222720527
   TM values from -352 to 332 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-25T17:52:41.123.961.725 (XO: 2.123963071 - 2.124269072, t=42.0 degC)  Rank: 00064
   TM values: Max =   332  Min =  -352  Ave =    -4.33  Std =    82.01
   Min TM value:-352 at an offset of 128.150 usec -> 2022-05-25T17:52:41.124.089.875 (XO: 2.124091222)
   Max TM value:332 at an offset of 130.450 usec -> 2022-05-25T17:52:41.124.092.175 (XO: 2.124093522)
   Max dTM/dt [1/us]:3.25e+03 at an offset of 130.313 usec -> 2022-05-25T17:52:41.124.092.037 (XO: 2.124093384)
   Min dTM/dt [1/us]:-3.12e+03 at an offset of 130.163 usec -> 2022-05-25T17:52:41.124.091.887 (XO: 2.124093234)

 - Block number: 2 starting at 2022-05-25T17:52:55.323.275.725 (XO: 16.323278289 - 16.323584290, t=42.0 degC)  Rank: 00053
   TM values: Max =   240  Min =  -258  Ave =    -4.29  Std =    43.44
   Min TM value:-258 at an offset of 297.614 usec -> 2022-05-25T17:52:55.323.573.338 (XO: 16.323575902)
   Max TM value:240 at an offset of 297.976 usec -> 2022-05-25T17:52:55.323.573.701 (XO: 16.323576265)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 121.375 usec -> 2022-05-25T17:52:55.323.397.100 (XO: 16.323399664)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 123.463 usec -> 2022-05-25T17:52:55.323.399.187 (XO: 16.323401752)

 - Block number: 3 starting at 2022-05-25T17:53:22.222.429.725 (XO: 43.222431526 - 43.222737527, t=42.0 degC)  Rank: 00056
   TM values: Max =   249  Min =  -322  Ave =    -4.29  Std =    51.34
   Min TM value:-322 at an offset of 110.625 usec -> 2022-05-25T17:53:22.222.540.350 (XO: 43.222542151)
   Max TM value:249 at an offset of 113.025 usec -> 2022-05-25T17:53:22.222.542.750 (XO: 43.222544551)
   Max dTM/dt [1/us]:2.46e+03 at an offset of 112.900 usec -> 2022-05-25T17:53:22.222.542.625 (XO: 43.222544426)
   Min dTM/dt [1/us]:-2.73e+03 at an offset of 110.500 usec -> 2022-05-25T17:53:22.222.540.225 (XO: 43.222542026)
