-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec 17 15:57:43 2021 UTC
-- File 20210815_174356_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 8.040929 to 49.344059
-each separately from 8s to 49s and from 40929us to 633601us.
   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, ...
      9.090365 in 1 packets: 18
      24.501440 in 1 packets: 36
      7.710169 in 1 packets: 54
MIU packet time from 2021-08-15T17:44:07.040.929.000 to 2021-08-15T17:44:48.344.059.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, ...
      9.090365 in 1 packets: 18
      24.501440 in 1 packets: 36
      7.710169 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 9.8251543 to 50.8250169
   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, ...
      8.9999699 in 1 packets: 18
      23.9999195 in 1 packets: 36
      7.9999732 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 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: 
      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 20210815_174356_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.8660842 to 9.8663732
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.0903350  -- OK for SL --
   MIU time from 2021-08-15T17:44:07.040.929.000 to 2021-08-15T17:44:07.041.218.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.090365

 - 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 18.9567082 to 18.9569972
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.5013590  -- OK for SL --
   MIU time from 2021-08-15T17:44:16.131.583.000 to 2021-08-15T17:44:16.131.872.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.501440

 - 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.4583562 to 43.4586452
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.7101430  -- OK for SL --
   MIU time from 2021-08-15T17:44:40.633.312.000 to 2021-08-15T17:44:40.633.601.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.710169

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.1687882 to 51.1690772
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-15T17:44:48.343.770.000 to 2021-08-15T17:44:48.344.059.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 = 8, 32bit 10MHz counter = 9.866084200 corrected by 40bit 10MHz counter of 9.825154300 obtained at 1Hz counter of 8. Result: 8.040930035
--
   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-08-15T17:44:07.040.788.725
   Max 1st sample MIU time among all SL packets: 2021-08-15T17:44:48.343.918.725
   Min 1st sample XO time among all SL packets: 8.040789760
   Max 1st sample XO time among all SL packets: 49.343921194
   TM values from -301 to 253 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-15T17:44:07.040.788.725 (XO: 8.040789760 - 8.041095761, t=37.2 degC)  Rank: 00088
   TM values: Max =   248  Min =  -301  Ave =    -4.42  Std =    33.85
   Min TM value:-301 at an offset of 116.350 usec -> 2021-08-15T17:44:07.040.905.075 (XO: 8.040906110)
   Max TM value:248 at an offset of 116.075 usec -> 2021-08-15T17:44:07.040.904.800 (XO: 8.040905835)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 118.700 usec -> 2021-08-15T17:44:07.040.907.425 (XO: 8.040908460)
   Min dTM/dt [1/us]:-2.78e+03 at an offset of 116.213 usec -> 2021-08-15T17:44:07.040.904.937 (XO: 8.040905972)

 - Block number: 2 starting at 2021-08-15T17:44:16.131.442.725 (XO: 17.131444172 - 17.131750173, t=37.2 degC)  Rank: 00079
   TM values: Max =   253  Min =  -249  Ave =    -4.53  Std =    21.68
   Min TM value:-249 at an offset of 92.275 usec -> 2021-08-15T17:44:16.131.535.000 (XO: 17.131536447)
   Max TM value:253 at an offset of 92.588 usec -> 2021-08-15T17:44:16.131.535.312 (XO: 17.131536760)
   Max dTM/dt [1/us]:2.29e+03 at an offset of 92.375 usec -> 2021-08-15T17:44:16.131.535.100 (XO: 17.131536547)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 89.888 usec -> 2021-08-15T17:44:16.131.532.612 (XO: 17.131534060)

 - Block number: 3 starting at 2021-08-15T17:44:40.633.171.725 (XO: 41.633174378 - 41.633480379, t=37.2 degC)  Rank: 00076
   TM values: Max =   212  Min =  -275  Ave =    -4.48  Std =    23.80
   Min TM value:-275 at an offset of 112.425 usec -> 2021-08-15T17:44:40.633.284.150 (XO: 41.633286803)
   Max TM value:212 at an offset of 112.125 usec -> 2021-08-15T17:44:40.633.283.850 (XO: 41.633286503)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 114.825 usec -> 2021-08-15T17:44:40.633.286.550 (XO: 41.633289203)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 112.250 usec -> 2021-08-15T17:44:40.633.283.975 (XO: 41.633286628)

 - Block number: 4 starting at 2021-08-15T17:44:48.343.629.725 (XO: 49.343632193 - 49.343938194, t=37.2 degC)  Rank: 00077
   TM values: Max =   202  Min =  -261  Ave =    -4.43  Std =    30.83
   Min TM value:-261 at an offset of 195.151 usec -> 2021-08-15T17:44:48.343.824.875 (XO: 49.343827344)
   Max TM value:202 at an offset of 125.850 usec -> 2021-08-15T17:44:48.343.755.575 (XO: 49.343758044)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 125.713 usec -> 2021-08-15T17:44:48.343.755.437 (XO: 49.343757906)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 250.251 usec -> 2021-08-15T17:44:48.343.879.975 (XO: 49.343882444)
