-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun May 21 23:56:46 2023 UTC
-- File 20230521_174636_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 2.534982 to 32.392822
-each separately from 2s to 32s and from 76937us to 535271us.
   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, ...
      17.541666 in 1 packets: 18
      12.315307 in 1 packets: 36
MIU packet time from 2023-05-21T17:46:41.534.982.000 to 2023-05-21T17:47:11.392.822.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, ...
      17.541666 in 1 packets: 18
      12.315307 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 3.8587612 to 33.8586503
   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, ...
      17.9999335 in 1 packets: 18
      11.9999556 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C1 -> 37.2 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 20230521_174636_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.3937444 to 4.3940334
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.5415990  -- OK for SL --
   MIU time from 2023-05-21T17:46:41.534.982.000 to 2023-05-21T17:46:41.535.271.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.541666

 - 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:
      61 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.9356324 to 21.9359214
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.3152630  -- OK for SL --
   MIU time from 2023-05-21T17:46:59.076.937.000 to 2023-05-21T17:46:59.077.226.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.315307

 - 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:
      46 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.2511844 to 34.2514734
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-21T17:47:11.392.533.000 to 2023-05-21T17:47:11.392.822.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 = 2, 32bit 10MHz counter = 4.393744400 corrected by 40bit 10MHz counter of 3.858761200 obtained at 1Hz counter of 2. Result: 2.534985126
--
   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: 2023-05-21T17:46:41.534.841.725
   Max 1st sample MIU time among all SL packets: 2023-05-21T17:47:11.392.681.725
   Min 1st sample XO time among all SL packets: 2.534844850
   Max 1st sample XO time among all SL packets: 32.392684278
   TM values from -456 to 318 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-21T17:46:41.534.841.725 (XO: 2.534844850 - 2.535150852, t=37.2 degC)  Rank: 00077
   TM values: Max =   162  Min =  -173  Ave =    -4.42  Std =    60.17
   Min TM value:-173 at an offset of 163.476 usec -> 2023-05-21T17:46:41.535.005.200 (XO: 2.535008326)
   Max TM value:162 at an offset of 142.338 usec -> 2023-05-21T17:46:41.534.984.063 (XO: 2.534987188)
   Max dTM/dt [1/us]:1.43e+03 at an offset of 154.801 usec -> 2023-05-21T17:46:41.534.996.525 (XO: 2.534999651)
   Min dTM/dt [1/us]:-1.55e+03 at an offset of 162.638 usec -> 2023-05-21T17:46:41.535.004.363 (XO: 2.535007489)

 - Block number: 2 starting at 2023-05-21T17:46:59.076.796.725 (XO: 20.076797709 - 20.077103710, t=37.2 degC)  Rank: 00061
   TM values: Max =   318  Min =  -456  Ave =    -4.43  Std =    71.29
   Min TM value:-456 at an offset of 81.838 usec -> 2023-05-21T17:46:59.076.878.562 (XO: 20.076879547)
   Max TM value:318 at an offset of 304.276 usec -> 2023-05-21T17:46:59.077.101.001 (XO: 20.077101985)
   Max dTM/dt [1/us]:4.51e+03 at an offset of 304.126 usec -> 2023-05-21T17:46:59.077.100.851 (XO: 20.077101835)
   Min dTM/dt [1/us]:-4.56e+03 at an offset of 249.826 usec -> 2023-05-21T17:46:59.077.046.550 (XO: 20.077047535)

 - Block number: 3 starting at 2023-05-21T17:47:11.392.392.725 (XO: 32.392395277 - 32.392701278, t=37.2 degC)  Rank: 00046
   TM values: Max =   213  Min =  -181  Ave =    -4.48  Std =    23.74
   Min TM value:-181 at an offset of 125.638 usec -> 2023-05-21T17:47:11.392.518.362 (XO: 32.392520915)
   Max TM value:213 at an offset of 127.838 usec -> 2023-05-21T17:47:11.392.520.562 (XO: 32.392523115)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 127.688 usec -> 2023-05-21T17:47:11.392.520.412 (XO: 32.392522965)
   Min dTM/dt [1/us]:-1.58e+03 at an offset of 127.950 usec -> 2023-05-21T17:47:11.392.520.675 (XO: 32.392523227)
