-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  8 01:11:56 2021 UTC
-- File 20210806_103338_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.385965 to 49.885305
-each separately from 7s to 49s and from 115458us to 985649us.
   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.729204 in 1 packets: 18
      4.869613 in 1 packets: 36
      16.899367 in 1 packets: 54
MIU packet time from 2021-08-06T10:33:48.385.965.000 to 2021-08-06T10:34:30.885.305.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.729204 in 1 packets: 18
      4.869613 in 1 packets: 36
      16.899367 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.8899902 to 50.8898509
   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, ...
      20.9999303 in 1 packets: 18
      3.9999868 in 1 packets: 36
      16.9999436 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210806_103338_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 9.2759558 to 9.2762448
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.7291350  -- OK for SL --
   MIU time from 2021-08-06T10:33:48.385.965.000 to 2021-08-06T10:33:48.386.254.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.729204

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.0053798 to 30.0056688
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.8695990  -- OK for SL --
   MIU time from 2021-08-06T10:34:09.115.458.000 to 2021-08-06T10:34:09.115.747.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.869613

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.8752678 to 34.8755568
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8993110  -- OK for SL --
   MIU time from 2021-08-06T10:34:13.985.360.000 to 2021-08-06T10:34:13.985.649.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.899367

 - 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 51.7748678 to 51.7751568
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-06T10:34:30.885.016.000 to 2021-08-06T10:34:30.885.305.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.275955800 corrected by 40bit 10MHz counter of 8.889990200 obtained at 1Hz counter of 7. Result: 7.385966874
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-06T10:33:48.385.824.725
   Max 1st sample MIU time among all SL packets: 2021-08-06T10:34:30.885.164.725
   Min 1st sample XO time among all SL packets: 7.385826598
   Max 1st sample XO time among all SL packets: 49.885168458
   TM values from -249 to 210 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-06T10:33:48.385.824.725 (XO: 7.385826598 - 7.386132599, t=37.2 degC)  Rank: 00081
   TM values: Max =   169  Min =  -205  Ave =    -4.71  Std =    18.66
   Min TM value:-205 at an offset of 127.388 usec -> 2021-08-06T10:33:48.385.952.112 (XO: 7.385953986)
   Max TM value:169 at an offset of 129.975 usec -> 2021-08-06T10:33:48.385.954.700 (XO: 7.385956574)
   Max dTM/dt [1/us]:1.41e+03 at an offset of 129.813 usec -> 2021-08-06T10:33:48.385.954.537 (XO: 7.385956411)
   Min dTM/dt [1/us]:-1.58e+03 at an offset of 127.150 usec -> 2021-08-06T10:33:48.385.951.875 (XO: 7.385953749)

 - Block number: 2 starting at 2021-08-06T10:34:09.115.317.725 (XO: 28.115319394 - 28.115625395, t=37.2 degC)  Rank: 00076
   TM values: Max =   168  Min =  -210  Ave =    -4.71  Std =    24.94
   Min TM value:-210 at an offset of 184.851 usec -> 2021-08-06T10:34:09.115.502.575 (XO: 28.115504245)
   Max TM value:168 at an offset of 130.825 usec -> 2021-08-06T10:34:09.115.448.550 (XO: 28.115450219)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 187.326 usec -> 2021-08-06T10:34:09.115.505.050 (XO: 28.115506720)
   Min dTM/dt [1/us]:-1.47e+03 at an offset of 184.688 usec -> 2021-08-06T10:34:09.115.502.413 (XO: 28.115504082)

 - Block number: 3 starting at 2021-08-06T10:34:13.985.219.725 (XO: 32.985223476 - 32.985529477, t=37.2 degC)  Rank: 00083
   TM values: Max =   210  Min =  -228  Ave =    -4.63  Std =    20.67
   Min TM value:-228 at an offset of 129.313 usec -> 2021-08-06T10:34:13.985.349.037 (XO: 32.985352789)
   Max TM value:210 at an offset of 128.988 usec -> 2021-08-06T10:34:13.985.348.712 (XO: 32.985352464)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 131.625 usec -> 2021-08-06T10:34:13.985.351.350 (XO: 32.985355102)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 129.088 usec -> 2021-08-06T10:34:13.985.348.812 (XO: 32.985352564)

 - Block number: 4 starting at 2021-08-06T10:34:30.884.875.725 (XO: 49.884879457 - 49.885185458, t=37.2 degC)  Rank: 00078
   TM values: Max =   205  Min =  -249  Ave =    -4.71  Std =    25.43
   Min TM value:-249 at an offset of 160.176 usec -> 2021-08-06T10:34:30.885.035.900 (XO: 49.885039632)
   Max TM value:205 at an offset of 134.050 usec -> 2021-08-06T10:34:30.885.009.775 (XO: 49.885013507)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 133.900 usec -> 2021-08-06T10:34:30.885.009.625 (XO: 49.885013357)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 131.388 usec -> 2021-08-06T10:34:30.885.007.112 (XO: 49.885010845)
