-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 22 22:54:09 2021 UTC
-- File 20210822_150936_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 14.276974 to 32.221883
-each separately from 14s to 32s and from 149023us to 277263us.
   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, ...
      9.871760 in 1 packets: 18
      8.072282 in 1 packets: 36
MIU packet time from 2021-08-22T15:09:53.276.974.000 to 2021-08-22T15:10:11.221.883.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, ...
      9.871760 in 1 packets: 18
      8.072282 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 15.9262627 to 33.9262031
   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, ...
      9.9999669 in 1 packets: 18
      7.9999735 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210822_150936_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.2032381 to 16.2035271
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.8717270  -- OK for SL --
   MIU time from 2021-08-22T15:09:53.276.974.000 to 2021-08-22T15:09:53.277.263.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.871760

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.0752541 to 26.0755431
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.0722550  -- OK for SL --
   MIU time from 2021-08-22T15:10:03.149.023.000 to 2021-08-22T15:10:03.149.312.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.072282

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.1477981 to 34.1480871
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-22T15:10:11.221.594.000 to 2021-08-22T15:10:11.221.883.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 = 14, 32bit 10MHz counter = 16.203238100 corrected by 40bit 10MHz counter of 15.926262700 obtained at 1Hz counter of 14. Result: 14.276976314
--
   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-22T15:09:53.276.833.725
   Max 1st sample MIU time among all SL packets: 2021-08-22T15:10:11.221.742.725
   Min 1st sample XO time among all SL packets: 14.276836039
   Max 1st sample XO time among all SL packets: 32.221744457
   TM values from -270 to 231 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-22T15:09:53.276.833.725 (XO: 14.276836039 - 14.277142040, t=37.2 degC)  Rank: 00083
   TM values: Max =   229  Min =  -268  Ave =    -4.48  Std =    18.67
   Min TM value:-268 at an offset of 112.450 usec -> 2021-08-22T15:09:53.276.946.175 (XO: 14.276948489)
   Max TM value:229 at an offset of 110.363 usec -> 2021-08-22T15:09:53.276.944.087 (XO: 14.276946401)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 110.250 usec -> 2021-08-22T15:09:53.276.943.975 (XO: 14.276946289)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 112.325 usec -> 2021-08-22T15:09:53.276.946.050 (XO: 14.276948364)

 - Block number: 2 starting at 2021-08-22T15:10:03.148.882.725 (XO: 24.148884716 - 24.149190717, t=37.2 degC)  Rank: 00084
   TM values: Max =   231  Min =  -270  Ave =    -4.44  Std =    33.15
   Min TM value:-270 at an offset of 197.688 usec -> 2021-08-22T15:10:03.149.080.413 (XO: 24.149082404)
   Max TM value:231 at an offset of 113.975 usec -> 2021-08-22T15:10:03.148.996.700 (XO: 24.148998692)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 116.638 usec -> 2021-08-22T15:10:03.148.999.362 (XO: 24.149001354)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 114.088 usec -> 2021-08-22T15:10:03.148.996.812 (XO: 24.148998804)

 - Block number: 3 starting at 2021-08-22T15:10:11.221.453.725 (XO: 32.221455456 - 32.221761457, t=37.2 degC)  Rank: 00077
   TM values: Max =   216  Min =  -226  Ave =    -4.56  Std =    20.03
   Min TM value:-226 at an offset of 111.600 usec -> 2021-08-22T15:10:11.221.565.325 (XO: 32.221567056)
   Max TM value:216 at an offset of 114.100 usec -> 2021-08-22T15:10:11.221.567.825 (XO: 32.221569556)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 113.988 usec -> 2021-08-22T15:10:11.221.567.712 (XO: 32.221569444)
   Min dTM/dt [1/us]:-1.87e+03 at an offset of 111.450 usec -> 2021-08-22T15:10:11.221.565.175 (XO: 32.221566906)
