-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 18:39:12 2023 UTC
-- File 20220107_044048_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.060829 to 35.302198
-each separately from 2s to 35s and from 60829us to 762077us.
   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, ...
      26.700670 in 1 packets: 18
      6.539832 in 1 packets: 36
MIU packet time from 2022-01-07T04:40:53.060.829.000 to 2022-01-07T04:41:26.302.198.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, ...
      26.700670 in 1 packets: 18
      6.539832 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.5172084 to 36.5170886
   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, ...
      25.9999056 in 1 packets: 18
      6.9999746 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 20220107_044048_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:
      57 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.5780388 to 3.5783278
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.7005750  -- OK for SL --
   MIU time from 2022-01-07T04:40:53.060.829.000 to 2022-01-07T04:40:53.061.118.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.700670

 - 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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.2789028 to 30.2791918
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.5398070  -- OK for SL --
   MIU time from 2022-01-07T04:41:19.761.788.000 to 2022-01-07T04:41:19.762.077.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.539832

 - 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 36.8189988 to 36.8192878
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-07T04:41:26.301.909.000 to 2022-01-07T04:41:26.302.198.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.578038800 corrected by 40bit 10MHz counter of 3.517208400 obtained at 1Hz counter of 2. Result: 2.060830619
--
   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-07T04:40:53.060.688.725
   Max 1st sample MIU time among all SL packets: 2022-01-07T04:41:26.302.057.725
   Min 1st sample XO time among all SL packets: 2.060690343
   Max 1st sample XO time among all SL packets: 35.302060043
   TM values from -176 to 190 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-07T04:40:53.060.688.725 (XO: 2.060690343 - 2.060996345, t=37.2 degC)  Rank: 00057
   TM values: Max =   128  Min =  -146  Ave =    -4.55  Std =    18.70
   Min TM value:-146 at an offset of 122.300 usec -> 2022-01-07T04:40:53.060.811.025 (XO: 2.060812644)
   Max TM value:128 at an offset of 119.763 usec -> 2022-01-07T04:40:53.060.808.487 (XO: 2.060810106)
   Max dTM/dt [1/us]:1.25e+03 at an offset of 122.450 usec -> 2022-01-07T04:40:53.060.811.175 (XO: 2.060812794)
   Min dTM/dt [1/us]:-1.20e+03 at an offset of 122.250 usec -> 2022-01-07T04:40:53.060.810.975 (XO: 2.060812594)

 - Block number: 2 starting at 2022-01-07T04:41:19.761.647.725 (XO: 28.761651267 - 28.761957268, t=37.2 degC)  Rank: 00058
   TM values: Max =   182  Min =  -169  Ave =    -4.48  Std =    16.14
   Min TM value:-169 at an offset of 124.775 usec -> 2022-01-07T04:41:19.761.772.500 (XO: 28.761776042)
   Max TM value:182 at an offset of 122.338 usec -> 2022-01-07T04:41:19.761.770.062 (XO: 28.761773605)
   Max dTM/dt [1/us]:1.49e+03 at an offset of 124.913 usec -> 2022-01-07T04:41:19.761.772.637 (XO: 28.761776180)
   Min dTM/dt [1/us]:-1.54e+03 at an offset of 124.675 usec -> 2022-01-07T04:41:19.761.772.400 (XO: 28.761775942)

 - Block number: 3 starting at 2022-01-07T04:41:26.301.768.725 (XO: 35.301771042 - 35.302077043, t=37.2 degC)  Rank: 00060
   TM values: Max =   190  Min =  -176  Ave =    -4.48  Std =    21.81
   Min TM value:-176 at an offset of 120.275 usec -> 2022-01-07T04:41:26.301.889.000 (XO: 35.301891317)
   Max TM value:190 at an offset of 122.388 usec -> 2022-01-07T04:41:26.301.891.112 (XO: 35.301893430)
   Max dTM/dt [1/us]:1.67e+03 at an offset of 122.300 usec -> 2022-01-07T04:41:26.301.891.025 (XO: 35.301893342)
   Min dTM/dt [1/us]:-1.66e+03 at an offset of 120.213 usec -> 2022-01-07T04:41:26.301.888.937 (XO: 35.301891254)
