-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec 16 10:21:06 2021 UTC
-- File 20210814_221639_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 14.359150 to 58.511713
-each separately from 14s to 58s and from 44090us to 511713us.
   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, ...
      11.132724 in 1 packets: 18
      6.551638 in 1 packets: 36
      26.467045 in 1 packets: 54
MIU packet time from 2021-08-14T22:16:56.359.150.000 to 2021-08-14T22:17:40.511.713.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, ...
      11.132724 in 1 packets: 18
      6.551638 in 1 packets: 36
      26.467045 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 15.7827424 to 59.7825962
   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, ...
      10.9999634 in 1 packets: 18
      6.9999767 in 1 packets: 36
      25.9999137 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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: 
      1 in 1 packets: 1
      2 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: 
      1 in 1 packets: 1
      2 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 20210814_221639_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 16.1418932 to 16.1421822
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.1326870  -- OK for SL --
   MIU time from 2021-08-14T22:16:56.359.150.000 to 2021-08-14T22:16:56.359.439.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.132724

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.2748692 to 27.2751582
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.5516150  -- OK for SL --
   MIU time from 2021-08-14T22:17:07.492.163.000 to 2021-08-14T22:17:07.492.452.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.551638

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.8267732 to 33.8270622
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.4669590  -- OK for SL --
   MIU time from 2021-08-14T22:17:14.044.090.000 to 2021-08-14T22:17:14.044.379.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.467045

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.2940212 to 60.2943102
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-14T22:17:40.511.424.000 to 2021-08-14T22:17:40.511.713.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 = 14, 32bit 10MHz counter = 16.141893200 corrected by 40bit 10MHz counter of 15.782742400 obtained at 1Hz counter of 14. Result: 14.359151985
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-14T22:16:56.359.009.725
   Max 1st sample MIU time among all SL packets: 2021-08-14T22:17:40.511.572.725
   Min 1st sample XO time among all SL packets: 14.359011710
   Max 1st sample XO time among all SL packets: 58.511575413
   TM values from -263 to 226 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-14T22:16:56.359.009.725 (XO: 14.359011710 - 14.359317711, t=37.2 degC)  Rank: 00082
   TM values: Max =   220  Min =  -263  Ave =    -4.43  Std =    22.04
   Min TM value:-263 at an offset of 121.800 usec -> 2021-08-14T22:16:56.359.131.525 (XO: 14.359133510)
   Max TM value:220 at an offset of 124.375 usec -> 2021-08-14T22:16:56.359.134.100 (XO: 14.359136085)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 124.200 usec -> 2021-08-14T22:16:56.359.133.925 (XO: 14.359135910)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 108.088 usec -> 2021-08-14T22:16:56.359.117.812 (XO: 14.359119798)

 - Block number: 2 starting at 2021-08-14T22:17:07.492.022.725 (XO: 25.492024749 - 25.492330750, t=37.2 degC)  Rank: 00078
   TM values: Max =   222  Min =  -254  Ave =    -4.42  Std =    26.54
   Min TM value:-254 at an offset of 123.775 usec -> 2021-08-14T22:17:07.492.146.500 (XO: 25.492148524)
   Max TM value:222 at an offset of 126.413 usec -> 2021-08-14T22:17:07.492.149.137 (XO: 25.492151162)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 126.288 usec -> 2021-08-14T22:17:07.492.149.012 (XO: 25.492151037)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 123.625 usec -> 2021-08-14T22:17:07.492.146.350 (XO: 25.492148374)

 - Block number: 3 starting at 2021-08-14T22:17:14.043.949.725 (XO: 32.043950570 - 32.044256571, t=37.2 degC)  Rank: 00078
   TM values: Max =   226  Min =  -262  Ave =    -4.46  Std =    20.56
   Min TM value:-262 at an offset of 125.225 usec -> 2021-08-14T22:17:14.044.074.950 (XO: 32.044075795)
   Max TM value:226 at an offset of 124.963 usec -> 2021-08-14T22:17:14.044.074.687 (XO: 32.044075533)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 127.600 usec -> 2021-08-14T22:17:14.044.077.325 (XO: 32.044078170)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 125.088 usec -> 2021-08-14T22:17:14.044.074.812 (XO: 32.044075658)

 - Block number: 4 starting at 2021-08-14T22:17:40.511.283.725 (XO: 58.511286412 - 58.511592413, t=37.2 degC)  Rank: 00079
   TM values: Max =   205  Min =  -259  Ave =    -4.42  Std =    21.40
   Min TM value:-259 at an offset of 125.088 usec -> 2021-08-14T22:17:40.511.408.812 (XO: 58.511411500)
   Max TM value:205 at an offset of 127.700 usec -> 2021-08-14T22:17:40.511.411.425 (XO: 58.511414113)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 127.475 usec -> 2021-08-14T22:17:40.511.411.200 (XO: 58.511413888)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 124.938 usec -> 2021-08-14T22:17:40.511.408.662 (XO: 58.511411350)
