-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Nov  4 11:01:19 2021 UTC
-- File 20210706_025245_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 4.649815 to 30.630483
-each separately from 4s to 30s and from 60043us to 650104us.
   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, ...
      14.409939 in 1 packets: 18
      11.569862 in 1 packets: 36
MIU packet time from 2021-07-06T02:52:48.649.815.000 to 2021-07-06T02:53:14.630.483.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, ...
      14.409939 in 1 packets: 18
      11.569862 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 5.9455693 to 31.9454783
   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, ...
      14.9999475 in 1 packets: 18
      10.9999615 in 1 packets: 36
Temperature FPGA: 
      06 -> 47.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C0 -> 35.6 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20210706_025245_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.5953848 to 6.5956738
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4098870  -- OK for SL --
   MIU time from 2021-07-06T02:52:48.649.815.000 to 2021-07-06T02:52:48.650.104.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.409939

 - 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 21.0055608 to 21.0058498
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.5698230  -- OK for SL --
   MIU time from 2021-07-06T02:53:03.060.043.000 to 2021-07-06T02:53:03.060.332.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.569862

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.5756728 to 32.5759618
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-06T02:53:14.630.194.000 to 2021-07-06T02:53:14.630.483.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 = 4, 32bit 10MHz counter = 6.595384800 corrected by 40bit 10MHz counter of 5.945569300 obtained at 1Hz counter of 4. Result: 4.649817774
--
   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: 2021-07-06T02:52:48.649.674.725
   Max 1st sample MIU time among all SL packets: 2021-07-06T02:53:14.630.342.725
   Min 1st sample XO time among all SL packets: 4.649677499
   Max 1st sample XO time among all SL packets: 30.630345431
   TM values from -261 to 228 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-06T02:52:48.649.674.725 (XO: 4.649677499 - 4.649983500, t=35.6 degC)  Rank: 00078
   TM values: Max =   228  Min =  -254  Ave =    -4.40  Std =    21.32
   Min TM value:-254 at an offset of 115.625 usec -> 2021-07-06T02:52:48.649.790.350 (XO: 4.649793124)
   Max TM value:228 at an offset of 131.600 usec -> 2021-07-06T02:52:48.649.806.325 (XO: 4.649809099)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 131.500 usec -> 2021-07-06T02:52:48.649.806.225 (XO: 4.649808999)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 128.725 usec -> 2021-07-06T02:52:48.649.803.450 (XO: 4.649806224)

 - Block number: 2 starting at 2021-07-06T02:53:03.059.902.725 (XO: 19.059903935 - 19.060209936, t=35.6 degC)  Rank: 00077
   TM values: Max =   187  Min =  -261  Ave =    -4.53  Std =    20.04
   Min TM value:-261 at an offset of 128.238 usec -> 2021-07-06T02:53:03.060.030.962 (XO: 19.060032173)
   Max TM value:187 at an offset of 127.963 usec -> 2021-07-06T02:53:03.060.030.687 (XO: 19.060031898)
   Max dTM/dt [1/us]:1.45e+03 at an offset of 130.750 usec -> 2021-07-06T02:53:03.060.033.475 (XO: 19.060034685)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 128.100 usec -> 2021-07-06T02:53:03.060.030.825 (XO: 19.060032035)

 - Block number: 3 starting at 2021-07-06T02:53:14.630.053.725 (XO: 30.630056430 - 30.630362431, t=35.6 degC)  Rank: 00082
   TM values: Max =   215  Min =  -252  Ave =    -4.49  Std =    25.07
   Min TM value:-252 at an offset of 119.925 usec -> 2021-07-06T02:53:14.630.173.650 (XO: 30.630176356)
   Max TM value:215 at an offset of 119.638 usec -> 2021-07-06T02:53:14.630.173.362 (XO: 30.630176068)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 162.076 usec -> 2021-07-06T02:53:14.630.215.800 (XO: 30.630218506)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 177.801 usec -> 2021-07-06T02:53:14.630.231.525 (XO: 30.630234231)
