-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 05:02:00 2023 UTC
-- File 20220706_221709_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 12.125707 to 39.590014
-each separately from 12s to 39s and from 125707us to 867605us.
   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.741320 in 1 packets: 18
      15.722120 in 1 packets: 36
MIU packet time from 2022-07-06T22:17:24.125.707.000 to 2022-07-06T22:17:51.590.014.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.741320 in 1 packets: 18
      15.722120 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 14.1152831 to 41.1151854
   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, ...
      10.9999602 in 1 packets: 18
      15.9999421 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 degC in 54 packets (all packets)
Temperature XO: 
      C2 -> 38.8 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220706_221709_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.2409917 to 14.2412807
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.7412790  -- OK for SL --
   MIU time from 2022-07-06T22:17:24.125.707.000 to 2022-07-06T22:17:24.125.996.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.741320

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.9825597 to 25.9828487
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7220630  -- OK for SL --
   MIU time from 2022-07-06T22:17:35.867.316.000 to 2022-07-06T22:17:35.867.605.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.722120

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.7049117 to 41.7052007
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-06T22:17:51.589.725.000 to 2022-07-06T22:17:51.590.014.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 = 12, 32bit 10MHz counter = 14.240991700 corrected by 40bit 10MHz counter of 14.115283100 obtained at 1Hz counter of 12. Result: 12.125709053
--
   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-07-06T22:17:24.125.566.725
   Max 1st sample MIU time among all SL packets: 2022-07-06T22:17:51.589.873.725
   Min 1st sample XO time among all SL packets: 12.125568777
   Max 1st sample XO time among all SL packets: 39.589877149
   TM values from -278 to 223 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-06T22:17:24.125.566.725 (XO: 12.125568777 - 12.125874778, t=38.8 degC)  Rank: 00082
   TM values: Max =   223  Min =  -278  Ave =    -4.41  Std =    30.62
   Min TM value:-278 at an offset of 118.913 usec -> 2022-07-06T22:17:24.125.685.637 (XO: 12.125687690)
   Max TM value:223 at an offset of 121.338 usec -> 2022-07-06T22:17:24.125.688.062 (XO: 12.125690115)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 121.250 usec -> 2022-07-06T22:17:24.125.687.975 (XO: 12.125690027)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 118.763 usec -> 2022-07-06T22:17:24.125.685.487 (XO: 12.125687540)

 - Block number: 2 starting at 2022-07-06T22:17:35.867.175.725 (XO: 23.867179247 - 23.867485248, t=38.8 degC)  Rank: 00083
   TM values: Max =   209  Min =  -255  Ave =    -4.38  Std =    30.64
   Min TM value:-255 at an offset of 114.900 usec -> 2022-07-06T22:17:35.867.290.625 (XO: 23.867294147)
   Max TM value:209 at an offset of 114.638 usec -> 2022-07-06T22:17:35.867.290.362 (XO: 23.867293885)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 117.138 usec -> 2022-07-06T22:17:35.867.292.862 (XO: 23.867296385)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 114.725 usec -> 2022-07-06T22:17:35.867.290.450 (XO: 23.867293972)

 - Block number: 3 starting at 2022-07-06T22:17:51.589.584.725 (XO: 39.589588148 - 39.589894149, t=38.8 degC)  Rank: 00080
   TM values: Max =   198  Min =  -264  Ave =    -4.44  Std =    31.20
   Min TM value:-264 at an offset of 118.700 usec -> 2022-07-06T22:17:51.589.703.425 (XO: 39.589706848)
   Max TM value:198 at an offset of 114.388 usec -> 2022-07-06T22:17:51.589.699.112 (XO: 39.589702535)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 118.788 usec -> 2022-07-06T22:17:51.589.703.512 (XO: 39.589706935)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 116.325 usec -> 2022-07-06T22:17:51.589.701.050 (XO: 39.589704473)
