-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 16 12:17:54 2023 UTC
-- File 20220610_113746_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.713894 to 37.848169
-each separately from 4s to 37s and from 310191us to 848169us.
   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, ...
      20.596008 in 1 packets: 18
      12.537400 in 1 packets: 36
MIU packet time from 2022-06-10T11:37:53.713.894.000 to 2022-06-10T11:38:26.848.169.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, ...
      20.596008 in 1 packets: 18
      12.537400 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 5.5565263 to 38.5564124
   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, ...
      20.9999275 in 1 packets: 18
      11.9999586 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      00 -> 55.0 degC in 18 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 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 20220610_113746_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.2704220 to 6.2707110
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.5959350  -- OK for SL --
   MIU time from 2022-06-10T11:37:53.713.894.000 to 2022-06-10T11:37:53.714.183.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.596008

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.8666460 to 26.8669350
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.5373590  -- OK for SL --
   MIU time from 2022-06-10T11:38:14.310.191.000 to 2022-06-10T11:38:14.310.480.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.537400

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.4042940 to 39.4045830
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-10T11:38:26.847.880.000 to 2022-06-10T11:38:26.848.169.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 = 4, 32bit 10MHz counter = 6.270422000 corrected by 40bit 10MHz counter of 5.556526300 obtained at 1Hz counter of 4. Result: 4.713898127
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2022-06-10T11:37:53.713.753.725
   Max 1st sample MIU time among all SL packets: 2022-06-10T11:38:26.848.028.725
   Min 1st sample XO time among all SL packets: 4.713757852
   Max 1st sample XO time among all SL packets: 37.848033293
   TM values from -268 to 240 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-10T11:37:53.713.753.725 (XO: 4.713757852 - 4.714063853, t=42.0 degC)  Rank: 00081
   TM values: Max =   240  Min =  -268  Ave =    -4.59  Std =    28.42
   Min TM value:-268 at an offset of 107.250 usec -> 2022-06-10T11:37:53.713.860.975 (XO: 4.713865102)
   Max TM value:240 at an offset of 109.588 usec -> 2022-06-10T11:37:53.713.863.312 (XO: 4.713867440)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 150.701 usec -> 2022-06-10T11:37:53.713.904.425 (XO: 4.713908552)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 107.075 usec -> 2022-06-10T11:37:53.713.860.800 (XO: 4.713864927)

 - Block number: 2 starting at 2022-06-10T11:38:14.310.050.725 (XO: 25.310052979 - 25.310358980, t=42.0 degC)  Rank: 00080
   TM values: Max =   236  Min =  -242  Ave =    -4.48  Std =    26.90
   Min TM value:-242 at an offset of 105.600 usec -> 2022-06-10T11:38:14.310.156.325 (XO: 25.310158580)
   Max TM value:236 at an offset of 66.750 usec -> 2022-06-10T11:38:14.310.117.475 (XO: 25.310119729)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 107.800 usec -> 2022-06-10T11:38:14.310.158.525 (XO: 25.310160780)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 64.200 usec -> 2022-06-10T11:38:14.310.114.925 (XO: 25.310117179)

 - Block number: 3 starting at 2022-06-10T11:38:26.847.739.725 (XO: 37.847744292 - 37.848050293, t=42.0 degC)  Rank: 00084
   TM values: Max =   214  Min =  -266  Ave =    -4.65  Std =    27.73
   Min TM value:-266 at an offset of 147.688 usec -> 2022-06-10T11:38:26.847.887.413 (XO: 37.847891980)
   Max TM value:214 at an offset of 147.426 usec -> 2022-06-10T11:38:26.847.887.150 (XO: 37.847891718)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 119.875 usec -> 2022-06-10T11:38:26.847.859.600 (XO: 37.847864168)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 122.338 usec -> 2022-06-10T11:38:26.847.862.062 (XO: 37.847866630)
