-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jul  2 03:15:13 2023 UTC
-- File 20230613_124131_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 0.068826 to 47.727330
-each separately from 0s to 47s and from 68826us to 727330us.
   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, ...
      21.210313 in 1 packets: 18
      17.981536 in 1 packets: 36
      8.465499 in 1 packets: 54
MIU packet time from 2023-06-13T12:41:34.068.826.000 to 2023-06-13T12:42:21.727.330.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, ...
      21.210313 in 1 packets: 18
      17.981536 in 1 packets: 36
      8.465499 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 1.6996652 to 48.6994978
   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, ...
      20.9999250 in 1 packets: 18
      17.9999359 in 1 packets: 36
      7.9999717 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      02 -> 52.4 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20230613_124131_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:
      46 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.7684919 to 1.7687809
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.2102390  -- OK for SL --
   MIU time from 2023-06-13T12:41:34.068.826.000 to 2023-06-13T12:41:34.069.115.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.210313

 - 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:
      134 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.9790199 to 22.9793089
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.9814710  -- OK for SL --
   MIU time from 2023-06-13T12:41:55.279.428.000 to 2023-06-13T12:41:55.279.717.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.981536

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.9607799 to 40.9610689
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.4654710  -- OK for SL --
   MIU time from 2023-06-13T12:42:13.261.253.000 to 2023-06-13T12:42:13.261.542.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.465499

 - 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:
      462 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.4265399 to 49.4268289
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-13T12:42:21.727.041.000 to 2023-06-13T12:42:21.727.330.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 1.768491900 corrected by 40bit 10MHz counter of 1.699665200 obtained at 1Hz counter of 0. Result: 0.068826948
--
   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-13T12:41:34.068.685.725
   Max 1st sample MIU time among all SL packets: 2023-06-13T12:42:21.727.189.725
   Min 1st sample XO time among all SL packets: 0.068686672
   Max 1st sample XO time among all SL packets: 47.727193443
   TM values from -356 to 522 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-13T12:41:34.068.685.725 (XO: 0.068686672 - 0.068992673, t=40.4 degC)  Rank: 00046
   TM values: Max =   115  Min =  -353  Ave =    -4.39  Std =    15.45
   Min TM value:-353 at an offset of 220.913 usec -> 2023-06-13T12:41:34.068.906.638 (XO: 0.068907586)
   Max TM value:115 at an offset of 115.700 usec -> 2023-06-13T12:41:34.068.801.425 (XO: 0.068802373)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 220.963 usec -> 2023-06-13T12:41:34.068.906.688 (XO: 0.068907636)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 220.863 usec -> 2023-06-13T12:41:34.068.906.588 (XO: 0.068907536)

 - Block number: 2 starting at 2023-06-13T12:41:55.279.287.725 (XO: 21.279290403 - 21.279596404, t=40.4 degC)  Rank: 00134
   TM values: Max =   187  Min =  -191  Ave =    -4.98  Std =    33.65
   Min TM value:-191 at an offset of 101.850 usec -> 2023-06-13T12:41:55.279.389.575 (XO: 21.279392253)
   Max TM value:187 at an offset of 95.175 usec -> 2023-06-13T12:41:55.279.382.900 (XO: 21.279385578)
   Max dTM/dt [1/us]:9.23e+02 at an offset of 193.038 usec -> 2023-06-13T12:41:55.279.480.763 (XO: 21.279483441)
   Min dTM/dt [1/us]:-6.83e+02 at an offset of 193.176 usec -> 2023-06-13T12:41:55.279.480.900 (XO: 21.279483578)

 - Block number: 3 starting at 2023-06-13T12:42:13.261.112.725 (XO: 39.261114439 - 39.261420440, t=40.4 degC)  Rank: 00070
   TM values: Max =   201  Min =  -327  Ave =    -4.42  Std =    15.31
   Min TM value:-327 at an offset of 103.163 usec -> 2023-06-13T12:42:13.261.215.887 (XO: 39.261217602)
   Max TM value:201 at an offset of 104.025 usec -> 2023-06-13T12:42:13.261.216.750 (XO: 39.261218464)
   Max dTM/dt [1/us]:9.01e+02 at an offset of 103.675 usec -> 2023-06-13T12:42:13.261.216.400 (XO: 39.261218114)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 103.113 usec -> 2023-06-13T12:42:13.261.215.837 (XO: 39.261217552)

 - Block number: 4 starting at 2023-06-13T12:42:21.726.900.725 (XO: 47.726904442 - 47.727210443, t=40.4 degC)  Rank: 00462
   TM values: Max =   522  Min =  -356  Ave =    -5.36  Std =    70.61
   Min TM value:-356 at an offset of 120.625 usec -> 2023-06-13T12:42:21.727.021.350 (XO: 47.727025067)
   Max TM value:522 at an offset of 116.500 usec -> 2023-06-13T12:42:21.727.017.225 (XO: 47.727020942)
   Max dTM/dt [1/us]:6.16e+02 at an offset of 132.238 usec -> 2023-06-13T12:42:21.727.032.962 (XO: 47.727036680)
   Min dTM/dt [1/us]:-3.97e+02 at an offset of 175.576 usec -> 2023-06-13T12:42:21.727.076.300 (XO: 47.727080017)
