-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jun  3 03:26:56 2023 UTC
-- File 20230602_124822_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 6.264354 to 39.157383
-each separately from 6s to 39s and from 157094us to 264643us.
   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, ...
      19.948629 in 1 packets: 18
      12.943533 in 1 packets: 36
MIU packet time from 2023-06-02T12:48:31.264.354.000 to 2023-06-02T12:49:04.157.383.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, ...
      19.948629 in 1 packets: 18
      12.943533 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 7.9429541 to 40.9428387
   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, ...
      19.9999300 in 1 packets: 18
      12.9999546 in 1 packets: 36
Temperature FPGA: 
      02 -> 52.4 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: 
      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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 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 20230602_124822_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.2073095 to 8.2075985
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.9485590  -- OK for SL --
   MIU time from 2023-06-02T12:48:31.264.354.000 to 2023-06-02T12:48:31.264.643.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.948629

 - 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 28.1561575 to 28.1564465
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.9434870  -- OK for SL --
   MIU time from 2023-06-02T12:48:51.213.272.000 to 2023-06-02T12:48:51.213.561.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.943533

 - 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:
      100 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.0999335 to 41.1002225
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-02T12:49:04.157.094.000 to 2023-06-02T12:49:04.157.383.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 = 6, 32bit 10MHz counter = 8.207309500 corrected by 40bit 10MHz counter of 7.942954100 obtained at 1Hz counter of 6. Result: 6.264356352
--
   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-02T12:48:31.264.213.725
   Max 1st sample MIU time among all SL packets: 2023-06-02T12:49:04.157.242.725
   Min 1st sample XO time among all SL packets: 6.264216076
   Max 1st sample XO time among all SL packets: 39.157244075
   TM values from -245 to 296 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-02T12:48:31.264.213.725 (XO: 6.264216076 - 6.264522077, t=40.4 degC)  Rank: 00078
   TM values: Max =   176  Min =  -204  Ave =    -4.49  Std =    33.07
   Min TM value:-204 at an offset of 257.588 usec -> 2023-06-02T12:48:31.264.471.313 (XO: 6.264473665)
   Max TM value:176 at an offset of 162.201 usec -> 2023-06-02T12:48:31.264.375.925 (XO: 6.264378277)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 144.788 usec -> 2023-06-02T12:48:31.264.358.513 (XO: 6.264360864)
   Min dTM/dt [1/us]:-1.58e+03 at an offset of 257.538 usec -> 2023-06-02T12:48:31.264.471.263 (XO: 6.264473615)

 - Block number: 2 starting at 2023-06-02T12:48:51.213.131.725 (XO: 26.213133871 - 26.213439872, t=40.4 degC)  Rank: 00076
   TM values: Max =   196  Min =  -245  Ave =    -4.59  Std =    19.04
   Min TM value:-245 at an offset of 129.025 usec -> 2023-06-02T12:48:51.213.260.750 (XO: 26.213262896)
   Max TM value:196 at an offset of 116.138 usec -> 2023-06-02T12:48:51.213.247.862 (XO: 26.213250009)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 131.450 usec -> 2023-06-02T12:48:51.213.263.175 (XO: 26.213265321)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 128.863 usec -> 2023-06-02T12:48:51.213.260.587 (XO: 26.213262734)

 - Block number: 3 starting at 2023-06-02T12:49:04.156.953.725 (XO: 39.156955074 - 39.157261075, t=40.4 degC)  Rank: 00100
   TM values: Max =   296  Min =  -234  Ave =    -4.50  Std =    52.42
   Min TM value:-234 at an offset of 129.050 usec -> 2023-06-02T12:49:04.157.082.775 (XO: 39.157084125)
   Max TM value:296 at an offset of 128.125 usec -> 2023-06-02T12:49:04.157.081.850 (XO: 39.157083200)
   Max dTM/dt [1/us]:2.73e+03 at an offset of 129.200 usec -> 2023-06-02T12:49:04.157.082.925 (XO: 39.157084275)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 184.838 usec -> 2023-06-02T12:49:04.157.138.563 (XO: 39.157139912)
