-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Nov 20 01:47:06 2021 UTC
-- File 20210721_090342_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 6.531140 to 43.081199
-each separately from 6s to 43s and from 80910us to 551303us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.019585 in 1 packets: 18
      21.529607 in 1 packets: 36
MIU packet time from 2021-07-21T09:03:51.531.140.000 to 2021-07-21T09:04:28.081.199.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.019585 in 1 packets: 18
      21.529607 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 7.9040263 to 44.9039043
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      14.9999506 in 1 packets: 18
      21.9999274 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 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 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210721_090342_1227.dat, 3 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 8.4351672 to 8.4354562
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0195350  -- OK for SL --
   MIU time from 2021-07-21T09:03:51.531.140.000 to 2021-07-21T09:03:51.531.429.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.019585

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.4549912 to 23.4552802
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.5295350  -- OK for SL --
   MIU time from 2021-07-21T09:04:06.551.014.000 to 2021-07-21T09:04:06.551.303.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.529607

 - 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 44.9848152 to 44.9851042
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-21T09:04:28.080.910.000 to 2021-07-21T09:04:28.081.199.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 6, 32bit 10MHz counter = 8.435167200 corrected by 40bit 10MHz counter of 7.904026300 obtained at 1Hz counter of 6. Result: 6.531142653
--
   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-07-21T09:03:51.530.999.725
   Max 1st sample MIU time among all SL packets: 2021-07-21T09:04:28.081.058.725
   Min 1st sample XO time among all SL packets: 6.531002377
   Max 1st sample XO time among all SL packets: 43.081059892
   TM values from -237 to 196 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-21T09:03:51.530.999.725 (XO: 6.531002377 - 6.531308378, t=37.2 degC)  Rank: 00079
   TM values: Max =   160  Min =  -211  Ave =    -4.46  Std =    25.35
   Min TM value:-211 at an offset of 172.001 usec -> 2021-07-21T09:03:51.531.171.725 (XO: 6.531174378)
   Max TM value:160 at an offset of 171.638 usec -> 2021-07-21T09:03:51.531.171.363 (XO: 6.531174015)
   Max dTM/dt [1/us]:1.25e+03 at an offset of 114.638 usec -> 2021-07-21T09:03:51.531.114.362 (XO: 6.531117015)
   Min dTM/dt [1/us]:-1.42e+03 at an offset of 99.125 usec -> 2021-07-21T09:03:51.531.098.850 (XO: 6.531101503)

 - Block number: 2 starting at 2021-07-21T09:04:06.550.873.725 (XO: 21.550875843 - 21.551181844, t=37.2 degC)  Rank: 00084
   TM values: Max =   196  Min =  -237  Ave =    -4.33  Std =    21.43
   Min TM value:-237 at an offset of 123.850 usec -> 2021-07-21T09:04:06.550.997.575 (XO: 21.550999693)
   Max TM value:196 at an offset of 126.538 usec -> 2021-07-21T09:04:06.551.000.262 (XO: 21.551002381)
   Max dTM/dt [1/us]:1.65e+03 at an offset of 126.425 usec -> 2021-07-21T09:04:06.551.000.150 (XO: 21.551002268)
   Min dTM/dt [1/us]:-1.77e+03 at an offset of 123.713 usec -> 2021-07-21T09:04:06.550.997.437 (XO: 21.550999556)

 - Block number: 3 starting at 2021-07-21T09:04:28.080.769.725 (XO: 43.080770892 - 43.081076893, t=37.2 degC)  Rank: 00080
   TM values: Max =   187  Min =  -227  Ave =    -4.43  Std =    19.70
   Min TM value:-227 at an offset of 112.575 usec -> 2021-07-21T09:04:28.080.882.300 (XO: 43.080883467)
   Max TM value:187 at an offset of 112.275 usec -> 2021-07-21T09:04:28.080.882.000 (XO: 43.080883167)
   Max dTM/dt [1/us]:1.71e+03 at an offset of 115.025 usec -> 2021-07-21T09:04:28.080.884.750 (XO: 43.080885917)
   Min dTM/dt [1/us]:-1.73e+03 at an offset of 112.375 usec -> 2021-07-21T09:04:28.080.882.100 (XO: 43.080883267)
