-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar  7 07:21:45 2022 UTC
-- File 20220208_060743_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.783815 to 32.976259
-each separately from 2s to 32s and from 50966us to 976259us.
   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.266862 in 1 packets: 18
      12.924715 in 1 packets: 36
MIU packet time from 2022-02-08T06:07:48.783.815.000 to 2022-02-08T06:08:18.976.259.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.266862 in 1 packets: 18
      12.924715 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.8424041 to 33.8422968
   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, ...
      17.9999357 in 1 packets: 18
      11.9999570 in 1 packets: 36
Temperature FPGA: 
      06 -> 47.2 degC in 54 packets (all packets)
Temperature XO: 
      C0 -> 35.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 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20220208_060743_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.6262191 to 4.6265081
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.2667990  -- OK for SL --
   MIU time from 2022-02-08T06:07:48.783.815.000 to 2022-02-08T06:07:48.784.104.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.266862

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.8933071 to 21.8935961
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.9246710  -- OK for SL --
   MIU time from 2022-02-08T06:08:06.050.966.000 to 2022-02-08T06:08:06.051.255.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.924715

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.8182671 to 34.8185561
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-08T06:08:18.975.970.000 to 2022-02-08T06:08:18.976.259.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 = 4.626219100 corrected by 40bit 10MHz counter of 3.842404100 obtained at 1Hz counter of 2. Result: 2.783817822
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2022-02-08T06:07:48.783.674.725
   Max 1st sample MIU time among all SL packets: 2022-02-08T06:08:18.976.118.725
   Min 1st sample XO time among all SL packets: 2.783677546
   Max 1st sample XO time among all SL packets: 32.976122441
   TM values from -290 to 228 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-08T06:07:48.783.674.725 (XO: 2.783677546 - 2.783983547, t=35.6 degC)  Rank: 00083
   TM values: Max =   224  Min =  -289  Ave =    -4.49  Std =    21.88
   Min TM value:-289 at an offset of 119.938 usec -> 2022-02-08T06:07:48.783.794.662 (XO: 2.783797484)
   Max TM value:224 at an offset of 117.500 usec -> 2022-02-08T06:07:48.783.792.225 (XO: 2.783795047)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 120.075 usec -> 2022-02-08T06:07:48.783.794.800 (XO: 2.783797622)
   Min dTM/dt [1/us]:-2.65e+03 at an offset of 117.600 usec -> 2022-02-08T06:07:48.783.792.325 (XO: 2.783795147)

 - Block number: 2 starting at 2022-02-08T06:08:06.050.825.725 (XO: 20.050827208 - 20.051133209, t=35.6 degC)  Rank: 00072
   TM values: Max =   228  Min =  -268  Ave =    -4.61  Std =    22.54
   Min TM value:-268 at an offset of 117.988 usec -> 2022-02-08T06:08:06.050.943.712 (XO: 20.050945196)
   Max TM value:228 at an offset of 115.513 usec -> 2022-02-08T06:08:06.050.941.237 (XO: 20.050942721)
   Max dTM/dt [1/us]:2.39e+03 at an offset of 118.063 usec -> 2022-02-08T06:08:06.050.943.787 (XO: 20.050945271)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 115.600 usec -> 2022-02-08T06:08:06.050.941.325 (XO: 20.050942808)

 - Block number: 3 starting at 2022-02-08T06:08:18.975.829.725 (XO: 32.975833440 - 32.976139441, t=35.6 degC)  Rank: 00079
   TM values: Max =   197  Min =  -290  Ave =    -4.56  Std =    26.21
   Min TM value:-290 at an offset of 105.863 usec -> 2022-02-08T06:08:18.975.935.587 (XO: 32.975939303)
   Max TM value:197 at an offset of 103.400 usec -> 2022-02-08T06:08:18.975.933.125 (XO: 32.975936841)
   Max dTM/dt [1/us]:2.73e+03 at an offset of 105.963 usec -> 2022-02-08T06:08:18.975.935.687 (XO: 32.975939403)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 103.500 usec -> 2022-02-08T06:08:18.975.933.225 (XO: 32.975936941)
