-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec 30 16:05:37 2021 UTC
-- File 20210831_130028_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.996482 to 57.674394
-each separately from 7s to 57s and from 375927us to 996771us.
   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, ...
      15.379156 in 1 packets: 18
      10.279329 in 1 packets: 36
      24.018271 in 1 packets: 54
MIU packet time from 2021-08-31T13:00:38.996.482.000 to 2021-08-31T13:01:28.674.394.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, ...
      15.379156 in 1 packets: 18
      10.279329 in 1 packets: 36
      24.018271 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.8916762 to 58.8915094
   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, ...
      15.9999466 in 1 packets: 18
      9.9999667 in 1 packets: 36
      23.9999199 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 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: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C0 -> 35.6 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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210831_130028_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.8881586 to 9.8884476
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.3791030  -- OK for SL --
   MIU time from 2021-08-31T13:00:38.996.482.000 to 2021-08-31T13:00:38.996.771.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.379156

 - 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 25.2675506 to 25.2678396
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.2792950  -- OK for SL --
   MIU time from 2021-08-31T13:00:54.375.927.000 to 2021-08-31T13:00:54.376.216.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.279329

 - 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 35.5471346 to 35.5474236
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.0181910  -- OK for SL --
   MIU time from 2021-08-31T13:01:04.655.545.000 to 2021-08-31T13:01:04.655.834.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.018271

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.5656146 to 59.5659036
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-31T13:01:28.674.105.000 to 2021-08-31T13:01:28.674.394.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.888158600 corrected by 40bit 10MHz counter of 8.891676200 obtained at 1Hz counter of 7. Result: 7.996485788
--
   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-31T13:00:38.996.341.725
   Max 1st sample MIU time among all SL packets: 2021-08-31T13:01:28.674.253.725
   Min 1st sample XO time among all SL packets: 7.996345513
   Max 1st sample XO time among all SL packets: 57.674256217
   TM values from -300 to 237 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-31T13:00:38.996.341.725 (XO: 7.996345513 - 7.996651514, t=35.6 degC)  Rank: 00084
   TM values: Max =   232  Min =  -232  Ave =    -4.63  Std =    18.41
   Min TM value:-232 at an offset of 129.400 usec -> 2021-08-31T13:00:38.996.471.125 (XO: 7.996474913)
   Max TM value:232 at an offset of 132.063 usec -> 2021-08-31T13:00:38.996.473.787 (XO: 7.996477576)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 131.913 usec -> 2021-08-31T13:00:38.996.473.637 (XO: 7.996477426)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 129.200 usec -> 2021-08-31T13:00:38.996.470.925 (XO: 7.996474713)

 - Block number: 2 starting at 2021-08-31T13:00:54.375.786.725 (XO: 23.375788765 - 23.376094766, t=35.6 degC)  Rank: 00079
   TM values: Max =   237  Min =  -300  Ave =    -4.71  Std =    34.08
   Min TM value:-300 at an offset of 140.350 usec -> 2021-08-31T13:00:54.375.927.075 (XO: 23.375929116)
   Max TM value:237 at an offset of 98.413 usec -> 2021-08-31T13:00:54.375.885.137 (XO: 23.375887178)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 101.100 usec -> 2021-08-31T13:00:54.375.887.825 (XO: 23.375889865)
   Min dTM/dt [1/us]:-2.66e+03 at an offset of 98.538 usec -> 2021-08-31T13:00:54.375.885.262 (XO: 23.375887303)

 - Block number: 3 starting at 2021-08-31T13:01:04.655.404.725 (XO: 33.655407053 - 33.655713054, t=35.6 degC)  Rank: 00078
   TM values: Max =   211  Min =  -257  Ave =    -4.58  Std =    23.05
   Min TM value:-257 at an offset of 128.713 usec -> 2021-08-31T13:01:04.655.533.437 (XO: 33.655535766)
   Max TM value:211 at an offset of 128.413 usec -> 2021-08-31T13:01:04.655.533.137 (XO: 33.655535466)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 131.088 usec -> 2021-08-31T13:01:04.655.535.812 (XO: 33.655538141)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 128.513 usec -> 2021-08-31T13:01:04.655.533.237 (XO: 33.655535566)

 - Block number: 4 starting at 2021-08-31T13:01:28.673.964.725 (XO: 57.673967216 - 57.674273218, t=35.6 degC)  Rank: 00085
   TM values: Max =   204  Min =  -265  Ave =    -4.63  Std =    23.65
   Min TM value:-265 at an offset of 130.850 usec -> 2021-08-31T13:01:28.674.095.575 (XO: 57.674098067)
   Max TM value:204 at an offset of 133.413 usec -> 2021-08-31T13:01:28.674.098.137 (XO: 57.674100629)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 133.213 usec -> 2021-08-31T13:01:28.674.097.937 (XO: 57.674100429)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 130.638 usec -> 2021-08-31T13:01:28.674.095.362 (XO: 57.674097854)
