-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 04:22:56 2023 UTC
-- File 20220706_200041_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 7.324920 to 49.770274
-each separately from 7s to 49s and from 123183us to 961221us.
   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.797974 in 1 packets: 18
      19.837460 in 1 packets: 36
      7.808764 in 1 packets: 54
MIU packet time from 2022-07-06T20:00:51.324.920.000 to 2022-07-06T20:01:33.770.274.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.797974 in 1 packets: 18
      19.837460 in 1 packets: 36
      7.808764 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 8.6618500 to 50.6616975
   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, ...
      14.9999455 in 1 packets: 18
      18.9999310 in 1 packets: 36
      7.9999710 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 72 packets (all packets)
Temperature XO: 
      C2 -> 38.8 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20220706_200041_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.9867712 to 8.9870602
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.7979190  -- OK for SL --
   MIU time from 2022-07-06T20:00:51.324.920.000 to 2022-07-06T20:00:51.325.209.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.797974

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.7849792 to 23.7852682
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.8373910  -- OK for SL --
   MIU time from 2022-07-06T20:01:06.123.183.000 to 2022-07-06T20:01:06.123.472.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.837460

 - 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:
      91 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.6226592 to 43.6229482
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.8087350  -- OK for SL --
   MIU time from 2022-07-06T20:01:25.960.932.000 to 2022-07-06T20:01:25.961.221.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.808764

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.4316832 to 51.4319722
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-06T20:01:33.769.985.000 to 2022-07-06T20:01:33.770.274.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 = 7, 32bit 10MHz counter = 8.986771200 corrected by 40bit 10MHz counter of 8.661850000 obtained at 1Hz counter of 7. Result: 7.324922370
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-07-06T20:00:51.324.779.725
   Max 1st sample MIU time among all SL packets: 2022-07-06T20:01:33.770.133.725
   Min 1st sample XO time among all SL packets: 7.324782094
   Max 1st sample XO time among all SL packets: 49.770137197
   TM values from -357 to 286 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-06T20:00:51.324.779.725 (XO: 7.324782094 - 7.325088095, t=38.8 degC)  Rank: 00077
   TM values: Max =   265  Min =  -271  Ave =    -4.30  Std =    32.10
   Min TM value:-271 at an offset of 115.925 usec -> 2022-07-06T20:00:51.324.895.650 (XO: 7.324898020)
   Max TM value:265 at an offset of 113.513 usec -> 2022-07-06T20:00:51.324.893.237 (XO: 7.324895607)
   Max dTM/dt [1/us]:2.48e+03 at an offset of 115.988 usec -> 2022-07-06T20:00:51.324.895.712 (XO: 7.324898082)
   Min dTM/dt [1/us]:-2.86e+03 at an offset of 113.575 usec -> 2022-07-06T20:00:51.324.893.300 (XO: 7.324895670)

 - Block number: 2 starting at 2022-07-06T20:01:06.123.042.725 (XO: 22.123043868 - 22.123349869, t=38.8 degC)  Rank: 00083
   TM values: Max =   286  Min =  -357  Ave =    -4.32  Std =    54.54
   Min TM value:-357 at an offset of 111.825 usec -> 2022-07-06T20:01:06.123.154.550 (XO: 22.123155693)
   Max TM value:286 at an offset of 111.463 usec -> 2022-07-06T20:01:06.123.154.187 (XO: 22.123155331)
   Max dTM/dt [1/us]:3.04e+03 at an offset of 114.113 usec -> 2022-07-06T20:01:06.123.156.837 (XO: 22.123157981)
   Min dTM/dt [1/us]:-2.93e+03 at an offset of 111.600 usec -> 2022-07-06T20:01:06.123.154.325 (XO: 22.123155468)

 - Block number: 3 starting at 2022-07-06T20:01:25.960.791.725 (XO: 41.960795884 - 41.961101885, t=38.8 degC)  Rank: 00091
   TM values: Max =   271  Min =  -357  Ave =    -4.18  Std =    48.93
   Min TM value:-357 at an offset of 118.050 usec -> 2022-07-06T20:01:25.960.909.775 (XO: 41.960913934)
   Max TM value:271 at an offset of 118.300 usec -> 2022-07-06T20:01:25.960.910.025 (XO: 41.960914184)
   Max dTM/dt [1/us]:3.58e+03 at an offset of 118.175 usec -> 2022-07-06T20:01:25.960.909.900 (XO: 41.960914059)
   Min dTM/dt [1/us]:-2.74e+03 at an offset of 115.763 usec -> 2022-07-06T20:01:25.960.907.487 (XO: 41.960911647)

 - Block number: 4 starting at 2022-07-06T20:01:33.769.844.725 (XO: 49.769848196 - 49.770154198, t=38.8 degC)  Rank: 00074
   TM values: Max =   245  Min =  -296  Ave =    -4.41  Std =    42.23
   Min TM value:-296 at an offset of 116.125 usec -> 2022-07-06T20:01:33.769.960.850 (XO: 49.769964322)
   Max TM value:245 at an offset of 118.538 usec -> 2022-07-06T20:01:33.769.963.262 (XO: 49.769966734)
   Max dTM/dt [1/us]:2.37e+03 at an offset of 118.413 usec -> 2022-07-06T20:01:33.769.963.137 (XO: 49.769966609)
   Min dTM/dt [1/us]:-2.54e+03 at an offset of 116.000 usec -> 2022-07-06T20:01:33.769.960.725 (XO: 49.769964197)
