-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jun  4 07:11:03 2023 UTC
-- File 20230604_011541_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.710013 to 43.210328
-each separately from 4s to 43s and from 210039us to 710302us.
   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, ...
      24.929752 in 1 packets: 18
      13.569696 in 1 packets: 36
MIU packet time from 2023-06-04T01:15:48.710.013.000 to 2023-06-04T01:16:27.210.328.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, ...
      24.929752 in 1 packets: 18
      13.569696 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.8416622 to 44.8415243
   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, ...
      24.9999116 in 1 packets: 18
      13.9999505 in 1 packets: 36
Temperature FPGA: 
      02 -> 52.4 degC in 54 packets (all packets)
Temperature XO: 
      C3 -> 40.4 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 20230604_011541_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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.5516767 to 6.5519657
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.9296630  -- OK for SL --
   MIU time from 2023-06-04T01:15:48.710.013.000 to 2023-06-04T01:15:48.710.302.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.929752

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.4816287 to 31.4819177
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.5696470  -- OK for SL --
   MIU time from 2023-06-04T01:16:13.640.054.000 to 2023-06-04T01:16:13.640.343.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.569696

 - 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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.0515647 to 45.0518537
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-04T01:16:27.210.039.000 to 2023-06-04T01:16:27.210.328.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.551676700 corrected by 40bit 10MHz counter of 5.841662200 obtained at 1Hz counter of 4. Result: 4.710017056
--
   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: 2023-06-04T01:15:48.709.872.725
   Max 1st sample MIU time among all SL packets: 2023-06-04T01:16:27.210.187.725
   Min 1st sample XO time among all SL packets: 4.709876781
   Max 1st sample XO time among all SL packets: 43.210189882
   TM values from -257 to 191 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-04T01:15:48.709.872.725 (XO: 4.709876781 - 4.710182782, t=40.4 degC)  Rank: 00075
   TM values: Max =   183  Min =  -251  Ave =    -4.56  Std =    17.65
   Min TM value:-251 at an offset of 120.538 usec -> 2023-06-04T01:15:48.709.993.262 (XO: 4.709997318)
   Max TM value:183 at an offset of 120.263 usec -> 2023-06-04T01:15:48.709.992.987 (XO: 4.709997043)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 122.938 usec -> 2023-06-04T01:15:48.709.995.662 (XO: 4.709999718)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 120.375 usec -> 2023-06-04T01:15:48.709.993.100 (XO: 4.709997156)

 - Block number: 2 starting at 2023-06-04T01:16:13.639.913.725 (XO: 29.639916929 - 29.640222930, t=40.4 degC)  Rank: 00076
   TM values: Max =   191  Min =  -246  Ave =    -4.53  Std =    23.50
   Min TM value:-246 at an offset of 119.425 usec -> 2023-06-04T01:16:13.640.033.150 (XO: 29.640036354)
   Max TM value:191 at an offset of 124.563 usec -> 2023-06-04T01:16:13.640.038.287 (XO: 29.640041492)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 121.925 usec -> 2023-06-04T01:16:13.640.035.650 (XO: 29.640038854)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 62.500 usec -> 2023-06-04T01:16:13.639.976.225 (XO: 29.639979429)

 - Block number: 3 starting at 2023-06-04T01:16:27.209.898.725 (XO: 43.209900881 - 43.210206882, t=40.4 degC)  Rank: 00090
   TM values: Max =   190  Min =  -257  Ave =    -4.46  Std =    19.47
   Min TM value:-257 at an offset of 118.588 usec -> 2023-06-04T01:16:27.210.017.312 (XO: 43.210019469)
   Max TM value:190 at an offset of 123.575 usec -> 2023-06-04T01:16:27.210.022.300 (XO: 43.210024456)
   Max dTM/dt [1/us]:1.51e+03 at an offset of 121.175 usec -> 2023-06-04T01:16:27.210.019.900 (XO: 43.210022056)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 106.175 usec -> 2023-06-04T01:16:27.210.004.900 (XO: 43.210007056)
