-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec 16 06:25:28 2021 UTC
-- File 20210814_162740_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 5.515598 to 58.437984
-each separately from 5s to 58s and from 437695us to 536835us.
   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, ...
      18.980318 in 1 packets: 18
      6.040052 in 1 packets: 36
      27.900860 in 1 packets: 54
MIU packet time from 2021-08-14T16:27:48.515.598.000 to 2021-08-14T16:28:41.437.984.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, ...
      18.980318 in 1 packets: 18
      6.040052 in 1 packets: 36
      27.900860 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 6.7006942 to 59.7005169
   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, ...
      18.9999364 in 1 packets: 18
      5.9999799 in 1 packets: 36
      27.9999064 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 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 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 55
      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 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 55
      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 20210814_162740_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.2162929 to 7.2165819
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.9802550  -- OK for SL --
   MIU time from 2021-08-14T16:27:48.515.598.000 to 2021-08-14T16:27:48.515.887.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.980318

 - 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 26.1968369 to 26.1971259
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.0400310  -- OK for SL --
   MIU time from 2021-08-14T16:28:07.496.205.000 to 2021-08-14T16:28:07.496.494.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.040052

 - 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 32.2371569 to 32.2374459
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.9007670  -- OK for SL --
   MIU time from 2021-08-14T16:28:13.536.546.000 to 2021-08-14T16:28:13.536.835.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.900860

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.1382129 to 60.1385019
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-14T16:28:41.437.695.000 to 2021-08-14T16:28:41.437.984.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 = 5, 32bit 10MHz counter = 7.216292900 corrected by 40bit 10MHz counter of 6.700694200 obtained at 1Hz counter of 5. Result: 5.515600401
--
   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-14T16:27:48.515.457.725
   Max 1st sample MIU time among all SL packets: 2021-08-14T16:28:41.437.843.725
   Min 1st sample XO time among all SL packets: 5.515460126
   Max 1st sample XO time among all SL packets: 58.437846214
   TM values from -269 to 223 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-14T16:27:48.515.457.725 (XO: 5.515460126 - 5.515766127, t=37.2 degC)  Rank: 00079
   TM values: Max =   215  Min =  -269  Ave =    -4.40  Std =    19.96
   Min TM value:-269 at an offset of 121.663 usec -> 2021-08-14T16:27:48.515.579.387 (XO: 5.515581789)
   Max TM value:215 at an offset of 124.275 usec -> 2021-08-14T16:27:48.515.582.000 (XO: 5.515584401)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 124.150 usec -> 2021-08-14T16:27:48.515.581.875 (XO: 5.515584276)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 109.363 usec -> 2021-08-14T16:27:48.515.567.087 (XO: 5.515569489)

 - Block number: 2 starting at 2021-08-14T16:28:07.496.064.725 (XO: 24.496067662 - 24.496373663, t=37.2 degC)  Rank: 00076
   TM values: Max =   205  Min =  -245  Ave =    -4.40  Std =    19.76
   Min TM value:-245 at an offset of 121.913 usec -> 2021-08-14T16:28:07.496.186.637 (XO: 24.496189575)
   Max TM value:205 at an offset of 124.538 usec -> 2021-08-14T16:28:07.496.189.262 (XO: 24.496192200)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 124.363 usec -> 2021-08-14T16:28:07.496.189.087 (XO: 24.496192025)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 121.713 usec -> 2021-08-14T16:28:07.496.186.437 (XO: 24.496189375)

 - Block number: 3 starting at 2021-08-14T16:28:13.536.405.725 (XO: 30.536407895 - 30.536713896, t=37.2 degC)  Rank: 00080
   TM values: Max =   216  Min =  -254  Ave =    -4.39  Std =    22.33
   Min TM value:-254 at an offset of 122.638 usec -> 2021-08-14T16:28:13.536.528.362 (XO: 30.536530533)
   Max TM value:216 at an offset of 125.275 usec -> 2021-08-14T16:28:13.536.531.000 (XO: 30.536533171)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 125.050 usec -> 2021-08-14T16:28:13.536.530.775 (XO: 30.536532946)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 122.450 usec -> 2021-08-14T16:28:13.536.528.175 (XO: 30.536530346)

 - Block number: 4 starting at 2021-08-14T16:28:41.437.554.725 (XO: 58.437557213 - 58.437863214, t=37.2 degC)  Rank: 00084
   TM values: Max =   223  Min =  -240  Ave =    -4.49  Std =    21.39
   Min TM value:-240 at an offset of 110.988 usec -> 2021-08-14T16:28:41.437.665.712 (XO: 58.437668201)
   Max TM value:223 at an offset of 113.650 usec -> 2021-08-14T16:28:41.437.668.375 (XO: 58.437670863)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 113.463 usec -> 2021-08-14T16:28:41.437.668.187 (XO: 58.437670676)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 110.850 usec -> 2021-08-14T16:28:41.437.665.575 (XO: 58.437668063)
