-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 14:17:16 2022 UTC
-- File 20220207_150836_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 5.516076 to 55.937375
-each separately from 5s to 55s and from 236716us to 937375us.
   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, ...
      19.040130 in 1 packets: 18
      7.679932 in 1 packets: 36
      23.700081 in 1 packets: 54
MIU packet time from 2022-02-07T15:08:44.516.076.000 to 2022-02-07T15:09:34.937.375.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, ...
      19.040130 in 1 packets: 18
      7.679932 in 1 packets: 36
      23.700081 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 6.8611278 to 56.8609495
   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, ...
      18.9999322 in 1 packets: 18
      7.9999715 in 1 packets: 36
      22.9999180 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20220207_150836_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.3772040 to 7.3774930
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.0400630  -- OK for SL --
   MIU time from 2022-02-07T15:08:44.516.076.000 to 2022-02-07T15:08:44.516.365.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.040130

 - 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.4175560 to 26.4178450
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.6799030  -- OK for SL --
   MIU time from 2022-02-07T15:09:03.556.495.000 to 2022-02-07T15:09:03.556.784.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.679932

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.0977480 to 34.0980370
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.6999990  -- OK for SL --
   MIU time from 2022-02-07T15:09:11.236.716.000 to 2022-02-07T15:09:11.237.005.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.700081

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.7980360 to 57.7983250
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-07T15:09:34.937.086.000 to 2022-02-07T15:09:34.937.375.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 = 5, 32bit 10MHz counter = 7.377204000 corrected by 40bit 10MHz counter of 6.861127800 obtained at 1Hz counter of 5. Result: 5.516078058
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-02-07T15:08:44.515.935.725
   Max 1st sample MIU time among all SL packets: 2022-02-07T15:09:34.937.234.725
   Min 1st sample XO time among all SL packets: 5.515937782
   Max 1st sample XO time among all SL packets: 55.937238505
   TM values from -272 to 181 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-07T15:08:44.515.935.725 (XO: 5.515937782 - 5.516243783, t=37.2 degC)  Rank: 00078
   TM values: Max =   181  Min =  -257  Ave =    -4.46  Std =    23.21
   Min TM value:-257 at an offset of 125.063 usec -> 2022-02-07T15:08:44.516.060.787 (XO: 5.516062845)
   Max TM value:181 at an offset of 122.575 usec -> 2022-02-07T15:08:44.516.058.300 (XO: 5.516060358)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 125.175 usec -> 2022-02-07T15:08:44.516.060.900 (XO: 5.516062958)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 122.700 usec -> 2022-02-07T15:08:44.516.058.425 (XO: 5.516060483)

 - Block number: 2 starting at 2022-02-07T15:09:03.556.354.725 (XO: 24.556357672 - 24.556663673, t=37.2 degC)  Rank: 00080
   TM values: Max =   177  Min =  -249  Ave =    -4.41  Std =    19.52
   Min TM value:-249 at an offset of 120.213 usec -> 2022-02-07T15:09:03.556.474.937 (XO: 24.556477885)
   Max TM value:177 at an offset of 116.025 usec -> 2022-02-07T15:09:03.556.470.750 (XO: 24.556473698)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 120.325 usec -> 2022-02-07T15:09:03.556.475.050 (XO: 24.556477998)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 117.875 usec -> 2022-02-07T15:09:03.556.472.600 (XO: 24.556475548)

 - Block number: 3 starting at 2022-02-07T15:09:11.236.575.725 (XO: 32.236577077 - 32.236883078, t=37.2 degC)  Rank: 00085
   TM values: Max =   179  Min =  -272  Ave =    -4.40  Std =    22.47
   Min TM value:-272 at an offset of 121.338 usec -> 2022-02-07T15:09:11.236.697.062 (XO: 32.236698415)
   Max TM value:179 at an offset of 118.825 usec -> 2022-02-07T15:09:11.236.694.550 (XO: 32.236695902)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 121.425 usec -> 2022-02-07T15:09:11.236.697.150 (XO: 32.236698502)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 118.963 usec -> 2022-02-07T15:09:11.236.694.687 (XO: 32.236696040)

 - Block number: 4 starting at 2022-02-07T15:09:34.936.945.725 (XO: 55.936949504 - 55.937255505, t=37.2 degC)  Rank: 00080
   TM values: Max =   163  Min =  -255  Ave =    -4.54  Std =    18.61
   Min TM value:-255 at an offset of 120.063 usec -> 2022-02-07T15:09:34.937.065.787 (XO: 55.937069567)
   Max TM value:163 at an offset of 117.575 usec -> 2022-02-07T15:09:34.937.063.300 (XO: 55.937067080)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 120.188 usec -> 2022-02-07T15:09:34.937.065.912 (XO: 55.937069692)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 117.725 usec -> 2022-02-07T15:09:34.937.063.450 (XO: 55.937067230)
