-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jan  5 22:45:01 2024 UTC
-- File 20230720_175255_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 10.291281 to 56.149585
-each separately from 10s to 56s and from 141024us to 490650us.
   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, ...
      8.849454 in 1 packets: 18
      12.349048 in 1 packets: 36
      24.658646 in 1 packets: 54
MIU packet time from 2023-07-20T17:53:08.291.281.000 to 2023-07-20T17:53:54.149.585.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, ...
      8.849454 in 1 packets: 18
      12.349048 in 1 packets: 36
      24.658646 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 11.5604394 to 57.5602805
   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, ...
      8.9999689 in 1 packets: 18
      11.9999585 in 1 packets: 36
      24.9999137 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FE -> 57.6 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      FF -> 56.3 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C6 -> 45.2 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      C5 -> 43.6 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 71 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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20230720_175255_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.8517218 to 11.8520108
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.8494230  -- OK for SL --
   MIU time from 2023-07-20T17:53:08.291.281.000 to 2023-07-20T17:53:08.291.570.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.849454

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.7014338 to 20.7017228
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.3490070  -- OK for SL --
   MIU time from 2023-07-20T17:53:17.141.024.000 to 2023-07-20T17:53:17.141.313.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.349048

 - 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 33.0507298 to 33.0510188
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.6585590  -- OK for SL --
   MIU time from 2023-07-20T17:53:29.490.361.000 to 2023-07-20T17:53:29.490.650.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.658646

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.7095778 to 57.7098668
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-07-20T17:53:54.149.296.000 to 2023-07-20T17:53:54.149.585.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 = 10, 32bit 10MHz counter = 11.851721800 corrected by 40bit 10MHz counter of 11.560439400 obtained at 1Hz counter of 10. Result: 10.291283419
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2023-07-20T17:53:08.291.140.725
   Max 1st sample MIU time among all SL packets: 2023-07-20T17:53:54.149.444.725
   Min 1st sample XO time among all SL packets: 10.291143144
   Max 1st sample XO time among all SL packets: 56.149446548
   TM values from -365 to 252 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-07-20T17:53:08.291.140.725 (XO: 10.291143144 - 10.291449145, t=45.2 degC)  Rank: 00082
   TM values: Max =   238  Min =  -330  Ave =    -4.48  Std =    38.50
   Min TM value:-330 at an offset of 116.125 usec -> 2023-07-20T17:53:08.291.256.850 (XO: 10.291259269)
   Max TM value:238 at an offset of 184.213 usec -> 2023-07-20T17:53:08.291.324.938 (XO: 10.291327357)
   Max dTM/dt [1/us]:2.59e+03 at an offset of 116.225 usec -> 2023-07-20T17:53:08.291.256.950 (XO: 10.291259369)
   Min dTM/dt [1/us]:-2.53e+03 at an offset of 184.313 usec -> 2023-07-20T17:53:08.291.325.038 (XO: 10.291327457)

 - Block number: 2 starting at 2023-07-20T17:53:17.140.883.725 (XO: 19.140885704 - 19.141191705, t=43.6 degC)  Rank: 00077
   TM values: Max =   243  Min =  -265  Ave =    -4.51  Std =    35.92
   Min TM value:-265 at an offset of 128.338 usec -> 2023-07-20T17:53:17.141.012.062 (XO: 19.141014042)
   Max TM value:243 at an offset of 130.963 usec -> 2023-07-20T17:53:17.141.014.687 (XO: 19.141016667)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 128.525 usec -> 2023-07-20T17:53:17.141.012.250 (XO: 19.141014229)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 170.276 usec -> 2023-07-20T17:53:17.141.054.000 (XO: 19.141055980)

 - Block number: 3 starting at 2023-07-20T17:53:29.490.220.725 (XO: 31.490224441 - 31.490530442, t=43.6 degC)  Rank: 00080
   TM values: Max =   252  Min =  -365  Ave =    -4.55  Std =    39.41
   Min TM value:-365 at an offset of 125.388 usec -> 2023-07-20T17:53:29.490.346.112 (XO: 31.490349829)
   Max TM value:252 at an offset of 112.350 usec -> 2023-07-20T17:53:29.490.333.075 (XO: 31.490336791)
   Max dTM/dt [1/us]:2.77e+03 at an offset of 127.738 usec -> 2023-07-20T17:53:29.490.348.462 (XO: 31.490352179)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 125.288 usec -> 2023-07-20T17:53:29.490.346.012 (XO: 31.490349729)

 - Block number: 4 starting at 2023-07-20T17:53:54.149.155.725 (XO: 56.149157547 - 56.149463548, t=43.6 degC)  Rank: 00080
   TM values: Max =   239  Min =  -275  Ave =    -4.45  Std =    25.34
   Min TM value:-275 at an offset of 99.200 usec -> 2023-07-20T17:53:54.149.254.925 (XO: 56.149256747)
   Max TM value:239 at an offset of 103.975 usec -> 2023-07-20T17:53:54.149.259.700 (XO: 56.149261522)
   Max dTM/dt [1/us]:1.60e+03 at an offset of 101.613 usec -> 2023-07-20T17:53:54.149.257.337 (XO: 56.149259160)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 86.963 usec -> 2023-07-20T17:53:54.149.242.687 (XO: 56.149244510)
