-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jul  7 23:02:28 2023 UTC
-- File 20230628_205106_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 4.877162 to 45.337569
-each separately from 4s to 45s and from 337280us to 877451us.
   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.709750 in 1 packets: 18
      25.749790 in 1 packets: 36
MIU packet time from 2023-06-28T20:51:13.877.162.000 to 2023-06-28T20:51:54.337.569.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.709750 in 1 packets: 18
      25.749790 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 4.9134500 to 45.9133000
   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, ...
      14.9999452 in 1 packets: 18
      25.9999048 in 1 packets: 36
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
      04 -> 49.8 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20230628_205106_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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.7906125 to 5.7909015
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.7096950  -- OK for SL --
   MIU time from 2023-06-28T20:51:13.877.162.000 to 2023-06-28T20:51:13.877.451.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.709750

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.5005965 to 20.5008855
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.7496950  -- OK for SL --
   MIU time from 2023-06-28T20:51:28.587.201.000 to 2023-06-28T20:51:28.587.490.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.749790

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.2505805 to 46.2508695
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-28T20:51:54.337.280.000 to 2023-06-28T20:51:54.337.569.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 45 XO calibration points at 1Hz counter from 0 to 44
   --- First point: 1Hz counter = 4, 32bit 10MHz counter = 5.790612500 corrected by 40bit 10MHz counter of 4.913450000 obtained at 1Hz counter of 4. Result: 4.877165746
--
   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-06-28T20:51:13.877.021.725
   Max 1st sample MIU time among all SL packets: 2023-06-28T20:51:54.337.428.725
   Min 1st sample XO time among all SL packets: 4.877025470
   Max 1st sample XO time among all SL packets: 45.337430473
   TM values from -285 to 239 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-28T20:51:13.877.021.725 (XO: 4.877025470 - 4.877331471, t=37.2 degC)  Rank: 00071
   TM values: Max =   197  Min =  -254  Ave =    -4.47  Std =    23.94
   Min TM value:-254 at an offset of 120.763 usec -> 2023-06-28T20:51:13.877.142.487 (XO: 4.877146233)
   Max TM value:197 at an offset of 120.463 usec -> 2023-06-28T20:51:13.877.142.187 (XO: 4.877145933)
   Max dTM/dt [1/us]:2.44e+03 at an offset of 123.388 usec -> 2023-06-28T20:51:13.877.145.112 (XO: 4.877148858)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 108.913 usec -> 2023-06-28T20:51:13.877.130.637 (XO: 4.877134383)

 - Block number: 2 starting at 2023-06-28T20:51:28.587.060.725 (XO: 19.587063197 - 19.587369198, t=37.2 degC)  Rank: 00073
   TM values: Max =   227  Min =  -261  Ave =    -4.43  Std =    29.58
   Min TM value:-261 at an offset of 193.888 usec -> 2023-06-28T20:51:28.587.254.613 (XO: 19.587257085)
   Max TM value:227 at an offset of 193.651 usec -> 2023-06-28T20:51:28.587.254.375 (XO: 19.587256848)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 111.700 usec -> 2023-06-28T20:51:28.587.172.425 (XO: 19.587174898)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 193.838 usec -> 2023-06-28T20:51:28.587.254.563 (XO: 19.587257035)

 - Block number: 3 starting at 2023-06-28T20:51:54.337.139.725 (XO: 45.337141472 - 45.337447474, t=37.2 degC)  Rank: 00082
   TM values: Max =   239  Min =  -285  Ave =    -4.44  Std =    26.98
   Min TM value:-285 at an offset of 120.813 usec -> 2023-06-28T20:51:54.337.260.537 (XO: 45.337262285)
   Max TM value:239 at an offset of 108.125 usec -> 2023-06-28T20:51:54.337.247.850 (XO: 45.337249598)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 123.350 usec -> 2023-06-28T20:51:54.337.263.075 (XO: 45.337264823)
   Min dTM/dt [1/us]:-2.61e+03 at an offset of 120.625 usec -> 2023-06-28T20:51:54.337.260.350 (XO: 45.337262098)
