-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 01:46:47 2023 UTC
-- File 20220522_020056_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 4.356247 to 56.331120
-each separately from 4s to 56s and from 213278us to 356536us.
   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, ...
      20.877625 in 1 packets: 18
      7.978828 in 1 packets: 36
      23.117264 in 1 packets: 54
MIU packet time from 2022-05-22T02:01:03.356.247.000 to 2022-05-22T02:01:55.331.120.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, ...
      20.877625 in 1 packets: 18
      7.978828 in 1 packets: 36
      23.117264 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 5.7576531 to 57.7574692
   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, ...
      20.9999257 in 1 packets: 18
      7.9999717 in 1 packets: 36
      22.9999187 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 53.7 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C4 -> 42.0 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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20220522_020056_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.1139015 to 6.1141905
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.8775510  -- OK for SL --
   MIU time from 2022-05-22T02:01:03.356.247.000 to 2022-05-22T02:01:03.356.536.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.877625

 - 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 26.9917415 to 26.9920305
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.9787990  -- OK for SL --
   MIU time from 2022-05-22T02:01:24.234.161.000 to 2022-05-22T02:01:24.234.450.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.978828

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.9708295 to 34.9711185
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.1171830  -- OK for SL --
   MIU time from 2022-05-22T02:01:32.213.278.000 to 2022-05-22T02:01:32.213.567.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.117264

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.0883015 to 58.0885905
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-22T02:01:55.330.831.000 to 2022-05-22T02:01:55.331.120.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 = 4, 32bit 10MHz counter = 6.113901500 corrected by 40bit 10MHz counter of 5.757653100 obtained at 1Hz counter of 4. Result: 4.356249647
--
   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-22T02:01:03.356.106.725
   Max 1st sample MIU time among all SL packets: 2022-05-22T02:01:55.330.979.725
   Min 1st sample XO time among all SL packets: 4.356109371
   Max 1st sample XO time among all SL packets: 56.330982183
   TM values from -279 to 227 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-22T02:01:03.356.106.725 (XO: 4.356109371 - 4.356415372, t=42.0 degC)  Rank: 00082
   TM values: Max =   224  Min =  -268  Ave =    -4.41  Std =    21.31
   Min TM value:-268 at an offset of 110.425 usec -> 2022-05-22T02:01:03.356.217.150 (XO: 4.356219797)
   Max TM value:224 at an offset of 112.775 usec -> 2022-05-22T02:01:03.356.219.500 (XO: 4.356222147)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 112.638 usec -> 2022-05-22T02:01:03.356.219.362 (XO: 4.356222009)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 110.250 usec -> 2022-05-22T02:01:03.356.216.975 (XO: 4.356219622)

 - Block number: 2 starting at 2022-05-22T02:01:24.234.020.725 (XO: 25.234023244 - 25.234329245, t=42.0 degC)  Rank: 00075
   TM values: Max =   225  Min =  -262  Ave =    -4.45  Std =    26.68
   Min TM value:-262 at an offset of 124.225 usec -> 2022-05-22T02:01:24.234.144.950 (XO: 25.234147470)
   Max TM value:225 at an offset of 124.475 usec -> 2022-05-22T02:01:24.234.145.200 (XO: 25.234147720)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 82.775 usec -> 2022-05-22T02:01:24.234.103.500 (XO: 25.234106019)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 82.563 usec -> 2022-05-22T02:01:24.234.103.287 (XO: 25.234105807)

 - Block number: 3 starting at 2022-05-22T02:01:32.213.137.725 (XO: 33.213139471 - 33.213445472, t=42.0 degC)  Rank: 00080
   TM values: Max =   227  Min =  -279  Ave =    -4.42  Std =    25.06
   Min TM value:-279 at an offset of 113.688 usec -> 2022-05-22T02:01:32.213.251.412 (XO: 33.213253159)
   Max TM value:227 at an offset of 111.288 usec -> 2022-05-22T02:01:32.213.249.012 (XO: 33.213250759)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 113.800 usec -> 2022-05-22T02:01:32.213.251.525 (XO: 33.213253271)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 113.625 usec -> 2022-05-22T02:01:32.213.251.350 (XO: 33.213253096)

 - Block number: 4 starting at 2022-05-22T02:01:55.330.690.725 (XO: 56.330693182 - 56.330999183, t=42.0 degC)  Rank: 00081
   TM values: Max =   207  Min =  -247  Ave =    -4.38  Std =    25.47
   Min TM value:-247 at an offset of 111.663 usec -> 2022-05-22T02:01:55.330.802.387 (XO: 56.330804845)
   Max TM value:207 at an offset of 111.888 usec -> 2022-05-22T02:01:55.330.802.612 (XO: 56.330805070)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 140.963 usec -> 2022-05-22T02:01:55.330.831.687 (XO: 56.330834145)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 111.563 usec -> 2022-05-22T02:01:55.330.802.287 (XO: 56.330804745)
