-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar  8 18:27:07 2023 UTC
-- File 20220527_140247_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 5.373896 to 57.957986
-each separately from 5s to 57s and from 373896us to 996286us.
   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, ...
      10.330210 in 1 packets: 18
      23.291313 in 1 packets: 36
      18.961411 in 1 packets: 54
MIU packet time from 2022-05-27T14:02:55.373.896.000 to 2022-05-27T14:03:47.957.986.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, ...
      10.330210 in 1 packets: 18
      23.291313 in 1 packets: 36
      18.961411 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 6.6026245 to 58.6024396
   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, ...
      9.9999644 in 1 packets: 18
      22.9999182 in 1 packets: 36
      18.9999325 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, ...
      01 -> 53.7 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C4 -> 42.0 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 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 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220527_140247_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.9765219 to 6.9768109
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.3301750  -- OK for SL --
   MIU time from 2022-05-27T14:02:55.373.896.000 to 2022-05-27T14:02:55.374.185.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.330210

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.3069859 to 17.3072749
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.2912310  -- OK for SL --
   MIU time from 2022-05-27T14:03:05.704.395.000 to 2022-05-27T14:03:05.704.684.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.291313

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.5985059 to 40.5987949
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.9613430  -- OK for SL --
   MIU time from 2022-05-27T14:03:28.995.997.000 to 2022-05-27T14:03:28.996.286.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.961411

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.5601379 to 59.5604269
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-27T14:03:47.957.697.000 to 2022-05-27T14:03:47.957.986.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 = 5, 32bit 10MHz counter = 6.976521900 corrected by 40bit 10MHz counter of 6.602624500 obtained at 1Hz counter of 5. Result: 5.373898709
--
   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-05-27T14:02:55.373.755.725
   Max 1st sample MIU time among all SL packets: 2022-05-27T14:03:47.957.845.725
   Min 1st sample XO time among all SL packets: 5.373758433
   Max 1st sample XO time among all SL packets: 57.957850473
   TM values from -283 to 243 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-27T14:02:55.373.755.725 (XO: 5.373758433 - 5.374064434, t=42.0 degC)  Rank: 00081
   TM values: Max =   212  Min =  -228  Ave =    -4.41  Std =    31.78
   Min TM value:-228 at an offset of 227.376 usec -> 2022-05-27T14:02:55.373.983.100 (XO: 5.373985809)
   Max TM value:212 at an offset of 202.701 usec -> 2022-05-27T14:02:55.373.958.425 (XO: 5.373961134)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 229.626 usec -> 2022-05-27T14:02:55.373.985.350 (XO: 5.373988059)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 202.801 usec -> 2022-05-27T14:02:55.373.958.525 (XO: 5.373961234)

 - Block number: 2 starting at 2022-05-27T14:03:05.704.254.725 (XO: 15.704259190 - 15.704565191, t=42.0 degC)  Rank: 00083
   TM values: Max =   243  Min =  -252  Ave =    -4.41  Std =    31.18
   Min TM value:-252 at an offset of 137.875 usec -> 2022-05-27T14:03:05.704.392.600 (XO: 15.704397065)
   Max TM value:243 at an offset of 192.038 usec -> 2022-05-27T14:03:05.704.446.763 (XO: 15.704451228)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 191.963 usec -> 2022-05-27T14:03:05.704.446.688 (XO: 15.704451153)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 121.663 usec -> 2022-05-27T14:03:05.704.376.387 (XO: 15.704380853)

 - Block number: 3 starting at 2022-05-27T14:03:28.995.856.725 (XO: 38.995862110 - 38.996168111, t=42.0 degC)  Rank: 00071
   TM values: Max =   187  Min =  -235  Ave =    -4.47  Std =    31.14
   Min TM value:-235 at an offset of 121.675 usec -> 2022-05-27T14:03:28.995.978.400 (XO: 38.995983786)
   Max TM value:187 at an offset of 126.338 usec -> 2022-05-27T14:03:28.995.983.062 (XO: 38.995988448)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 123.925 usec -> 2022-05-27T14:03:28.995.980.650 (XO: 38.995986036)
   Min dTM/dt [1/us]:-1.79e+03 at an offset of 126.438 usec -> 2022-05-27T14:03:28.995.983.162 (XO: 38.995988548)

 - Block number: 4 starting at 2022-05-27T14:03:47.957.556.725 (XO: 57.957561472 - 57.957867473, t=42.0 degC)  Rank: 00076
   TM values: Max =   228  Min =  -283  Ave =    -4.39  Std =    20.83
   Min TM value:-283 at an offset of 87.575 usec -> 2022-05-27T14:03:47.957.644.300 (XO: 57.957649048)
   Max TM value:228 at an offset of 87.275 usec -> 2022-05-27T14:03:47.957.644.000 (XO: 57.957648748)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 85.438 usec -> 2022-05-27T14:03:47.957.642.162 (XO: 57.957646910)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 87.400 usec -> 2022-05-27T14:03:47.957.644.125 (XO: 57.957648873)
