-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar  4 21:36:49 2022 UTC
-- File 20220201_073556_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 1.297871 to 53.827966
-each separately from 1s to 53s and from 297871us to 827966us.
   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, ...
      14.269106 in 1 packets: 18
      14.900646 in 1 packets: 36
      23.359187 in 1 packets: 54
MIU packet time from 2022-02-01T07:36:00.297.871.000 to 2022-02-01T07:36:52.827.966.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, ...
      14.269106 in 1 packets: 18
      14.900646 in 1 packets: 36
      23.359187 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 2.7957601 to 54.7955710
   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, ...
      13.9999492 in 1 packets: 18
      14.9999454 in 1 packets: 36
      22.9999163 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 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_073556_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.0936319 to 3.0939209
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2690550  -- OK for SL --
   MIU time from 2022-02-01T07:36:00.297.871.000 to 2022-02-01T07:36:00.298.160.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.269106

 - 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 17.3629759 to 17.3632649
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.9005910  -- OK for SL --
   MIU time from 2022-02-01T07:36:14.567.266.000 to 2022-02-01T07:36:14.567.555.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.900646

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.2638559 to 32.2641449
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.3591030  -- OK for SL --
   MIU time from 2022-02-01T07:36:29.468.201.000 to 2022-02-01T07:36:29.468.490.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.359187

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.6232479 to 55.6235369
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-01T07:36:52.827.677.000 to 2022-02-01T07:36:52.827.966.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 = 1, 32bit 10MHz counter = 3.093631900 corrected by 40bit 10MHz counter of 2.795760100 obtained at 1Hz counter of 1. Result: 1.297872872
--
   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-01T07:36:00.297.730.725
   Max 1st sample MIU time among all SL packets: 2022-02-01T07:36:52.827.825.725
   Min 1st sample XO time among all SL packets: 1.297732597
   Max 1st sample XO time among all SL packets: 53.827828605
   TM values from -270 to 250 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-01T07:36:00.297.730.725 (XO: 1.297732597 - 1.298038598, t=37.2 degC)  Rank: 00082
   TM values: Max =   243  Min =  -270  Ave =    -4.44  Std =    23.27
   Min TM value:-270 at an offset of 124.775 usec -> 2022-02-01T07:36:00.297.855.500 (XO: 1.297857372)
   Max TM value:243 at an offset of 122.325 usec -> 2022-02-01T07:36:00.297.853.050 (XO: 1.297854922)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 124.863 usec -> 2022-02-01T07:36:00.297.855.587 (XO: 1.297857460)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 122.425 usec -> 2022-02-01T07:36:00.297.853.150 (XO: 1.297855022)

 - Block number: 2 starting at 2022-02-01T07:36:14.567.125.725 (XO: 15.567128423 - 15.567434425, t=37.2 degC)  Rank: 00080
   TM values: Max =    82  Min =   -95  Ave =    -4.46  Std =    27.40
   Min TM value:-95 at an offset of 106.625 usec -> 2022-02-01T07:36:14.567.232.350 (XO: 15.567235049)
   Max TM value:82 at an offset of 175.463 usec -> 2022-02-01T07:36:14.567.301.188 (XO: 15.567303887)
   Max dTM/dt [1/us]:3.83e+02 at an offset of 186.988 usec -> 2022-02-01T07:36:14.567.312.713 (XO: 15.567315412)
   Min dTM/dt [1/us]:-3.83e+02 at an offset of 238.238 usec -> 2022-02-01T07:36:14.567.363.963 (XO: 15.567366662)

 - Block number: 3 starting at 2022-02-01T07:36:29.468.060.725 (XO: 30.468062610 - 30.468368611, t=37.2 degC)  Rank: 00080
   TM values: Max =   235  Min =  -254  Ave =    -4.48  Std =    27.43
   Min TM value:-254 at an offset of 127.075 usec -> 2022-02-01T07:36:29.468.187.800 (XO: 30.468189685)
   Max TM value:235 at an offset of 122.863 usec -> 2022-02-01T07:36:29.468.183.587 (XO: 30.468185473)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 127.175 usec -> 2022-02-01T07:36:29.468.187.900 (XO: 30.468189785)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 126.988 usec -> 2022-02-01T07:36:29.468.187.712 (XO: 30.468189598)

 - Block number: 4 starting at 2022-02-01T07:36:52.827.536.725 (XO: 53.827539604 - 53.827845605, t=37.2 degC)  Rank: 00078
   TM values: Max =   250  Min =  -262  Ave =    -4.55  Std =    28.72
   Min TM value:-262 at an offset of 125.450 usec -> 2022-02-01T07:36:52.827.662.175 (XO: 53.827665055)
   Max TM value:250 at an offset of 125.213 usec -> 2022-02-01T07:36:52.827.661.937 (XO: 53.827664817)
   Max dTM/dt [1/us]:2.68e+03 at an offset of 127.750 usec -> 2022-02-01T07:36:52.827.664.475 (XO: 53.827667355)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 125.338 usec -> 2022-02-01T07:36:52.827.662.062 (XO: 53.827664942)
