-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar  9 03:55:07 2023 UTC
-- File 20220528_230523_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 10.938550 to 54.643659
-each separately from 10s to 54s and from 280379us to 938839us.
   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, ...
      5.499380 in 1 packets: 18
      23.841871 in 1 packets: 36
      14.362702 in 1 packets: 54
MIU packet time from 2022-05-28T23:05:36.938.550.000 to 2022-05-28T23:06:20.643.659.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, ...
      5.499380 in 1 packets: 18
      23.841871 in 1 packets: 36
      14.362702 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 12.3171708 to 56.3170238
   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, ...
      5.9999799 in 1 packets: 18
      23.9999198 in 1 packets: 36
      13.9999533 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      00 -> 55.0 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      FF -> 56.3 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C5 -> 43.6 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: 
      1 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      1 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20220528_230523_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:
      103 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.2557230 to 13.2560120
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.4993590  -- OK for SL --
   MIU time from 2022-05-28T23:05:36.938.550.000 to 2022-05-28T23:05:36.938.839.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.499380

 - 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 18.7553710 to 18.7556600
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.8417910  -- OK for SL --
   MIU time from 2022-05-28T23:05:42.438.219.000 to 2022-05-28T23:05:42.438.508.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.841871

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.5974510 to 42.5977400
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.3626550  -- OK for SL --
   MIU time from 2022-05-28T23:06:06.280.379.000 to 2022-05-28T23:06:06.280.668.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.362702

 - 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:
      117 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.9603950 to 56.9606840
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-28T23:06:20.643.370.000 to 2022-05-28T23:06:20.643.659.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 = 10, 32bit 10MHz counter = 13.255723000 corrected by 40bit 10MHz counter of 12.317170800 obtained at 1Hz counter of 10. Result: 10.938555391
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2022-05-28T23:05:36.938.409.725
   Max 1st sample MIU time among all SL packets: 2022-05-28T23:06:20.643.518.725
   Min 1st sample XO time among all SL packets: 10.938415116
   Max 1st sample XO time among all SL packets: 54.643522113
   TM values from -628 to 402 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-28T23:05:36.938.409.725 (XO: 10.938415116 - 10.938721117, t=43.6 degC)  Rank: 00103
   TM values: Max =   355  Min =  -628  Ave =    -4.88  Std =    46.67
   Min TM value:-628 at an offset of 44.313 usec -> 2022-05-28T23:05:36.938.454.037 (XO: 10.938459428)
   Max TM value:355 at an offset of 45.013 usec -> 2022-05-28T23:05:36.938.454.737 (XO: 10.938460128)
   Max dTM/dt [1/us]:5.60e+03 at an offset of 44.963 usec -> 2022-05-28T23:05:36.938.454.687 (XO: 10.938460078)
   Min dTM/dt [1/us]:-4.78e+03 at an offset of 42.838 usec -> 2022-05-28T23:05:36.938.452.562 (XO: 10.938457953)

 - Block number: 2 starting at 2022-05-28T23:05:42.438.078.725 (XO: 16.438081471 - 16.438387472, t=43.6 degC)  Rank: 00072
   TM values: Max =   204  Min =  -219  Ave =    -4.44  Std =    27.52
   Min TM value:-219 at an offset of 100.263 usec -> 2022-05-28T23:05:42.438.178.987 (XO: 16.438181733)
   Max TM value:204 at an offset of 175.163 usec -> 2022-05-28T23:05:42.438.253.888 (XO: 16.438256634)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 175.026 usec -> 2022-05-28T23:05:42.438.253.750 (XO: 16.438256496)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 172.651 usec -> 2022-05-28T23:05:42.438.251.375 (XO: 16.438254121)

 - Block number: 3 starting at 2022-05-28T23:06:06.280.238.725 (XO: 40.280241150 - 40.280547151, t=43.6 degC)  Rank: 00077
   TM values: Max =   204  Min =  -247  Ave =    -4.38  Std =    28.63
   Min TM value:-247 at an offset of 124.425 usec -> 2022-05-28T23:06:06.280.363.150 (XO: 40.280365575)
   Max TM value:204 at an offset of 126.738 usec -> 2022-05-28T23:06:06.280.365.462 (XO: 40.280367888)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 126.613 usec -> 2022-05-28T23:06:06.280.365.337 (XO: 40.280367763)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 124.250 usec -> 2022-05-28T23:06:06.280.362.975 (XO: 40.280365400)

 - Block number: 4 starting at 2022-05-28T23:06:20.643.229.725 (XO: 54.643233112 - 54.643539113, t=43.6 degC)  Rank: 00117
   TM values: Max =   402  Min =  -388  Ave =    -4.51  Std =    67.95
   Min TM value:-388 at an offset of 259.726 usec -> 2022-05-28T23:06:20.643.489.450 (XO: 54.643492838)
   Max TM value:402 at an offset of 175.351 usec -> 2022-05-28T23:06:20.643.405.075 (XO: 54.643408463)
   Max dTM/dt [1/us]:4.64e+03 at an offset of 259.776 usec -> 2022-05-28T23:06:20.643.489.500 (XO: 54.643492888)
   Min dTM/dt [1/us]:-4.86e+03 at an offset of 265.188 usec -> 2022-05-28T23:06:20.643.494.913 (XO: 54.643498300)
