-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 22:49:38 2023 UTC
-- File 20220526_124325_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 8.862315 to 33.200852
-each separately from 8s to 33s and from 200563us to 862604us.
   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, ...
      10.608902 in 1 packets: 18
      13.728768 in 1 packets: 36
MIU packet time from 2022-05-26T12:43:36.862.315.000 to 2022-05-26T12:44:01.200.852.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, ...
      10.608902 in 1 packets: 18
      13.728768 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 9.8176750 to 34.8175874
   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.9999614 in 1 packets: 18
      13.9999510 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets (all packets)
Temperature XO: 
      C4 -> 42.0 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 20220526_124325_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.6799914 to 10.6802804
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.6088630  -- OK for SL --
   MIU time from 2022-05-26T12:43:36.862.315.000 to 2022-05-26T12:43:36.862.604.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.608902

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.2891434 to 21.2894324
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.7287190  -- OK for SL --
   MIU time from 2022-05-26T12:43:47.471.506.000 to 2022-05-26T12:43:47.471.795.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.728768

 - 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 35.0181514 to 35.0184404
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-26T12:44:01.200.563.000 to 2022-05-26T12:44:01.200.852.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 = 8, 32bit 10MHz counter = 10.679991400 corrected by 40bit 10MHz counter of 9.817675000 obtained at 1Hz counter of 8. Result: 8.862319418
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-05-26T12:43:36.862.174.725
   Max 1st sample MIU time among all SL packets: 2022-05-26T12:44:01.200.711.725
   Min 1st sample XO time among all SL packets: 8.862179143
   Max 1st sample XO time among all SL packets: 33.200713427
   TM values from -244 to 215 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-26T12:43:36.862.174.725 (XO: 8.862179143 - 8.862485144, t=42.0 degC)  Rank: 00078
   TM values: Max =   202  Min =  -207  Ave =    -4.47  Std =    24.95
   Min TM value:-207 at an offset of 145.101 usec -> 2022-05-26T12:43:36.862.319.825 (XO: 8.862324243)
   Max TM value:202 at an offset of 119.225 usec -> 2022-05-26T12:43:36.862.293.950 (XO: 8.862298368)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 145.251 usec -> 2022-05-26T12:43:36.862.319.975 (XO: 8.862324393)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 130.800 usec -> 2022-05-26T12:43:36.862.305.525 (XO: 8.862309943)

 - Block number: 2 starting at 2022-05-26T12:43:47.471.365.725 (XO: 19.471368375 - 19.471674376, t=42.0 degC)  Rank: 00075
   TM values: Max =   203  Min =  -236  Ave =    -4.42  Std =    32.42
   Min TM value:-236 at an offset of 188.076 usec -> 2022-05-26T12:43:47.471.553.800 (XO: 19.471556450)
   Max TM value:203 at an offset of 73.638 usec -> 2022-05-26T12:43:47.471.439.362 (XO: 19.471442013)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 203.413 usec -> 2022-05-26T12:43:47.471.569.138 (XO: 19.471571788)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 187.963 usec -> 2022-05-26T12:43:47.471.553.688 (XO: 19.471556338)

 - Block number: 3 starting at 2022-05-26T12:44:01.200.422.725 (XO: 33.200424426 - 33.200730428, t=42.0 degC)  Rank: 00082
   TM values: Max =   215  Min =  -244  Ave =    -4.44  Std =    25.99
   Min TM value:-244 at an offset of 128.975 usec -> 2022-05-26T12:44:01.200.551.700 (XO: 33.200553402)
   Max TM value:215 at an offset of 131.275 usec -> 2022-05-26T12:44:01.200.554.000 (XO: 33.200555702)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 170.688 usec -> 2022-05-26T12:44:01.200.593.413 (XO: 33.200595115)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 145.751 usec -> 2022-05-26T12:44:01.200.568.475 (XO: 33.200570177)
