-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 17:29:37 2022 UTC
-- File 20220207_195141_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 7.943978 to 50.865157
-each separately from 7s to 50s and from 84518us to 944267us.
   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, ...
      16.140251 in 1 packets: 18
      12.739915 in 1 packets: 36
      14.039857 in 1 packets: 54
MIU packet time from 2022-02-07T19:51:51.943.978.000 to 2022-02-07T19:52:34.865.157.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, ...
      16.140251 in 1 packets: 18
      12.739915 in 1 packets: 36
      14.039857 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 8.7596915 to 51.7595382
   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, ...
      16.9999394 in 1 packets: 18
      11.9999572 in 1 packets: 36
      13.9999501 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C1 -> 37.2 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 20220207_195141_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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.7036702 to 9.7039592
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1401910  -- OK for SL --
   MIU time from 2022-02-07T19:51:51.943.978.000 to 2022-02-07T19:51:51.944.267.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.140251

 - 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 25.8441502 to 25.8444392
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.7398710  -- OK for SL --
   MIU time from 2022-02-07T19:52:08.084.518.000 to 2022-02-07T19:52:08.084.807.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.739915

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.5843102 to 38.5845992
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.0398070  -- OK for SL --
   MIU time from 2022-02-07T19:52:20.824.722.000 to 2022-02-07T19:52:20.825.011.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.039857

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.6244062 to 52.6246952
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-07T19:52:34.864.868.000 to 2022-02-07T19:52:34.865.157.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 = 7, 32bit 10MHz counter = 9.703670200 corrected by 40bit 10MHz counter of 8.759691500 obtained at 1Hz counter of 7. Result: 7.943982098
--
   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-02-07T19:51:51.943.837.725
   Max 1st sample MIU time among all SL packets: 2022-02-07T19:52:34.865.016.725
   Min 1st sample XO time among all SL packets: 7.943841823
   Max 1st sample XO time among all SL packets: 50.865019753
   TM values from -274 to 235 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-07T19:51:51.943.837.725 (XO: 7.943841823 - 7.944147824, t=37.2 degC)  Rank: 00088
   TM values: Max =   235  Min =  -274  Ave =    -4.40  Std =    26.82
   Min TM value:-274 at an offset of 96.075 usec -> 2022-02-07T19:51:51.943.933.800 (XO: 7.943937898)
   Max TM value:235 at an offset of 98.500 usec -> 2022-02-07T19:51:51.943.936.225 (XO: 7.943940323)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 98.325 usec -> 2022-02-07T19:51:51.943.936.050 (XO: 7.943940148)
   Min dTM/dt [1/us]:-2.80e+03 at an offset of 95.950 usec -> 2022-02-07T19:51:51.943.933.675 (XO: 7.943937773)

 - Block number: 2 starting at 2022-02-07T19:52:08.084.377.725 (XO: 24.084379329 - 24.084685330, t=37.2 degC)  Rank: 00083
   TM values: Max =   168  Min =  -253  Ave =    -4.51  Std =    22.04
   Min TM value:-253 at an offset of 117.263 usec -> 2022-02-07T19:52:08.084.494.987 (XO: 24.084496592)
   Max TM value:168 at an offset of 117.038 usec -> 2022-02-07T19:52:08.084.494.762 (XO: 24.084496367)
   Max dTM/dt [1/us]:2.38e+03 at an offset of 119.625 usec -> 2022-02-07T19:52:08.084.497.350 (XO: 24.084498954)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 117.125 usec -> 2022-02-07T19:52:08.084.494.850 (XO: 24.084496454)

 - Block number: 3 starting at 2022-02-07T19:52:20.824.581.725 (XO: 36.824584794 - 36.824890795, t=37.2 degC)  Rank: 00075
   TM values: Max =   228  Min =  -273  Ave =    -4.59  Std =    24.15
   Min TM value:-273 at an offset of 94.588 usec -> 2022-02-07T19:52:20.824.676.312 (XO: 36.824679381)
   Max TM value:228 at an offset of 92.175 usec -> 2022-02-07T19:52:20.824.673.900 (XO: 36.824676969)
   Max dTM/dt [1/us]:2.70e+03 at an offset of 94.700 usec -> 2022-02-07T19:52:20.824.676.425 (XO: 36.824679494)
   Min dTM/dt [1/us]:-2.61e+03 at an offset of 92.263 usec -> 2022-02-07T19:52:20.824.673.987 (XO: 36.824677056)

 - Block number: 4 starting at 2022-02-07T19:52:34.864.727.725 (XO: 50.864730752 - 50.865036753, t=37.2 degC)  Rank: 00075
   TM values: Max =   221  Min =  -248  Ave =    -4.48  Std =    22.04
   Min TM value:-248 at an offset of 83.300 usec -> 2022-02-07T19:52:34.864.811.025 (XO: 50.864814052)
   Max TM value:221 at an offset of 80.875 usec -> 2022-02-07T19:52:34.864.808.600 (XO: 50.864811627)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 80.775 usec -> 2022-02-07T19:52:34.864.808.500 (XO: 50.864811527)
   Min dTM/dt [1/us]:-2.52e+03 at an offset of 80.988 usec -> 2022-02-07T19:52:34.864.808.712 (XO: 50.864811739)
