-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat May  6 21:52:21 2023 UTC
-- File 20230506_211436_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.572872 to 37.663382
-each separately from 12s to 37s and from 132963us to 663382us.
   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, ...
      2.559802 in 1 packets: 18
      22.529841 in 1 packets: 36
MIU packet time from 2023-05-06T21:14:51.572.872.000 to 2023-05-06T21:15:16.663.382.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, ...
      2.559802 in 1 packets: 18
      22.529841 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.8329605 to 38.8328676
   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.9999889 in 1 packets: 18
      21.9999182 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, ...
      03 -> 51.1 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C2 -> 38.8 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 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
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 20230506_211436_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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.4058332 to 14.4061222
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.5597910  -- OK for SL --
   MIU time from 2023-05-06T21:14:51.572.872.000 to 2023-05-06T21:14:51.573.161.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.559802

 - 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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.9659132 to 16.9662022
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.5297590  -- OK for SL --
   MIU time from 2023-05-06T21:14:54.132.963.000 to 2023-05-06T21:14:54.133.252.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.529841

 - 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 39.4959612 to 39.4962502
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-06T21:15:16.663.093.000 to 2023-05-06T21:15:16.663.382.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 = 14.405833200 corrected by 40bit 10MHz counter of 13.832960500 obtained at 1Hz counter of 12. Result: 12.572874820
--
   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.999996200 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2023-05-06T21:14:51.572.731.725
   Max 1st sample MIU time among all SL packets: 2023-05-06T21:15:16.663.241.725
   Min 1st sample XO time among all SL packets: 12.572734544
   Max 1st sample XO time among all SL packets: 37.663244845
   TM values from -282 to 255 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-06T21:14:51.572.731.725 (XO: 12.572734544 - 12.573040545, t=38.8 degC)  Rank: 00069
   TM values: Max =   226  Min =  -252  Ave =    -4.45  Std =    62.38
   Min TM value:-252 at an offset of 136.951 usec -> 2023-05-06T21:14:51.572.868.675 (XO: 12.572871495)
   Max TM value:226 at an offset of 107.663 usec -> 2023-05-06T21:14:51.572.839.387 (XO: 12.572842207)
   Max dTM/dt [1/us]:1.26e+03 at an offset of 137.051 usec -> 2023-05-06T21:14:51.572.868.775 (XO: 12.572871595)
   Min dTM/dt [1/us]:-1.47e+03 at an offset of 134.425 usec -> 2023-05-06T21:14:51.572.866.150 (XO: 12.572868970)

 - Block number: 2 starting at 2023-05-06T21:14:54.132.822.725 (XO: 15.132824030 - 15.133130031, t=38.8 degC)  Rank: 00056
   TM values: Max =   241  Min =  -230  Ave =    -4.38  Std =    59.73
   Min TM value:-230 at an offset of 107.375 usec -> 2023-05-06T21:14:54.132.930.100 (XO: 15.132931405)
   Max TM value:241 at an offset of 191.888 usec -> 2023-05-06T21:14:54.133.014.613 (XO: 15.133015918)
   Max dTM/dt [1/us]:1.50e+03 at an offset of 107.475 usec -> 2023-05-06T21:14:54.132.930.200 (XO: 15.132931505)
   Min dTM/dt [1/us]:-1.37e+03 at an offset of 104.788 usec -> 2023-05-06T21:14:54.132.927.512 (XO: 15.132928818)

 - Block number: 3 starting at 2023-05-06T21:15:16.662.952.725 (XO: 37.662955844 - 37.663261845, t=38.8 degC)  Rank: 00076
   TM values: Max =   255  Min =  -282  Ave =    -4.35  Std =    58.86
   Min TM value:-282 at an offset of 113.250 usec -> 2023-05-06T21:15:16.663.065.975 (XO: 37.663069095)
   Max TM value:255 at an offset of 110.713 usec -> 2023-05-06T21:15:16.663.063.437 (XO: 37.663066557)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 108.625 usec -> 2023-05-06T21:15:16.663.061.350 (XO: 37.663064470)
   Min dTM/dt [1/us]:-1.73e+03 at an offset of 138.151 usec -> 2023-05-06T21:15:16.663.090.875 (XO: 37.663093995)
