-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Nov 24 14:15:05 2021 UTC
-- File 20210723_204632_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 2.550143 to 56.015220
-each separately from 2s to 56s and from 14931us to 594675us.
   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, ...
      20.043954 in 1 packets: 18
      20.544069 in 1 packets: 36
      12.875898 in 1 packets: 54
MIU packet time from 2021-07-23T20:46:37.550.143.000 to 2021-07-23T20:47:31.015.220.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, ...
      20.043954 in 1 packets: 18
      20.544069 in 1 packets: 36
      12.875898 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 3.9129739 to 57.9127932
   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, ...
      19.9999331 in 1 packets: 18
      20.9999297 in 1 packets: 36
      12.9999565 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 54 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 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210723_204632_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.4631173 to 4.4634063
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.0438870  -- OK for SL --
   MIU time from 2021-07-23T20:46:37.550.143.000 to 2021-07-23T20:46:37.550.432.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.043954

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.5072933 to 24.5075823
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.5439990  -- OK for SL --
   MIU time from 2021-07-23T20:46:57.594.386.000 to 2021-07-23T20:46:57.594.675.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.544069

 - 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 45.0515813 to 45.0518703
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.8758550  -- OK for SL --
   MIU time from 2021-07-23T20:47:18.138.744.000 to 2021-07-23T20:47:18.139.033.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.875898

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.9277253 to 57.9280143
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-23T20:47:31.014.931.000 to 2021-07-23T20:47:31.015.220.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 = 2, 32bit 10MHz counter = 4.463117300 corrected by 40bit 10MHz counter of 3.912973900 obtained at 1Hz counter of 2. Result: 2.550145215
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-07-23T20:46:37.550.002.725
   Max 1st sample MIU time among all SL packets: 2021-07-23T20:47:31.015.079.725
   Min 1st sample XO time among all SL packets: 2.550004940
   Max 1st sample XO time among all SL packets: 56.015080875
   TM values from -298 to 258 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-23T20:46:37.550.002.725 (XO: 2.550004940 - 2.550310941, t=37.2 degC)  Rank: 00085
   TM values: Max =   233  Min =  -254  Ave =    -4.44  Std =    27.67
   Min TM value:-254 at an offset of 100.763 usec -> 2021-07-23T20:46:37.550.103.487 (XO: 2.550105703)
   Max TM value:233 at an offset of 116.138 usec -> 2021-07-23T20:46:37.550.118.862 (XO: 2.550121078)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 116.013 usec -> 2021-07-23T20:46:37.550.118.737 (XO: 2.550120953)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 113.313 usec -> 2021-07-23T20:46:37.550.116.037 (XO: 2.550118253)

 - Block number: 2 starting at 2021-07-23T20:46:57.594.245.725 (XO: 22.594248045 - 22.594554046, t=37.2 degC)  Rank: 00079
   TM values: Max =   242  Min =  -272  Ave =    -4.46  Std =    27.12
   Min TM value:-272 at an offset of 88.675 usec -> 2021-07-23T20:46:57.594.334.400 (XO: 22.594336721)
   Max TM value:242 at an offset of 99.688 usec -> 2021-07-23T20:46:57.594.345.412 (XO: 22.594347733)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 99.513 usec -> 2021-07-23T20:46:57.594.345.237 (XO: 22.594347558)
   Min dTM/dt [1/us]:-2.80e+03 at an offset of 101.625 usec -> 2021-07-23T20:46:57.594.347.350 (XO: 22.594349671)

 - Block number: 3 starting at 2021-07-23T20:47:18.138.603.725 (XO: 43.138604782 - 43.138910783, t=37.2 degC)  Rank: 00080
   TM values: Max =   258  Min =  -298  Ave =    -4.51  Std =    31.87
   Min TM value:-298 at an offset of 126.438 usec -> 2021-07-23T20:47:18.138.730.162 (XO: 43.138731220)
   Max TM value:258 at an offset of 126.163 usec -> 2021-07-23T20:47:18.138.729.887 (XO: 43.138730945)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 87.863 usec -> 2021-07-23T20:47:18.138.691.587 (XO: 43.138692645)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 126.263 usec -> 2021-07-23T20:47:18.138.729.987 (XO: 43.138731045)

 - Block number: 4 starting at 2021-07-23T20:47:31.014.790.725 (XO: 56.014791874 - 56.015097875, t=37.2 degC)  Rank: 00078
   TM values: Max =   251  Min =  -273  Ave =    -4.42  Std =    27.63
   Min TM value:-273 at an offset of 131.275 usec -> 2021-07-23T20:47:31.014.922.000 (XO: 56.014923149)
   Max TM value:251 at an offset of 128.738 usec -> 2021-07-23T20:47:31.014.919.462 (XO: 56.014920612)
   Max dTM/dt [1/us]:2.62e+03 at an offset of 131.375 usec -> 2021-07-23T20:47:31.014.922.100 (XO: 56.014923249)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 128.875 usec -> 2021-07-23T20:47:31.014.919.600 (XO: 56.014920749)
