-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 13 09:14:41 2023 UTC
-- File 20220601_151752_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.125807 to 47.549398
-each separately from 0s to 47s and from 68656us to 767738us.
   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.641353 in 1 packets: 18
      19.300918 in 1 packets: 36
      6.480164 in 1 packets: 54
MIU packet time from 2022-06-01T15:17:56.125.807.000 to 2022-06-01T15:18:43.549.398.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.641353 in 1 packets: 18
      19.300918 in 1 packets: 36
      6.480164 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 2.3103522 to 49.3101860
   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.9999257 in 1 packets: 18
      19.9999293 in 1 packets: 36
      5.9999788 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      01 -> 53.7 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C5 -> 43.6 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C4 -> 42.0 degC in 36 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      3 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      3 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 20220601_151752_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.4361602 to 2.4364492
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.6412790  -- OK for SL --
   MIU time from 2022-06-01T15:17:56.125.807.000 to 2022-06-01T15:17:56.126.096.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.641353

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.0777282 to 24.0780172
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.3008470  -- OK for SL --
   MIU time from 2022-06-01T15:18:17.767.449.000 to 2022-06-01T15:18:17.767.738.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.300918

 - 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 43.3788642 to 43.3791532
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.4801430  -- OK for SL --
   MIU time from 2022-06-01T15:18:37.068.656.000 to 2022-06-01T15:18:37.068.945.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.480164

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.8592962 to 49.8595852
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-01T15:18:43.549.109.000 to 2022-06-01T15:18:43.549.398.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 = 2.436160200 corrected by 40bit 10MHz counter of 2.310352200 obtained at 1Hz counter of 0. Result: 0.125808453
--
   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: 2022-06-01T15:17:56.125.666.725
   Max 1st sample MIU time among all SL packets: 2022-06-01T15:18:43.549.257.725
   Min 1st sample XO time among all SL packets: 0.125668177
   Max 1st sample XO time among all SL packets: 47.549260847
   TM values from -263 to 239 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-01T15:17:56.125.666.725 (XO: 0.125668177 - 0.125974179, t=43.6 degC)  Rank: 00083
   TM values: Max =   222  Min =  -262  Ave =    -4.39  Std =    30.13
   Min TM value:-262 at an offset of 175.113 usec -> 2022-06-01T15:17:56.125.841.838 (XO: 0.125843291)
   Max TM value:222 at an offset of 177.488 usec -> 2022-06-01T15:17:56.125.844.213 (XO: 0.125845666)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 177.363 usec -> 2022-06-01T15:17:56.125.844.088 (XO: 0.125845541)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 175.001 usec -> 2022-06-01T15:17:56.125.841.725 (XO: 0.125843178)

 - Block number: 2 starting at 2022-06-01T15:18:17.767.308.725 (XO: 21.767312711 - 21.767618712, t=42.0 degC)  Rank: 00081
   TM values: Max =   239  Min =  -255  Ave =    -4.36  Std =    28.21
   Min TM value:-255 at an offset of 116.813 usec -> 2022-06-01T15:18:17.767.425.537 (XO: 21.767429524)
   Max TM value:239 at an offset of 117.075 usec -> 2022-06-01T15:18:17.767.425.800 (XO: 21.767429786)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 116.938 usec -> 2022-06-01T15:18:17.767.425.662 (XO: 21.767429649)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 114.550 usec -> 2022-06-01T15:18:17.767.423.275 (XO: 21.767427261)

 - Block number: 3 starting at 2022-06-01T15:18:37.068.515.725 (XO: 41.068516965 - 41.068822966, t=43.6 degC)  Rank: 00076
   TM values: Max =   235  Min =  -263  Ave =    -4.34  Std =    37.52
   Min TM value:-263 at an offset of 247.551 usec -> 2022-06-01T15:18:37.068.763.275 (XO: 41.068764516)
   Max TM value:235 at an offset of 249.913 usec -> 2022-06-01T15:18:37.068.765.638 (XO: 41.068766878)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 89.913 usec -> 2022-06-01T15:18:37.068.605.637 (XO: 41.068606878)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 247.476 usec -> 2022-06-01T15:18:37.068.763.200 (XO: 41.068764441)

 - Block number: 4 starting at 2022-06-01T15:18:43.548.968.725 (XO: 47.548971846 - 47.549277847, t=42.0 degC)  Rank: 00083
   TM values: Max =   216  Min =  -248  Ave =    -4.31  Std =    29.28
   Min TM value:-248 at an offset of 116.000 usec -> 2022-06-01T15:18:43.549.084.725 (XO: 47.549087847)
   Max TM value:216 at an offset of 149.263 usec -> 2022-06-01T15:18:43.549.117.988 (XO: 47.549121109)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 118.175 usec -> 2022-06-01T15:18:43.549.086.900 (XO: 47.549090022)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 149.376 usec -> 2022-06-01T15:18:43.549.118.100 (XO: 47.549121222)
