-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 16 12:45:52 2023 UTC
-- File 20220610_123820_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 12.299513 to 36.780028
-each separately from 12s to 36s and from 299513us to 780028us.
   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, ...
      5.079616 in 1 packets: 18
      19.400032 in 1 packets: 36
MIU packet time from 2022-06-10T12:38:35.299.513.000 to 2022-06-10T12:38:59.780.028.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, ...
      5.079616 in 1 packets: 18
      19.400032 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 13.6540641 to 37.6539811
   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.9999827 in 1 packets: 18
      18.9999343 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 53.7 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C4 -> 42.0 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 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20220610_123820_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.9535780 to 13.9538670
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.0795990  -- OK for SL --
   MIU time from 2022-06-10T12:38:35.299.513.000 to 2022-06-10T12:38:35.299.802.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.079616

 - 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.0334660 to 19.0337550
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.3999670  -- OK for SL --
   MIU time from 2022-06-10T12:38:40.379.418.000 to 2022-06-10T12:38:40.379.707.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.400032

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.4337220 to 38.4340110
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-10T12:38:59.779.739.000 to 2022-06-10T12:38:59.780.028.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 = 12, 32bit 10MHz counter = 13.953578000 corrected by 40bit 10MHz counter of 13.654064100 obtained at 1Hz counter of 12. Result: 12.299514918
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2022-06-10T12:38:35.299.372.725
   Max 1st sample MIU time among all SL packets: 2022-06-10T12:38:59.779.887.725
   Min 1st sample XO time among all SL packets: 12.299374643
   Max 1st sample XO time among all SL packets: 36.779892355
   TM values from -254 to 246 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-10T12:38:35.299.372.725 (XO: 12.299374643 - 12.299680644, t=42.0 degC)  Rank: 00083
   TM values: Max =   237  Min =  -225  Ave =    -4.55  Std =    24.74
   Min TM value:-225 at an offset of 116.988 usec -> 2022-06-10T12:38:35.299.489.712 (XO: 12.299491631)
   Max TM value:237 at an offset of 119.400 usec -> 2022-06-10T12:38:35.299.492.125 (XO: 12.299494043)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 147.888 usec -> 2022-06-10T12:38:35.299.520.613 (XO: 12.299522531)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 116.875 usec -> 2022-06-10T12:38:35.299.489.600 (XO: 12.299491518)

 - Block number: 2 starting at 2022-06-10T12:38:40.379.277.725 (XO: 17.379280215 - 17.379586216, t=42.0 degC)  Rank: 00077
   TM values: Max =   246  Min =  -254  Ave =    -4.46  Std =    29.53
   Min TM value:-254 at an offset of 145.400 usec -> 2022-06-10T12:38:40.379.423.125 (XO: 17.379425615)
   Max TM value:246 at an offset of 119.350 usec -> 2022-06-10T12:38:40.379.397.075 (XO: 17.379399565)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 119.238 usec -> 2022-06-10T12:38:40.379.396.962 (XO: 17.379399452)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 188.351 usec -> 2022-06-10T12:38:40.379.466.075 (XO: 17.379468565)

 - Block number: 3 starting at 2022-06-10T12:38:59.779.598.725 (XO: 36.779603354 - 36.779909355, t=42.0 degC)  Rank: 00076
   TM values: Max =   224  Min =  -253  Ave =    -4.62  Std =    26.26
   Min TM value:-253 at an offset of 189.713 usec -> 2022-06-10T12:38:59.779.788.438 (XO: 36.779793067)
   Max TM value:224 at an offset of 119.713 usec -> 2022-06-10T12:38:59.779.718.437 (XO: 36.779723067)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 119.575 usec -> 2022-06-10T12:38:59.779.718.300 (XO: 36.779722929)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 117.175 usec -> 2022-06-10T12:38:59.779.715.900 (XO: 36.779720529)
