-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue May 16 21:08:48 2023 UTC
-- File 20230516_040653_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 7.956740 to 46.469348
-each separately from 7s to 46s and from 252213us to 957029us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      21.295184 in 1 packets: 18
      13.557262 in 1 packets: 36
      3.659006 in 1 packets: 54
MIU packet time from 2023-05-16T04:07:03.956.740.000 to 2023-05-16T04:07:42.469.348.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      21.295184 in 1 packets: 18
      13.557262 in 1 packets: 36
      3.659006 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 8.8212853 to 47.8211424
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      21.9999194 in 1 packets: 18
      12.9999523 in 1 packets: 36
      3.9999854 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      02 -> 52.4 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C2 -> 38.8 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20230516_040653_1227.dat, 4 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:
      66 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.7780263 to 9.7783153
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.2951030  -- OK for SL --
   MIU time from 2023-05-16T04:07:03.956.740.000 to 2023-05-16T04:07:03.957.029.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.295184

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.0734183 to 31.0737073
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.5572150  -- OK for SL --
   MIU time from 2023-05-16T04:07:25.252.213.000 to 2023-05-16T04:07:25.252.502.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.557262

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.6309223 to 44.6312113
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.6589910  -- OK for SL --
   MIU time from 2023-05-16T04:07:38.809.764.000 to 2023-05-16T04:07:38.810.053.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.659006

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.2902023 to 48.2904913
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-16T04:07:42.469.059.000 to 2023-05-16T04:07:42.469.348.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 7, 32bit 10MHz counter = 9.778026300 corrected by 40bit 10MHz counter of 8.821285300 obtained at 1Hz counter of 7. Result: 7.956744540
--
   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.999996300
   Min 1st sample MIU time among all SL packets: 2023-05-16T04:07:03.956.599.725
   Max 1st sample MIU time among all SL packets: 2023-05-16T04:07:42.469.207.725
   Min 1st sample XO time among all SL packets: 7.956604264
   Max 1st sample XO time among all SL packets: 46.469210361
   TM values from -256 to 211 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-16T04:07:03.956.599.725 (XO: 7.956604264 - 7.956910266, t=38.8 degC)  Rank: 00066
   TM values: Max =   190  Min =  -232  Ave =    -4.55  Std =    24.26
   Min TM value:-232 at an offset of 124.700 usec -> 2023-05-16T04:07:03.956.724.425 (XO: 7.956728965)
   Max TM value:190 at an offset of 124.438 usec -> 2023-05-16T04:07:03.956.724.162 (XO: 7.956728702)
   Max dTM/dt [1/us]:1.49e+03 at an offset of 164.988 usec -> 2023-05-16T04:07:03.956.764.713 (XO: 7.956769253)
   Min dTM/dt [1/us]:-1.81e+03 at an offset of 124.563 usec -> 2023-05-16T04:07:03.956.724.287 (XO: 7.956728827)

 - Block number: 2 starting at 2023-05-16T04:07:25.252.072.725 (XO: 29.252074258 - 29.252380259, t=38.8 degC)  Rank: 00071
   TM values: Max =   179  Min =  -244  Ave =    -4.47  Std =    18.69
   Min TM value:-244 at an offset of 114.200 usec -> 2023-05-16T04:07:25.252.186.925 (XO: 29.252188458)
   Max TM value:179 at an offset of 101.600 usec -> 2023-05-16T04:07:25.252.174.325 (XO: 29.252175858)
   Max dTM/dt [1/us]:1.40e+03 at an offset of 116.663 usec -> 2023-05-16T04:07:25.252.189.387 (XO: 29.252190921)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 114.063 usec -> 2023-05-16T04:07:25.252.186.787 (XO: 29.252188321)

 - Block number: 3 starting at 2023-05-16T04:07:38.809.623.725 (XO: 42.809628021 - 42.809934022, t=38.8 degC)  Rank: 00069
   TM values: Max =   211  Min =  -256  Ave =    -4.36  Std =    27.28
   Min TM value:-256 at an offset of 141.988 usec -> 2023-05-16T04:07:38.809.765.713 (XO: 42.809770009)
   Max TM value:211 at an offset of 113.988 usec -> 2023-05-16T04:07:38.809.737.712 (XO: 42.809742009)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 116.625 usec -> 2023-05-16T04:07:38.809.740.350 (XO: 42.809744646)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 141.851 usec -> 2023-05-16T04:07:38.809.765.575 (XO: 42.809769871)

 - Block number: 4 starting at 2023-05-16T04:07:42.468.918.725 (XO: 46.468921360 - 46.469227361, t=38.8 degC)  Rank: 00070
   TM values: Max =   183  Min =  -225  Ave =    -4.47  Std =    19.01
   Min TM value:-225 at an offset of 123.838 usec -> 2023-05-16T04:07:42.469.042.562 (XO: 46.469045198)
   Max TM value:183 at an offset of 123.588 usec -> 2023-05-16T04:07:42.469.042.312 (XO: 46.469044948)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 126.275 usec -> 2023-05-16T04:07:42.469.045.000 (XO: 46.469047635)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 123.688 usec -> 2023-05-16T04:07:42.469.042.412 (XO: 46.469045048)
