-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jun  3 06:26:10 2023 UTC
-- File 20230602_160326_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 13.739955 to 59.477206
-each separately from 13s to 59s and from 476917us to 888821us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      14.148288 in 1 packets: 18
      15.798775 in 1 packets: 36
      15.789032 in 1 packets: 54
MIU packet time from 2023-06-02T16:03:42.739.955.000 to 2023-06-02T16:04:28.477.206.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      14.148288 in 1 packets: 18
      15.798775 in 1 packets: 36
      15.789032 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 13.8154929 to 59.8153307
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      13.9999507 in 1 packets: 18
      15.9999435 in 1 packets: 36
      15.9999436 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 72 packets (all packets)
Temperature XO: 
      C3 -> 40.4 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 1 packets: 19
      3 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20230602_160326_1227.dat, 4 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 14.5554488 to 14.5557378
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.1482390  -- OK for SL --
   MIU time from 2023-06-02T16:03:42.739.955.000 to 2023-06-02T16:03:42.740.244.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.148288

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.7039768 to 28.7042658
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7987190  -- OK for SL --
   MIU time from 2023-06-02T16:03:56.888.532.000 to 2023-06-02T16:03:56.888.821.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.798775

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.5029848 to 44.5032738
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7889750  -- OK for SL --
   MIU time from 2023-06-02T16:04:12.687.596.000 to 2023-06-02T16:04:12.687.885.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.789032

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.2922488 to 60.2925378
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-02T16:04:28.476.917.000 to 2023-06-02T16:04:28.477.206.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 60 XO calibration points at 1Hz counter from 0 to 59
   --- First point: 1Hz counter = 13, 32bit 10MHz counter = 14.555448800 corrected by 40bit 10MHz counter of 13.815492900 obtained at 1Hz counter of 13. Result: 13.739958564
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2023-06-02T16:03:42.739.814.725
   Max 1st sample MIU time among all SL packets: 2023-06-02T16:04:28.477.065.725
   Min 1st sample XO time among all SL packets: 13.739818288
   Max 1st sample XO time among all SL packets: 59.477068495
   TM values from -271 to 219 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-02T16:03:42.739.814.725 (XO: 13.739818288 - 13.740124289, t=40.4 degC)  Rank: 00083
   TM values: Max =   219  Min =  -261  Ave =    -4.56  Std =    22.43
   Min TM value:-261 at an offset of 84.163 usec -> 2023-06-02T16:03:42.739.898.887 (XO: 13.739902451)
   Max TM value:219 at an offset of 79.838 usec -> 2023-06-02T16:03:42.739.894.562 (XO: 13.739898126)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 79.725 usec -> 2023-06-02T16:03:42.739.894.450 (XO: 13.739898014)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 81.775 usec -> 2023-06-02T16:03:42.739.896.500 (XO: 13.739900064)

 - Block number: 2 starting at 2023-06-02T16:03:56.888.391.725 (XO: 27.888396123 - 27.888702124, t=40.4 degC)  Rank: 00083
   TM values: Max =   176  Min =  -222  Ave =    -4.54  Std =    18.59
   Min TM value:-222 at an offset of 118.175 usec -> 2023-06-02T16:03:56.888.509.900 (XO: 27.888514299)
   Max TM value:176 at an offset of 120.863 usec -> 2023-06-02T16:03:56.888.512.587 (XO: 27.888516986)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 120.725 usec -> 2023-06-02T16:03:56.888.512.450 (XO: 27.888516849)
   Min dTM/dt [1/us]:-1.63e+03 at an offset of 118.013 usec -> 2023-06-02T16:03:56.888.509.737 (XO: 27.888514136)

 - Block number: 3 starting at 2023-06-02T16:04:12.687.455.725 (XO: 43.687459900 - 43.687765901, t=40.4 degC)  Rank: 00080
   TM values: Max =   203  Min =  -271  Ave =    -4.64  Std =    22.37
   Min TM value:-271 at an offset of 119.850 usec -> 2023-06-02T16:04:12.687.575.575 (XO: 43.687579750)
   Max TM value:203 at an offset of 107.288 usec -> 2023-06-02T16:04:12.687.563.012 (XO: 43.687567188)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 122.288 usec -> 2023-06-02T16:04:12.687.578.012 (XO: 43.687582188)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 119.700 usec -> 2023-06-02T16:04:12.687.575.425 (XO: 43.687579600)

 - Block number: 4 starting at 2023-06-02T16:04:28.476.776.725 (XO: 59.476779494 - 59.477085495, t=40.4 degC)  Rank: 00079
   TM values: Max =   192  Min =  -245  Ave =    -4.58  Std =    21.68
   Min TM value:-245 at an offset of 121.625 usec -> 2023-06-02T16:04:28.476.898.350 (XO: 59.476901119)
   Max TM value:192 at an offset of 107.525 usec -> 2023-06-02T16:04:28.476.884.250 (XO: 59.476887019)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 121.725 usec -> 2023-06-02T16:04:28.476.898.450 (XO: 59.476901219)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 119.200 usec -> 2023-06-02T16:04:28.476.895.925 (XO: 59.476898694)
