-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 18:43:01 2022 UTC
-- File 20220207_204032_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 3.610758 to 45.192107
-each separately from 3s to 45s and from 191818us to 951337us.
   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.340001 in 1 packets: 18
      14.420164 in 1 packets: 36
      12.820028 in 1 packets: 54
MIU packet time from 2022-02-07T20:40:38.610.758.000 to 2022-02-07T20:41:20.192.107.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.340001 in 1 packets: 18
      14.420164 in 1 packets: 36
      12.820028 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 4.9008753 to 46.9007268
   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.9999506 in 1 packets: 18
      14.9999469 in 1 packets: 36
      12.9999540 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      06 -> 47.2 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      04 -> 49.8 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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: 
      1 in 1 packets: 1
      2 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: 
      1 in 1 packets: 1
      2 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 20220207_204032_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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.5116343 to 5.5119233
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.3399510  -- OK for SL --
   MIU time from 2022-02-07T20:40:38.610.758.000 to 2022-02-07T20:40:38.611.047.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.340001

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.8518743 to 19.8521633
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4201110  -- OK for SL --
   MIU time from 2022-02-07T20:40:52.951.048.000 to 2022-02-07T20:40:52.951.337.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.420164

 - 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 34.2722743 to 34.2725633
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.8199830  -- OK for SL --
   MIU time from 2022-02-07T20:41:07.371.501.000 to 2022-02-07T20:41:07.371.790.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.820028

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.0925463 to 47.0928353
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-07T20:41:20.191.818.000 to 2022-02-07T20:41:20.192.107.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 = 3, 32bit 10MHz counter = 5.511634300 corrected by 40bit 10MHz counter of 4.900875300 obtained at 1Hz counter of 3. Result: 3.610761138
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-02-07T20:40:38.610.617.725
   Max 1st sample MIU time among all SL packets: 2022-02-07T20:41:20.191.966.725
   Min 1st sample XO time among all SL packets: 3.610620862
   Max 1st sample XO time among all SL packets: 45.191968897
   TM values from -284 to 267 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-07T20:40:38.610.617.725 (XO: 3.610620862 - 3.610926863, t=37.2 degC)  Rank: 00088
   TM values: Max =   207  Min =  -284  Ave =    -4.57  Std =    28.68
   Min TM value:-284 at an offset of 124.313 usec -> 2022-02-07T20:40:38.610.742.037 (XO: 3.610745175)
   Max TM value:207 at an offset of 121.875 usec -> 2022-02-07T20:40:38.610.739.600 (XO: 3.610742738)
   Max dTM/dt [1/us]:2.65e+03 at an offset of 124.450 usec -> 2022-02-07T20:40:38.610.742.175 (XO: 3.610745313)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 122.025 usec -> 2022-02-07T20:40:38.610.739.750 (XO: 3.610742888)

 - Block number: 2 starting at 2022-02-07T20:40:52.950.907.725 (XO: 17.950911453 - 17.951217454, t=37.2 degC)  Rank: 00077
   TM values: Max =   218  Min =  -274  Ave =    -4.57  Std =    27.66
   Min TM value:-274 at an offset of 122.663 usec -> 2022-02-07T20:40:52.951.030.387 (XO: 17.951034116)
   Max TM value:218 at an offset of 149.526 usec -> 2022-02-07T20:40:52.951.057.250 (XO: 17.951060979)
   Max dTM/dt [1/us]:2.38e+03 at an offset of 152.088 usec -> 2022-02-07T20:40:52.951.059.813 (XO: 17.951063541)
   Min dTM/dt [1/us]:-2.74e+03 at an offset of 120.338 usec -> 2022-02-07T20:40:52.951.028.062 (XO: 17.951031791)

 - Block number: 3 starting at 2022-02-07T20:41:07.371.360.725 (XO: 32.371362525 - 32.371668526, t=37.2 degC)  Rank: 00079
   TM values: Max =   183  Min =  -271  Ave =    -4.55  Std =    25.02
   Min TM value:-271 at an offset of 122.150 usec -> 2022-02-07T20:41:07.371.482.875 (XO: 32.371484675)
   Max TM value:183 at an offset of 117.963 usec -> 2022-02-07T20:41:07.371.478.687 (XO: 32.371480488)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 122.288 usec -> 2022-02-07T20:41:07.371.483.012 (XO: 32.371484813)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 119.825 usec -> 2022-02-07T20:41:07.371.480.550 (XO: 32.371482350)

 - Block number: 4 starting at 2022-02-07T20:41:20.191.677.725 (XO: 45.191679896 - 45.191985897, t=37.2 degC)  Rank: 00076
   TM values: Max =   267  Min =  -251  Ave =    -4.55  Std =    23.28
   Min TM value:-251 at an offset of 125.875 usec -> 2022-02-07T20:41:20.191.803.600 (XO: 45.191805771)
   Max TM value:267 at an offset of 123.463 usec -> 2022-02-07T20:41:20.191.801.187 (XO: 45.191803359)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 121.475 usec -> 2022-02-07T20:41:20.191.799.200 (XO: 45.191801371)
   Min dTM/dt [1/us]:-2.68e+03 at an offset of 123.575 usec -> 2022-02-07T20:41:20.191.801.300 (XO: 45.191803471)
