-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  1 11:44:38 2022 UTC
-- File 20210902_181333_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 2.053966 to 56.008643
-each separately from 2s to 56s and from 8354us to 466784us.
   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, ...
      23.361676 in 1 packets: 18
      6.050275 in 1 packets: 36
      24.541570 in 1 packets: 54
MIU packet time from 2021-09-02T18:13:38.053.966.000 to 2021-09-02T18:14:32.008.643.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, ...
      23.361676 in 1 packets: 18
      6.050275 in 1 packets: 36
      24.541570 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 3.8477615 to 57.8475817
   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, ...
      22.9999234 in 1 packets: 18
      5.9999801 in 1 packets: 36
      24.9999167 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
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 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 20210902_181333_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.9017286 to 3.9020176
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.3615990  -- OK for SL --
   MIU time from 2021-09-02T18:13:38.053.966.000 to 2021-09-02T18:13:38.054.255.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.361676

 - 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 27.2636166 to 27.2639056
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.0502550  -- OK for SL --
   MIU time from 2021-09-02T18:14:01.415.931.000 to 2021-09-02T18:14:01.416.220.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.050275

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.3141606 to 33.3144496
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.5414870  -- OK for SL --
   MIU time from 2021-09-02T18:14:07.466.495.000 to 2021-09-02T18:14:07.466.784.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.541570

 - 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:
      92 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.8559366 to 57.8562256
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-02T18:14:32.008.354.000 to 2021-09-02T18:14:32.008.643.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 = 2, 32bit 10MHz counter = 3.901728600 corrected by 40bit 10MHz counter of 3.847761500 obtained at 1Hz counter of 2. Result: 2.053967278
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-09-02T18:13:38.053.825.725
   Max 1st sample MIU time among all SL packets: 2021-09-02T18:14:32.008.502.725
   Min 1st sample XO time among all SL packets: 2.053827003
   Max 1st sample XO time among all SL packets: 56.008503652
   TM values from -287 to 301 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-02T18:13:38.053.825.725 (XO: 2.053827003 - 2.054133004, t=37.2 degC)  Rank: 00081
   TM values: Max =   258  Min =  -287  Ave =    -4.48  Std =    26.28
   Min TM value:-287 at an offset of 107.400 usec -> 2021-09-02T18:13:38.053.933.125 (XO: 2.053934403)
   Max TM value:258 at an offset of 107.138 usec -> 2021-09-02T18:13:38.053.932.862 (XO: 2.053934140)
   Max dTM/dt [1/us]:2.91e+03 at an offset of 109.763 usec -> 2021-09-02T18:13:38.053.935.487 (XO: 2.053936765)
   Min dTM/dt [1/us]:-3.03e+03 at an offset of 107.263 usec -> 2021-09-02T18:13:38.053.932.987 (XO: 2.053934265)

 - Block number: 2 starting at 2021-09-02T18:14:01.415.790.725 (XO: 25.415792797 - 25.416098798, t=37.2 degC)  Rank: 00080
   TM values: Max =   239  Min =  -281  Ave =    -4.33  Std =    27.67
   Min TM value:-281 at an offset of 108.600 usec -> 2021-09-02T18:14:01.415.899.325 (XO: 25.415901397)
   Max TM value:239 at an offset of 108.850 usec -> 2021-09-02T18:14:01.415.899.575 (XO: 25.415901647)
   Max dTM/dt [1/us]:2.88e+03 at an offset of 108.725 usec -> 2021-09-02T18:14:01.415.899.450 (XO: 25.415901522)
   Min dTM/dt [1/us]:-2.83e+03 at an offset of 106.225 usec -> 2021-09-02T18:14:01.415.896.950 (XO: 25.415899022)

 - Block number: 3 starting at 2021-09-02T18:14:07.466.354.725 (XO: 31.466356911 - 31.466662912, t=37.2 degC)  Rank: 00079
   TM values: Max =   301  Min =  -272  Ave =    -4.47  Std =    23.33
   Min TM value:-272 at an offset of 36.775 usec -> 2021-09-02T18:14:07.466.391.500 (XO: 31.466393686)
   Max TM value:301 at an offset of 39.163 usec -> 2021-09-02T18:14:07.466.393.887 (XO: 31.466396073)
   Max dTM/dt [1/us]:2.55e+03 at an offset of 39.038 usec -> 2021-09-02T18:14:07.466.393.762 (XO: 31.466395948)
   Min dTM/dt [1/us]:-2.66e+03 at an offset of 36.550 usec -> 2021-09-02T18:14:07.466.391.275 (XO: 31.466393461)

 - Block number: 4 starting at 2021-09-02T18:14:32.008.213.725 (XO: 56.008214651 - 56.008520652, t=37.2 degC)  Rank: 00092
   TM values: Max =   252  Min =  -274  Ave =    -4.55  Std =    32.99
   Min TM value:-274 at an offset of 150.788 usec -> 2021-09-02T18:14:32.008.364.512 (XO: 56.008365439)
   Max TM value:252 at an offset of 150.513 usec -> 2021-09-02T18:14:32.008.364.237 (XO: 56.008365164)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 108.863 usec -> 2021-09-02T18:14:32.008.322.587 (XO: 56.008323514)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 150.650 usec -> 2021-09-02T18:14:32.008.364.375 (XO: 56.008365302)
