-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec 21 14:15:53 2021 UTC
-- File 20210820_164950_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 12.675877 to 38.482637
-each separately from 12s to 38s and from 479769us to 676166us.
   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, ...
      5.803603 in 1 packets: 18
      20.002290 in 1 packets: 36
MIU packet time from 2021-08-20T16:50:05.675.877.000 to 2021-08-20T16:50:31.482.637.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, ...
      5.803603 in 1 packets: 18
      20.002290 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 13.9108537 to 39.9107672
   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, ...
      5.9999801 in 1 packets: 18
      19.9999334 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 20210820_164950_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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.5867319 to 14.5870209
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.8035830  -- OK for SL --
   MIU time from 2021-08-20T16:50:05.675.877.000 to 2021-08-20T16:50:05.676.166.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.803603

 - 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 20.3906039 to 20.3908929
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.0022230  -- OK for SL --
   MIU time from 2021-08-20T16:50:11.479.769.000 to 2021-08-20T16:50:11.480.058.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.002290

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.3931159 to 40.3934049
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-20T16:50:31.482.348.000 to 2021-08-20T16:50:31.482.637.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 = 12, 32bit 10MHz counter = 14.586731900 corrected by 40bit 10MHz counter of 13.910853700 obtained at 1Hz counter of 12. Result: 12.675880430
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-20T16:50:05.675.736.725
   Max 1st sample MIU time among all SL packets: 2021-08-20T16:50:31.482.496.725
   Min 1st sample XO time among all SL packets: 12.675740155
   Max 1st sample XO time among all SL packets: 38.482499017
   TM values from -245 to 236 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-20T16:50:05.675.736.725 (XO: 12.675740155 - 12.676046156, t=37.2 degC)  Rank: 00087
   TM values: Max =   217  Min =  -245  Ave =    -4.61  Std =    20.99
   Min TM value:-245 at an offset of 122.513 usec -> 2021-08-20T16:50:05.675.859.237 (XO: 12.675862668)
   Max TM value:217 at an offset of 122.800 usec -> 2021-08-20T16:50:05.675.859.525 (XO: 12.675862955)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 122.625 usec -> 2021-08-20T16:50:05.675.859.350 (XO: 12.675862780)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 120.063 usec -> 2021-08-20T16:50:05.675.856.787 (XO: 12.675860218)

 - Block number: 2 starting at 2021-08-20T16:50:11.479.628.725 (XO: 18.479631408 - 18.479937409, t=37.2 degC)  Rank: 00080
   TM values: Max =   210  Min =  -240  Ave =    -4.52  Std =    22.96
   Min TM value:-240 at an offset of 110.825 usec -> 2021-08-20T16:50:11.479.739.550 (XO: 18.479742233)
   Max TM value:210 at an offset of 125.150 usec -> 2021-08-20T16:50:11.479.753.875 (XO: 18.479756558)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 124.988 usec -> 2021-08-20T16:50:11.479.753.712 (XO: 18.479756396)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 122.350 usec -> 2021-08-20T16:50:11.479.751.075 (XO: 18.479753758)

 - Block number: 3 starting at 2021-08-20T16:50:31.482.207.725 (XO: 38.482210016 - 38.482516017, t=37.2 degC)  Rank: 00081
   TM values: Max =   236  Min =  -231  Ave =    -4.50  Std =    18.15
   Min TM value:-231 at an offset of 86.788 usec -> 2021-08-20T16:50:31.482.294.512 (XO: 38.482296804)
   Max TM value:236 at an offset of 84.600 usec -> 2021-08-20T16:50:31.482.292.325 (XO: 38.482294617)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 84.463 usec -> 2021-08-20T16:50:31.482.292.187 (XO: 38.482294479)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 86.600 usec -> 2021-08-20T16:50:31.482.294.325 (XO: 38.482296617)
