-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jul  1 05:42:20 2023 UTC
-- File 20230611_092643_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 13.606742 to 37.159899
-each separately from 13s to 37s and from 159610us to 746049us.
   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, ...
      3.138729 in 1 packets: 18
      20.413561 in 1 packets: 36
MIU packet time from 2023-06-11T09:26:59.606.742.000 to 2023-06-11T09:27:23.159.899.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, ...
      3.138729 in 1 packets: 18
      20.413561 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 14.7836574 to 38.7835736
   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, ...
      2.9999895 in 1 packets: 18
      20.9999267 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets (all packets)
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 20230611_092643_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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.3904005 to 15.3906895
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.1387190  -- OK for SL --
   MIU time from 2023-06-11T09:26:59.606.742.000 to 2023-06-11T09:26:59.607.031.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.138729

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.5294085 to 18.5296975
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.4134870  -- OK for SL --
   MIU time from 2023-06-11T09:27:02.745.760.000 to 2023-06-11T09:27:02.746.049.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.413561

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.9431845 to 38.9434735
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-11T09:27:23.159.610.000 to 2023-06-11T09:27:23.159.899.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 = 13, 32bit 10MHz counter = 15.390400500 corrected by 40bit 10MHz counter of 14.783657400 obtained at 1Hz counter of 13. Result: 13.606745224
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2023-06-11T09:26:59.606.601.725
   Max 1st sample MIU time among all SL packets: 2023-06-11T09:27:23.159.758.725
   Min 1st sample XO time among all SL packets: 13.606604948
   Max 1st sample XO time among all SL packets: 37.159760184
   TM values from -257 to 217 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-11T09:26:59.606.601.725 (XO: 13.606604948 - 13.606910949, t=42.0 degC)  Rank: 00087
   TM values: Max =   189  Min =  -250  Ave =    -4.39  Std =    19.41
   Min TM value:-250 at an offset of 114.438 usec -> 2023-06-11T09:26:59.606.716.162 (XO: 13.606719386)
   Max TM value:189 at an offset of 119.350 usec -> 2023-06-11T09:26:59.606.721.075 (XO: 13.606724299)
   Max dTM/dt [1/us]:1.44e+03 at an offset of 116.988 usec -> 2023-06-11T09:26:59.606.718.712 (XO: 13.606721936)
   Min dTM/dt [1/us]:-1.49e+03 at an offset of 114.288 usec -> 2023-06-11T09:26:59.606.716.012 (XO: 13.606719236)

 - Block number: 2 starting at 2023-06-11T09:27:02.745.619.725 (XO: 16.745623935 - 16.745929936, t=42.0 degC)  Rank: 00078
   TM values: Max =   209  Min =  -257  Ave =    -4.46  Std =    19.38
   Min TM value:-257 at an offset of 130.050 usec -> 2023-06-11T09:27:02.745.749.775 (XO: 16.745753985)
   Max TM value:209 at an offset of 129.775 usec -> 2023-06-11T09:27:02.745.749.500 (XO: 16.745753710)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 132.400 usec -> 2023-06-11T09:27:02.745.752.125 (XO: 16.745756335)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 129.888 usec -> 2023-06-11T09:27:02.745.749.612 (XO: 16.745753823)

 - Block number: 3 starting at 2023-06-11T09:27:23.159.469.725 (XO: 37.159471183 - 37.159777184, t=42.0 degC)  Rank: 00078
   TM values: Max =   217  Min =  -252  Ave =    -4.44  Std =    25.71
   Min TM value:-252 at an offset of 130.213 usec -> 2023-06-11T09:27:23.159.599.937 (XO: 37.159601396)
   Max TM value:217 at an offset of 173.488 usec -> 2023-06-11T09:27:23.159.643.213 (XO: 37.159644671)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 132.588 usec -> 2023-06-11T09:27:23.159.602.312 (XO: 37.159603771)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 173.588 usec -> 2023-06-11T09:27:23.159.643.313 (XO: 37.159644771)
