-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat May 13 00:56:54 2023 UTC
-- File 20230512_172122_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 10.902607 to 30.188603
-each separately from 10s to 30s and from 188314us to 902896us.
   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, ...
      4.769634 in 1 packets: 18
      14.515495 in 1 packets: 36
MIU packet time from 2023-05-12T17:21:35.902.607.000 to 2023-05-12T17:21:55.188.603.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, ...
      4.769634 in 1 packets: 18
      14.515495 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 11.5372280 to 31.5371529
   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, ...
      4.9999812 in 1 packets: 18
      14.9999437 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      02 -> 52.4 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C2 -> 38.8 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 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
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 20230512_172122_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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.4398357 to 12.4401247
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.7696150  -- OK for SL --
   MIU time from 2023-05-12T17:21:35.902.607.000 to 2023-05-12T17:21:35.902.896.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.769634

 - 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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.2097397 to 17.2100287
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.5154390  -- OK for SL --
   MIU time from 2023-05-12T17:21:40.672.530.000 to 2023-05-12T17:21:40.672.819.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.515495

 - 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:
      48 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.7254677 to 31.7257567
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-12T17:21:55.188.314.000 to 2023-05-12T17:21:55.188.603.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 = 10, 32bit 10MHz counter = 12.439835700 corrected by 40bit 10MHz counter of 11.537228000 obtained at 1Hz counter of 10. Result: 10.902611130
--
   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.999996200 - 0.999996200
   Min 1st sample MIU time among all SL packets: 2023-05-12T17:21:35.902.466.725
   Max 1st sample MIU time among all SL packets: 2023-05-12T17:21:55.188.462.725
   Min 1st sample XO time among all SL packets: 10.902470854
   Max 1st sample XO time among all SL packets: 30.188464241
   TM values from -286 to 262 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-12T17:21:35.902.466.725 (XO: 10.902470854 - 10.902776856, t=38.8 degC)  Rank: 00058
   TM values: Max =   262  Min =  -286  Ave =    -4.33  Std =    49.01
   Min TM value:-286 at an offset of 146.513 usec -> 2023-05-12T17:21:35.902.613.238 (XO: 10.902617367)
   Max TM value:262 at an offset of 146.213 usec -> 2023-05-12T17:21:35.902.612.938 (XO: 10.902617067)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 132.676 usec -> 2023-05-12T17:21:35.902.599.400 (XO: 10.902603530)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 146.338 usec -> 2023-05-12T17:21:35.902.613.063 (XO: 10.902617192)

 - Block number: 2 starting at 2023-05-12T17:21:40.672.389.725 (XO: 15.672392780 - 15.672698781, t=38.8 degC)  Rank: 00058
   TM values: Max =   137  Min =  -141  Ave =    -4.43  Std =    47.06
   Min TM value:-141 at an offset of 136.326 usec -> 2023-05-12T17:21:40.672.526.050 (XO: 15.672529106)
   Max TM value:137 at an offset of 111.738 usec -> 2023-05-12T17:21:40.672.501.462 (XO: 15.672504518)
   Max dTM/dt [1/us]:7.22e+02 at an offset of 168.476 usec -> 2023-05-12T17:21:40.672.558.200 (XO: 15.672561256)
   Min dTM/dt [1/us]:-6.94e+02 at an offset of 184.976 usec -> 2023-05-12T17:21:40.672.574.700 (XO: 15.672577756)

 - Block number: 3 starting at 2023-05-12T17:21:55.188.173.725 (XO: 30.188175240 - 30.188481241, t=38.8 degC)  Rank: 00048
   TM values: Max =   139  Min =  -148  Ave =    -4.31  Std =    50.17
   Min TM value:-148 at an offset of 141.301 usec -> 2023-05-12T17:21:55.188.315.025 (XO: 30.188316541)
   Max TM value:139 at an offset of 130.400 usec -> 2023-05-12T17:21:55.188.304.125 (XO: 30.188305641)
   Max dTM/dt [1/us]:8.39e+02 at an offset of 130.988 usec -> 2023-05-12T17:21:55.188.304.712 (XO: 30.188306228)
   Min dTM/dt [1/us]:-7.76e+02 at an offset of 103.638 usec -> 2023-05-12T17:21:55.188.277.362 (XO: 30.188278878)
