-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar  4 16:57:10 2022 UTC
-- File 20220201_030536_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 11.123886 to 45.104601
-each separately from 11s to 45s and from 64105us to 124264us.
   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, ...
      15.999800 in 1 packets: 18
      4.939841 in 1 packets: 36
      13.039918 in 1 packets: 54
MIU packet time from 2022-02-01T03:05:50.123.886.000 to 2022-02-01T03:06:24.104.601.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, ...
      15.999800 in 1 packets: 18
      4.939841 in 1 packets: 36
      13.039918 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 13.2364703 to 47.2363476
   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, ...
      15.9999422 in 1 packets: 18
      4.9999820 in 1 packets: 36
      12.9999531 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20220201_030536_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.3603569 to 13.3606459
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.9997430  -- OK for SL --
   MIU time from 2022-02-01T03:05:50.123.886.000 to 2022-02-01T03:05:50.124.175.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.999800

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.3603889 to 29.3606779
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.9398230  -- OK for SL --
   MIU time from 2022-02-01T03:06:06.123.975.000 to 2022-02-01T03:06:06.124.264.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.939841

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.3005009 to 34.3007899
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.0398710  -- OK for SL --
   MIU time from 2022-02-01T03:06:11.064.105.000 to 2022-02-01T03:06:11.064.394.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.039918

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.3406609 to 47.3409499
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-01T03:06:24.104.312.000 to 2022-02-01T03:06:24.104.601.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 = 11, 32bit 10MHz counter = 13.360356900 corrected by 40bit 10MHz counter of 13.236470300 obtained at 1Hz counter of 11. Result: 11.123887046
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-02-01T03:05:50.123.745.725
   Max 1st sample MIU time among all SL packets: 2022-02-01T03:06:24.104.460.725
   Min 1st sample XO time among all SL packets: 11.123746770
   Max 1st sample XO time among all SL packets: 45.104462401
   TM values from -272 to 200 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-01T03:05:50.123.745.725 (XO: 11.123746770 - 11.124052772, t=35.6 degC)  Rank: 00084
   TM values: Max =   200  Min =  -254  Ave =    -4.48  Std =    18.53
   Min TM value:-254 at an offset of 108.163 usec -> 2022-02-01T03:05:50.123.853.887 (XO: 11.123854933)
   Max TM value:200 at an offset of 105.675 usec -> 2022-02-01T03:05:50.123.851.400 (XO: 11.123852446)
   Max dTM/dt [1/us]:2.32e+03 at an offset of 108.263 usec -> 2022-02-01T03:05:50.123.853.987 (XO: 11.123855033)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 105.788 usec -> 2022-02-01T03:05:50.123.851.512 (XO: 11.123852558)

 - Block number: 2 starting at 2022-02-01T03:06:06.123.834.725 (XO: 27.123836571 - 27.124142572, t=35.6 degC)  Rank: 00075
   TM values: Max =   195  Min =  -245  Ave =    -4.55  Std =    25.51
   Min TM value:-245 at an offset of 120.538 usec -> 2022-02-01T03:06:06.123.955.262 (XO: 27.123957109)
   Max TM value:195 at an offset of 118.038 usec -> 2022-02-01T03:06:06.123.952.762 (XO: 27.123954609)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 120.638 usec -> 2022-02-01T03:06:06.123.955.362 (XO: 27.123957209)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 118.138 usec -> 2022-02-01T03:06:06.123.952.862 (XO: 27.123954709)

 - Block number: 3 starting at 2022-02-01T03:06:11.063.964.725 (XO: 32.063966362 - 32.064272363, t=35.6 degC)  Rank: 00078
   TM values: Max =   187  Min =  -272  Ave =    -4.54  Std =    23.49
   Min TM value:-272 at an offset of 120.975 usec -> 2022-02-01T03:06:11.064.085.700 (XO: 32.064087337)
   Max TM value:187 at an offset of 118.500 usec -> 2022-02-01T03:06:11.064.083.225 (XO: 32.064084862)
   Max dTM/dt [1/us]:2.44e+03 at an offset of 121.088 usec -> 2022-02-01T03:06:11.064.085.812 (XO: 32.064087450)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 118.638 usec -> 2022-02-01T03:06:11.064.083.362 (XO: 32.064085000)

 - Block number: 4 starting at 2022-02-01T03:06:24.104.171.725 (XO: 45.104173400 - 45.104479401, t=35.6 degC)  Rank: 00079
   TM values: Max =   195  Min =  -224  Ave =    -4.47  Std =    16.80
   Min TM value:-224 at an offset of 123.913 usec -> 2022-02-01T03:06:24.104.295.637 (XO: 45.104297313)
   Max TM value:195 at an offset of 121.438 usec -> 2022-02-01T03:06:24.104.293.162 (XO: 45.104294838)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 124.038 usec -> 2022-02-01T03:06:24.104.295.762 (XO: 45.104297438)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 121.550 usec -> 2022-02-01T03:06:24.104.293.275 (XO: 45.104294950)
